Re: loaded router, excessive getnstimeofday in oprofile

David Miller
2008-08-27T22:18:40Z

From: Andi Kleen <andi@firstfloor.org>
Date: Wed, 27 Aug 2008 18:27:35 +0200

> > Those banks really want to crank down on latency - to the point they
> > start disabling interrupt coalescing. I bet they'd toss anything out
> > they could to shave another microsecond.
>
> This change would actually likely lower their latency.

They want the timestamps, but they want it to match when the packet
arrived at their system as closely as is reasonably possible.

Socket based solutions don't do that, because we can be sleeping on
GFP_KERNEL memory or similar with the socket locked, and thus not
be able to set the timestamp until the task wakes up and processes
the backlog.