netdev
[Top] [All Lists]

Re: Route cache performance under stress

To: ralph+d@xxxxxxxxx, ralph@xxxxxxxxx
Subject: Re: Route cache performance under stress
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Tue, 10 Jun 2003 17:58:54 -0700 (PDT)
Cc: Robert.Olsson@xxxxxxxxxxx, hadi@xxxxxxxxxxxxxxxx, xerox@xxxxxxxxxx, sim@xxxxxxxxxxxxx, fw@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.51.0306102030530.12166@xxxxxxxxxxxx>
References: <Pine.LNX.4.51.0306101956520.7801@xxxxxxxxxxxx> <20030610.165759.78731321.davem@xxxxxxxxxx> <Pine.LNX.4.51.0306102030530.12166@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Ralph Doncaster <ralph@xxxxxxxxx>
   Date: Tue, 10 Jun 2003 20:41:13 -0400 (EDT)
   
   This sounded so unbelievable to me that I took a quick look at the code to
   see what I'd have to do to get rid of it.  It appears that gettimeofday is
   not called for every packet; just for ICMP timestamp requests and for IP
   options (ip_options_build and ip_options_compile).

Stop lookin in the IP code.  Look at where we get the packet
from the device, which is one layer up.

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