All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Netfilter Development <netfilter-devel@vger.kernel.org>
Subject: Re: Should we keep the advice to increase queue max length?
Date: Tue, 12 Dec 2023 02:09:28 +0100	[thread overview]
Message-ID: <20231212010928.GA16434@breakpoint.cc> (raw)
In-Reply-To: <ZXetLVAKMug1YvL3@slk15.local.net>

Duncan Roe <duncan_roe@optusnet.com.au> wrote:
> /proc/net/netfilter/nfnetlink_queue has a line for every active queue. The 3rd
> field is the number of queued packets. The max length is not in these lines but
> kernel source suggests it is 1024 by default. Anyway, I updated nfq6 to be able
> to set the max (using mnl functions).
> 
> And I found the maximum number of queued packets is: 238. Further packets are
> dropped.
> 
> If I lower the max below 238, limiting occurs at the new max.
> 
> So I propose to drop the advice to increase the queue max length when I revise
> the libnetfilter_queue main page as part of the project to stop using
> libnfnetlink.
> 
> Anyone have any comments?

This code is very old, it stems from a time where the network stack
did not do any kind of packet aggregation.

I think the hint should be removed as you suggest.

      reply	other threads:[~2023-12-12  1:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12  0:45 Should we keep the advice to increase queue max length? Duncan Roe
2023-12-12  1:09 ` Florian Westphal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231212010928.GA16434@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.