Subject: Re: Route cache performance under stress

From: "David S. Miller" <[email-masked]>
Date: Tue, 10 Jun 2003 11:57:59 -0700 (PDT)

From: Robert Olsson <[email-masked]>
   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 :)