Re: Memory usage for ip_conntrack
From: Carlos Carvalho <hidden>
Date: 2003-07-20 00:10:40
From: Carlos Carvalho <hidden>
Date: 2003-07-20 00:10:40
Martin Josefsson (gandalf@wlug.westbo.se) 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?