netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFQUEUE --queue-balance
@ 2017-08-26 15:40 Oleg
  2017-08-26 19:24 ` Florian Westphal
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg @ 2017-08-26 15:40 UTC (permalink / raw)
  To: netfilter-devel

  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!

-- 
Олег Неманов (Oleg Nemanov)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: NFQUEUE --queue-balance
  2017-08-26 15:40 NFQUEUE --queue-balance Oleg
@ 2017-08-26 19:24 ` Florian Westphal
  2017-08-27  8:11   ` Oleg
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Westphal @ 2017-08-26 19:24 UTC (permalink / raw)
  To: Oleg; +Cc: netfilter-devel

Oleg <lego12239@yandex.ru> wrote:
>   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.

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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: NFQUEUE --queue-balance
  2017-08-26 19:24 ` Florian Westphal
@ 2017-08-27  8:11   ` Oleg
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg @ 2017-08-27  8:11 UTC (permalink / raw)
  To: Florian Westphal; +Cc: netfilter-devel

On Sat, Aug 26, 2017 at 09:24:21PM +0200, Florian Westphal wrote:
> Oleg <lego12239@yandex.ru> wrote:
> >   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.

> > 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!


-- 
Олег Неманов (Oleg Nemanov)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-27  8:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-26 15:40 NFQUEUE --queue-balance Oleg
2017-08-26 19:24 ` Florian Westphal
2017-08-27  8:11   ` Oleg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).