From: Patrick McHardy <kaber@trash.net>
To: Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: [NETFILTER]: nf_conntrack: use hlists for conntrack hash
Date: Wed, 27 Jun 2007 09:27:39 +0200 [thread overview]
Message-ID: <4682116B.70702@trash.net> (raw)
In-Reply-To: <200706270703.l5R73LS6001509@toshiba.co.jp>
Yasuyuki KOZAKAI wrote:
>> Convert conntrack hash to hlists to reduce its size and cache
>> footprint. Since the default hashsize to max. entries ratio
>> sucks (1:16), this patch doesn't reduce the amount of memory
>> used for the hash by default, but instead uses a better ratio
>> of 1:8, which results in the same max. entries value.
>>
>
> What do you think the impact to nat hash table is ? nf_nat_htable_size
> is set to nf_conntrack_htable_size at initialization.
>
> I think we can also replace list with hlist for nat hash and then
> there is no problem.
>
Sounds good, I'll look into that today.
next prev parent reply other threads:[~2007-06-27 7:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-26 19:05 [NETFILTER]: nf_conntrack: use hlists for conntrack hash Patrick McHardy
2007-06-27 7:03 ` Yasuyuki KOZAKAI
[not found] ` <200706270703.l5R73LS6001509@toshiba.co.jp>
2007-06-27 7:27 ` Patrick McHardy [this message]
2007-06-27 12:01 ` Patrick McHardy
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=4682116B.70702@trash.net \
--to=kaber@trash.net \
--cc=netfilter-devel@lists.netfilter.org \
--cc=yasuyuki.kozakai@toshiba.co.jp \
/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.