List Info

Thread: Re: : nf_conntrack: use hlists for conntrack hash




Re: : nf_conntrack: use hlists for conntrack hash
country flaguser name
Germany
2007-06-27 07:01:32
Patrick McHardy wrote:
> 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.


I've added this patch to my tree. I'll push out a new git
tree now.

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )