Thread (21 messages) flat view 21 messages, 7 authors, 2004-12-08

Re: _High_ CPU usage while routing (mostly) small UDP packets

From: Robert Olsson <hidden>
Date: 2004-12-07 22:40:38
Also in: lkml

Karsten Desler writes:

 > I totally forgot to mention: There are approximately 100k concurrent
 > flows.

 > >From dmesg:
 > IP: routing cache hash table of 16384 buckets, 128Kbytes

 You can take a looks at stats w. rtstat. Hash spinning and how many new 
 entires create and how many warm you hit. 


 > Maybe there is some contention on the rt_hash_table spinlocks?
 > Is the attached patch enough to increase the size?

 There is boot option for this now

   rhash_entries=  [KNL,NET]
                        Set number of hash buckets for route cache


						   --ro
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help