All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] Packet reordering for single flow non-UDP and TCP packets on Intel X520 and i350 adapters
@ 2016-09-06 14:54 Eugene Cookmeyer
  2016-09-07  0:47 ` Alexander Duyck
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene Cookmeyer @ 2016-09-06 14:54 UTC (permalink / raw)
  To: intel-wired-lan

Apologies if this topic has been raised before - I searched through the extent of available archives and did not see this raised recently...

We have a Linux-based testing application running on a Quad-Core server that natively sends only IP experimental (IP type 255) packets for testing network bandwidth and packet ordering.  Essentially we're sending IP packets that have the same IP addresses and the payload differs by our own proprietary header which involves timestamps and sequence numbers.

With the exception of very low bandwidth testing, we always see some blocks of packets getting delivered to the receiving host out-of-sequence.  I've tried everything I can configuration-wise, from restricting the number of Tx/Rx queues down to 1 (via a linux driver change), assigning SMP affinity for everything I can to a single CPU, making sure interrupts are serviced on a single CPU.  It doesn't seem to matter... The card appears deliver receive packets out of order occasionally.  I've tested on the X520 and i350 cards  and they both exhibit this behavior.

When I restrict everything to a single CPU performance throughput plummets - but packet reordering persists.

In normal TCP environments where multiple flows are coming from different clients this packet reordering would likely never show up - however in a single flow situation I expect it would like I'm seeing.  Where TCP is involved, the TCP protocol layer would handle all retransmissions in these scenarios so this would mostly seem transparent to end-users.

I'm looking for advice from the Intel driver guys on this - is this something I can programmatically deal with or is this a card design related symptom?

Maybe I'm missing a controllable parameter somewhere, but I don't seem to know where else to look next.  The linux driver doesn't appear to have all the configurability as the Windows version except some parameters are available through the ethtool utility,  thus my having to modify the driver to get the Tx/Rx queues running on a single CPU.

Eugene Cookmeyer
Viavi Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20160906/514a0ad6/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-07  0:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-06 14:54 [Intel-wired-lan] Packet reordering for single flow non-UDP and TCP packets on Intel X520 and i350 adapters Eugene Cookmeyer
2016-09-07  0:47 ` Alexander Duyck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.