netdev
[Top] [All Lists]

Re: [PATCH, untested] Support for PPPOE on SMP

To: rusty@xxxxxxxxxxxxxxx
Subject: Re: [PATCH, untested] Support for PPPOE on SMP
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 25 Jun 2003 20:59:41 -0700 (PDT)
Cc: paulus@xxxxxxxxx, netdev@xxxxxxxxxxx, fcusack@xxxxxxxxx, carlson@xxxxxxxxxxxxxxx
In-reply-to: <20030626035824.D68B62C147@lists.samba.org>
References: <20030625.143334.85380461.davem@redhat.com> <20030626035824.D68B62C147@lists.samba.org>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
   Date: Thu, 26 Jun 2003 13:57:09 +1000
   
   Frankly, I'm amazed anyone sees reordering in real life...

Many paths on the internet are quite reordered, this is
the first thing.  In fact, I claim that any TCP stack that
doesn't do reordering detection is busted performance wise.

The second thing is that network cards can and do reorder packets.
Some PCMCIA cards do this just for fun.  And ethernet _DOES NOT_
guarentee non-reordering.  At a minumum, a card can use QoS values to
reorder receive of a given packet, it can also use this to reorder
transmit.  Our packet schedulers do this on a software level.

If you need ordering, you need sequence numbers in your
protocol if you wish to operate over these mediums.

The case where SMP causes out-of-order packet delivery is just
academic compared to the non-local sources of reordering
mentioned above.

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