Messages in this thread | | | Subject | RT_CACHE_SIZE_MAX | Date | Thu, 14 Aug 1997 10:52:19 +0800 | From | "Michael O'Reilly" <> |
| |
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.
| |