[Top] [All Lists]

Re: Memory usage for ip_conntrack

To: netdev@xxxxxxxxxxx
Subject: Re: Memory usage for ip_conntrack
From: Carlos Carvalho <carlos@xxxxxxxxxxxxxx>
Date: Sat, 19 Jul 2003 21:10:40 -0300
In-reply-to: <1058563690.26030.23.camel@xxxxxxxxxxxxxx>
References: <1058558848.2674.88.camel@xxxxxxxxxxxxxxxxxxx> <1058563690.26030.23.camel@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Martin Josefsson (gandalf@xxxxxxxxxxxxxx) wrote on 18 July 2003 23:28:
 >> If I echo 102400 > /proc/sys/net/ipv4/ip_conntrack_max, what is my worst
 >> case memory usage?
 >Don't do this. This will increase the maximum number of connections it
 >will track, but not the number of buckets. Which means that it will be
 >slower due to longer collision-chains. Instead increase the number of
 >buckets. modprobe ip_conntrack hashsize=131072 (or any number here.

How can we increase the number of buckets with a monolithic kernel?

<Prev in Thread] Current Thread [Next in Thread>