login
Header Space

 
 

RE: A Linux TCP SACK Question

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: 'John Heffner' <johnwheffner@...>
Cc: <netdev@...>
Date: Friday, April 4, 2008 - 1:49 pm

Hi, John,

Thanks,

I just sat with Richard Clarson and repeat the phenomenon.

The experiment works as:

      Sender --- Router --- Receiver

Iperf is sending from the sender to the receiver. In between there is an
emulated router which runs netem. The emulated router has two interfaces,
both with netem configured.  One interface emulates the forward path and the
other for the reverse path. Both netem interfaces are configured with 1.5ms
delay and 0.15ms variance. No packet drops. Every system runs Linux 2.6.24.

When sack is on, the throughput is around 180Mbps
When sack is off, the throughput is around 260Mbps

I am sure it is not due to the computational overhead of the processing SACK
block. All of these systems are multi-core platforms, with 2G+ CPU. I run
TOP to verify, CPUs are idle most of time.

I was thinking that if the reordered ACKs/SACKs cause confusion in the
sender, and sender will unnecessarily reduce either the CWND or the
TCP_REORDERING threshold. I might need to take a serious look at the SACK
implementation. 

I will send out the tcpdump files soon,

Thanks,

wenji



-----Original Message-----
From: John Heffner [mailto:johnwheffner@gmail.com] 
Sent: Friday, April 04, 2008 11:28 AM
To: Wenji Wu
Cc: netdev@vger.kernel.org
Subject: Re: A Linux TCP SACK Question

Unless you're sending very fast, where the computational overhead of
processing SACK blocks is slowing you down, this is not expected
behavior.  Do you have more detail?  What is the window size, and how
much reordering?

Full binary tcpdumps are very useful in diagnosing this type of problem.

  -John


On Thu, Apr 3, 2008 at 9:54 PM, Wenji Wu <wenji@fnal.gov> wrote:
reordering in both forward and reverse directions. I found when I turn off
the SACK/DSACK option, the throughput is better than with the SACK/DSACK on?
How could it happen in this way? did anybody encounter this phenomenon
before?


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
A Linux TCP SACK Question, Wenji Wu, (Fri Apr 4, 12:54 am)
Re: A Linux TCP SACK Question, John Heffner, (Fri Apr 4, 12:27 pm)
RE: A Linux TCP SACK Question, Wenji Wu, (Fri Apr 4, 1:49 pm)
RE: A Linux TCP SACK Question, Ilpo Järvinen, (Fri Apr 4, 4:00 pm)
RE: A Linux TCP SACK Question, Wenji Wu, (Fri Apr 4, 5:15 pm)
RE: A Linux TCP SACK Question, Ilpo Järvinen, (Fri Apr 4, 5:33 pm)
Re: RE: A Linux TCP SACK Question, Wenji Wu, (Fri Apr 4, 5:40 pm)
RE: A Linux TCP SACK Question, Ilpo Järvinen, (Fri Apr 4, 5:39 pm)
RE: A Linux TCP SACK Question, Wenji Wu, (Fri Apr 4, 6:14 pm)
Re: A Linux TCP SACK Question, Sangtae Ha, (Sat Apr 5, 5:17 pm)
Re: A Linux TCP SACK Question, Wenji Wu, (Sun Apr 6, 4:27 pm)
Re: A Linux TCP SACK Question, Sangtae Ha, (Sun Apr 6, 6:43 pm)
RE: A Linux TCP SACK Question, Wenji Wu, (Mon Apr 7, 10:56 am)
RE: A Linux TCP SACK Question, Ilpo Järvinen, (Tue Apr 8, 2:36 am)
RE: A Linux TCP SACK Question, Wenji Wu, (Mon Apr 14, 12:10 pm)
RE: A Linux TCP SACK Question, Ilpo Järvinen, (Mon Apr 14, 12:48 pm)
Re: RE: A Linux TCP SACK Question, Wenji Wu, (Mon Apr 14, 6:07 pm)
Re: RE: A Linux TCP SACK Question, Ilpo Järvinen, (Tue Apr 15, 4:23 am)
Re: A Linux TCP SACK Question, John Heffner, (Tue Apr 8, 10:07 am)
Re: RE: A Linux TCP SACK Question, Wenji Wu, (Tue Apr 8, 8:33 am)
Re: RE: A Linux TCP SACK Question, John Heffner, (Tue Apr 8, 11:57 am)
Re: RE: A Linux TCP SACK Question, Ilpo Järvinen, (Tue Apr 8, 9:45 am)
Re: RE: A Linux TCP SACK Question, Wenji Wu, (Tue Apr 8, 10:30 am)
Re: RE: A Linux TCP SACK Question, Ilpo Järvinen, (Tue Apr 8, 10:59 am)
RE: RE: A Linux TCP SACK Question, Wenji Wu, (Mon Apr 14, 6:47 pm)
Re: RE: A Linux TCP SACK Question, John Heffner, (Mon Apr 14, 8:48 pm)
Re: RE: A Linux TCP SACK Question, Wenji Wu, (Tue Apr 15, 12:39 pm)
Re: RE: A Linux TCP SACK Question, John Heffner, (Tue Apr 15, 1:01 pm)
RE: RE: A Linux TCP SACK Question, Wenji Wu, (Tue Apr 15, 1:55 pm)
Re: RE: A Linux TCP SACK Question, Ilpo Järvinen, (Tue Apr 15, 1:08 pm)
Re: RE: A Linux TCP SACK Question, John Heffner, (Tue Apr 15, 1:23 pm)
Re: RE: A Linux TCP SACK Question, Matt Mathis, (Tue Apr 15, 2:00 pm)
Re: RE: A Linux TCP SACK Question, Wenji Wu, (Tue Apr 15, 11:45 am)
Re: RE: A Linux TCP SACK Question, Ilpo Järvinen, (Tue Apr 15, 4:25 am)
Re: RE: A Linux TCP SACK Question, Wenji Wu, (Tue Apr 15, 2:01 pm)
Re: RE: A Linux TCP SACK Question, John Heffner, (Tue Apr 15, 6:40 pm)
RE: RE: A Linux TCP SACK Question, Wenji Wu, (Wed Apr 16, 10:46 am)
Re: A Linux TCP SACK Question, David Miller, (Wed Apr 16, 4:27 am)
Re: A Linux TCP SACK Question, Ilpo Järvinen, (Wed Apr 16, 5:21 am)
Re: A Linux TCP SACK Question, John Heffner, (Wed Apr 16, 10:40 am)
Re: A Linux TCP SACK Question, Ilpo Järvinen, (Wed Apr 16, 11:03 am)
Re: A Linux TCP SACK Question, David Miller, (Wed Apr 16, 5:35 am)
RE: A Linux TCP SACK Question, Wenji Wu, (Wed Apr 16, 10:50 am)
Re: A Linux TCP SACK Question, David Miller, (Fri Apr 18, 2:52 am)
Re: RE: A Linux TCP SACK Question, Wenji Wu, (Tue Apr 8, 11:27 am)
Re: RE: A Linux TCP SACK Question, Ilpo Järvinen, (Tue Apr 8, 1:26 pm)
RE: A Linux TCP SACK Question, Ilpo Järvinen, (Sat Apr 5, 1:42 pm)
Re: RE: A Linux TCP SACK Question, Wenji Wu, (Fri Apr 4, 4:07 pm)
Re: A Linux TCP SACK Question, John Heffner, (Fri Apr 4, 2:07 pm)
speck-geostationary