| To: | Karsten Desler <kdesler@xxxxxxxxxx> |
|---|---|
| Subject: | Re: _High_ CPU usage while routing (mostly) small UDP packets |
| From: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx> |
| Date: | Tue, 7 Dec 2004 23:40:22 +0100 |
| Cc: | netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>, jamal <hadi@xxxxxxxxxx>, Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, P@xxxxxxxxxxxxxx |
| In-reply-to: | <20041207211035.GA20286@xxxxxxxxxxxxxxxxxxxx> |
| References: | <20041206205305.GA11970@xxxxxxxxxx> <20041207211035.GA20286@xxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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
|
| Previous by Date: | inter-packet gap in pktgen, Lennert Buytenhek |
|---|---|
| Next by Date: | Re: inter-packet gap in pktgen, Ben Greear |
| Previous by Thread: | Re: _High_ CPU usage while routing (mostly) small UDP packets, Karsten Desler |
| Next by Thread: | Re: _High_ CPU usage while routing (mostly) small UDP packets, Karsten Desler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |