All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: 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 15:44:40 +0200	[thread overview]
Message-ID: <ad-WSA87e6Ukfi3M@strlen.de> (raw)
In-Reply-To: <DHTRLCVFNCOG.3VDTTB7NRAZFX@verdict.gg>

Vladimir Vdovin <deliran@verdict.gg> wrote:
> > 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?

I would prefer autotuning based on online cpus so this doesn't have to
be changed at all.

How many cores does your platfrom have?  The current value was set 2014.

  reply	other threads:[~2026-04-15 13:44 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
2026-04-15 13:44     ` Florian Westphal [this message]
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=ad-WSA87e6Ukfi3M@strlen.de \
    --to=fw@strlen.de \
    --cc=coreteam@netfilter.org \
    --cc=deliran@verdict.gg \
    --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.