netdev
[Top] [All Lists]

Re: packet re-ordering on SMP machines.

To: Andi Kleen <ak@xxxxxxx>
Subject: Re: packet re-ordering on SMP machines.
From: Harald Welte <laforge@xxxxxxxxxxxx>
Date: Sun, 15 Sep 2002 10:42:01 +0200
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20020827151317.A3389@wotan.suse.de>; from ak@suse.de on Tue, Aug 27, 2002 at 03:13:17PM +0200
References: <20020827142004.C4358@wotan.suse.de> <200208271306.RAA19164@sex.inr.ac.ru> <20020827151317.A3389@wotan.suse.de>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.17i
On Tue, Aug 27, 2002 at 03:13:17PM +0200, Andi Kleen wrote:
> 
> On Tue, Aug 27, 2002 at 05:06:30PM +0400, A.N.Kuznetsov wrote:
> > Hello!
> > 
> > > Of course. The only problem is that the clock can be non mononotonous 
> > > sometimes and not be in sync with gettimeofday, but at least the kernel 
> > > users of packet timestamps do not care.
> > 
> > What kernel users? Where did you find them? :-)
> 
> Hmm, I thought TCP used it, but it seems to use jiffies directly.
> 
> Ok, no kernel users then. Not sure about sunrpc and out of tree stuff
> like SCTP.

The iptables ULOG target passes the skb receive timestamp to userspace, where
it is (depending on local ulogd configuration) written in logging/accounting
databases. (ULOG is in the kernel tree).  

The issue is that ULOG is batching multiple packets (or parts of packets) into
one netlink message sent to userspace.  If userspace would make a timestamp,
it would be very inaccurate.

There is at least one more iptables extension (out of the kernel tree) using
it - but I wouldn't consider this as important.

> -Andi

-- 
Live long and prosper
- Harald Welte / laforge@xxxxxxxxxxxx               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ 
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)

Attachment: pgpC2P244OE4d.pgp
Description: PGP signature

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