netdev
[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: <20030612.232114.71088346.davem@xxxxxxxxxx>
References: <004f01c32ebe$b4bd88d0$4a00000a@badass> <20030609221911.GF11509@xxxxxxxxxxxxx> <16101.4136.328760.955758@xxxxxxxxxxxx> <20030612.232114.71088346.davem@xxxxxxxxxx>
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

 Yes.

 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.

 Cheers.

                                        --ro

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