lkml.org 
[lkml]   [2004]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: _High_ CPU usage while routing (mostly) small UDP packets

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2011 Jasper Spaans