netdev
[Top] [All Lists]

RE: Route cache performance under stress

To: "'David S. Miller'" <davem@xxxxxxxxxx>, <Robert.Olsson@xxxxxxxxxxx>
Subject: RE: Route cache performance under stress
From: "CIT/Paul" <xerox@xxxxxxxxxx>
Date: Tue, 10 Jun 2003 17:36:14 -0400
Cc: <ralph+d@xxxxxxxxx>, <ralph@xxxxxxxxx>, <hadi@xxxxxxxxxxxxxxxx>, <sim@xxxxxxxxxxxxx>, <fw@xxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>, <linux-net@xxxxxxxxxxxxxxx>
Importance: Normal
In-reply-to: <20030610.115759.26513736.davem@redhat.com>
Organization: CIT
Sender: netdev-bounce@xxxxxxxxxxx
Why do you need source validation if we are going to use it for a core
router :)
Is there anything else in there that may or may not be necessary
depending on the circumstances that we are using the router for?


Paul xerox@xxxxxxxxxx http://www.httpd.net


-----Original Message-----
From: David S. Miller [mailto:davem@xxxxxxxxxx] 
Sent: Tuesday, June 10, 2003 2:58 PM
To: Robert.Olsson@xxxxxxxxxxx
Cc: ralph+d@xxxxxxxxx; ralph@xxxxxxxxx; hadi@xxxxxxxxxxxxxxxx;
xerox@xxxxxxxxxx; sim@xxxxxxxxxxxxx; fw@xxxxxxxxxxxxx;
netdev@xxxxxxxxxxx; linux-net@xxxxxxxxxxxxxxx
Subject: Re: Route cache performance under stress


   From: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
   Date: Tue, 10 Jun 2003 20:34:50 +0200
   
   I ripped out the route hash just to test the slow path. Seems like
your 
   patch was very good as we see the same performance w/o dst hash ~114
kpps.

How did you "rip it out"?  Just never look into the routing cache hash
and never add entries there?  If so, then yes it is excellent simulation
for pure slow path.

This is not purely an algorithmic problem.  The highest cost thing we do
in the slow path of input route processing is source validation. This
requires real brains to eliminate.

Actually, that's a good idea, if someone if brave just rip out
fib_validate_source (just don't call it, should work for valid
traffic) and see what happens :)


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