All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir Vdovin" <deliran@verdict.gg>
To: "Florian Westphal" <fw@strlen.de>,
	"Vladimir Vdovin" <deliran@verdict.gg>
Cc: <netfilter-devel@vger.kernel.org>, <pablo@netfilter.org>,
	<coreteam@netfilter.org>, <phil@nwl.cc>
Subject: Re: [PATCH nf-next] netfilter: nf_conncount: make number of hash slots configurable
Date: Wed, 15 Apr 2026 16:32:05 +0300	[thread overview]
Message-ID: <DHTRLCVFNCOG.3VDTTB7NRAZFX@verdict.gg> (raw)
In-Reply-To: <adz9CyDXi2wSwvjM@strlen.de>

On Mon Apr 13, 2026 at 5:26 PM MSK, Florian Westphal wrote:
> Vladimir Vdovin <deliran@verdict.gg> wrote:
>> Some workloads with high conntrack rate
>> generate high lock contention on insert_tree(), so
>> constant 256 CONNCOUNT_SLOTS can be too small.
>
> No.  Compile time options suck.  No distro is going
> to alter the value away from the default.
>
> Maybe change the code to size the array dynamically
> based on e.g. number of online cpus?
Hi Florian,

May be we could move it to module params?
(not sure that this params have to depend on number of cpu)
May be use number of cpus as default value?

Best Regards,
Vladimir

  reply	other threads:[~2026-04-15 13:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-13 12:37 [PATCH nf-next] netfilter: nf_conncount: make number of hash slots configurable Vladimir Vdovin
2026-04-13 13:27 ` Fernando Fernandez Mancera
2026-04-15 13:29   ` Vladimir Vdovin
2026-04-13 14:26 ` Florian Westphal
2026-04-15 13:32   ` Vladimir Vdovin [this message]
2026-04-15 13:44     ` Florian Westphal
2026-04-15 14:10       ` Vladimir Vdovin
2026-04-15 14:43       ` Florian Westphal

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=DHTRLCVFNCOG.3VDTTB7NRAZFX@verdict.gg \
    --to=deliran@verdict.gg \
    --cc=coreteam@netfilter.org \
    --cc=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=phil@nwl.cc \
    /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.