[Top] [All Lists]

Re: Route cache performance under stress

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: Route cache performance under stress
From: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
Date: Fri, 13 Jun 2003 12:40:23 +0200
Cc: Robert.Olsson@xxxxxxxxxxx, sim@xxxxxxxxxxxxx, xerox@xxxxxxxxxx, hadi@xxxxxxxxxxxxxxxx, fw@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <>
References: <004f01c32ebe$b4bd88d0$4a00000a@badass> <> <> <>
Sender: netdev-bounce@xxxxxxxxxxx
David S. Miller writes:
 >    From: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
 >    Date: Tue, 10 Jun 2003 00:54:32 +0200
 >     I'm about to propose some stats even for hash spinning.... 
 > Do you mind if I apply this?  It looks fine.

 No please do. There is an updated rtstat already.

 > Next, we should put similar metrics into fib_hash.c


 Also "candidate" selection in __rt_hash_shrink can be done in 
 rt_intern_hash. We avoid an the extra spinning over the hash chain. 
 Eventually we can save here and have the candidate always ready.



<Prev in Thread] Current Thread [Next in Thread>