netdev
[Top] [All Lists]

Re: gettime: Was (Re: Route cache performance under stress

To: ak@xxxxxxx
Subject: Re: gettime: Was (Re: Route cache performance under stress
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 11 Jun 2003 20:30:15 -0700 (PDT)
Cc: hadi@xxxxxxxxxxxxxxxx, greearb@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030611120803.GB22720@xxxxxxxxxxxxx>
References: <20030610.203325.41658167.davem@xxxxxxxxxx> <20030611065255.L39678@xxxxxxxxxxxxxxxx> <20030611120803.GB22720@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Andi Kleen <ak@xxxxxxx>
   Date: Wed, 11 Jun 2003 14:08:03 +0200

   Another way is to just store jiffies (= 10 or 1ms accuracy) 
   
   This should be nearly zero cost and accurate enough at least for TCP.
   
TCP doesn't use it Andi.  SO_RECVSTAMP etc. uses it and that
MUST be accurate.

People, start approaching this from an actually implementable
angle, not one's that have no basis in reality :)

   

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