Skip to contentSkip to conversation

NFQUEUE --queue-balance

DISCUSSION Oleg 2 participants 3 messages Aug 26, 2017 – Aug 27, 2017 netfilter

lore
Share & tools
lore

Oleg

author
#0 lore raw

Hi, all.

--queue-balance balance packets according to connection tracking, iiuc. Consequently queue utilization is not equal. E.g.:

    0  19465  1015 2 65531  8185     0 179789099  1
    1  19467    46 2 65531  1137     0 151301170  1
    2  19470     0 2 65531     0     0 64377446  1
    3  19473    29 2 65531     0     0 46165759  1
    4  19476     4 2 65531    60     0 113848636  1
    5  19479    56 2 65531    77     0 148584270  1

Is there queue balancer without this feature(simple round-robin)?

Thanks!

Signature · 1 line
Олег Неманов (Oleg Nemanov)
maintainer
#1 lore raw
Quoted 4 lines · Oleg

Hi, all.

--queue-balance balance packets according to connection tracking, iiuc. Consequently queue utilization is not equal. E.g.:

It hashes based on ip addresses.

Quoted 1 line

Is there queue balancer without this feature(simple round-robin)?

Use nftables or use multiple NFQUEUE rules with -m statistic.

author
#2 lore raw
Quoted 7 lines · Florian Westphal
Quoted 4 lines · Oleg

Hi, all.

--queue-balance balance packets according to connection tracking, iiuc. Consequently queue utilization is not equal. E.g.:

It hashes based on ip addresses.

Thank you for clarification.

Quoted 3 lines
Quoted 1 line

Is there queue balancer without this feature(simple round-robin)?

Use nftables or use multiple NFQUEUE rules with -m statistic.

Wow! This what i need. Thank you!

Signature · 1 line
Олег Неманов (Oleg Nemanov)