lkml.org 
[lkml]   [1997]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRT_CACHE_SIZE_MAX
Date
From

Is there any danger in increasing the size of
include/net/route.h:RT_CACHE_SIZE_MAX in a 2.0.30 kernel???

This apprently controls the maximum size of the IP route cache, and
it's currently set to 256. If I changed it to 2048 (say) would
anything bad happen? :)

It looks pretty safe as far as I can see, no byte size counters or
anything, but I'd like a 2nd opinion.


Reason: I've a machine (PPro 200) that's spending 12% of kernel CPU
time garbage collecting the rt_cache. The machine is handling a LOT of IP
traffic to diverse destinations ( more than 1000 TCP flows is normal),
and it looks like the route cache is thrashing badly.

Michael.

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.025 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site