netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TCP throughput drops sharply around MTU of 180 bytes
@ 2009-11-14  8:28 Ang Way Chuang
  2009-11-14  8:53 ` Eric Dumazet
  0 siblings, 1 reply; 7+ messages in thread
From: Ang Way Chuang @ 2009-11-14  8:28 UTC (permalink / raw)
  To: netdev

Hi kernel networking gurus,

      I came across a situation where I need to evaluate the packing
efficiency of
small packets. Because TCP is byte oriented protocol, there is no way
to force it
to generate small packets, so I forced it by adjusting MTU.

     However, through the experiment, I found that measured throughput
of TCP stream dropped significantly if MTU is set to value less than 180 bytes.
At first, I thought it must be some bugs on my code. So, I decided to repeat
the test over a dedicated 10Mbps Ethernet link. The results that I measured
over Ethernet is shown below:


MTU                 Throughput (Mbps)
-----                  --------------
181                  4.50
180                  4.39
179                  3.05
178                  3.04

     I used iperf throughout the tests. Can someone enlighten me on this matter?
Why the throughput drops sharply if MTU is less than 180 bytes? Is there some
special meaning associated with 180 that I don't know of?

   Some basic information about my system:
kernel version: 2.6.27.5-117.fc10.x86_64
distro: fedora 10
CPU: Pentium 4 3.00 GHz

    Should you need more information, I shall gladly cooperate. Please keep me
in the loop because it is hard for me to cop with the volume of emails on netdev
mailing list.

     Thank you in advance.

Regards,
Ang Way Chuang

^ permalink raw reply	[flat|nested] 7+ messages in thread
* TCP throughput drops sharply around MTU of 180 bytes
@ 2009-11-14  8:48 Ang Way Chuang
  0 siblings, 0 replies; 7+ messages in thread
From: Ang Way Chuang @ 2009-11-14  8:48 UTC (permalink / raw)
  To: netdev

Hi kernel networking gurus,

     I came across a situation where I need to evaluate the packing
efficiency of small packets. Because TCP is byte oriented protocol,
there is no way
to force it to generate small packets, so I forced it by adjusting MTU.

    However, through the experiment, I found that measured throughput
of TCP stream dropped significantly if MTU is set to value less than 180 bytes.
At first, I thought it must be some bugs on my code. So, I decided to repeat
the test over a dedicated 10Mbps Ethernet link. The results that I measured
over Ethernet is shown below:


MTU                 Throughput (Mbps)
-----                  --------------
181                  4.50
180                  4.39
179                  3.05
178                  3.04

    I used iperf throughout the tests. Can someone enlighten me on this matter?
Why the throughput drops sharply if MTU is less than 180 bytes? Is there some
special meaning associated with 180 that I don't know of?

  Some basic information about my system:
kernel version: 2.6.27.5-117.fc10.x86_64
distro: fedora 10
CPU: Pentium 4 3.00 GHz

   Should you need more information, I shall gladly cooperate. Please keep me
in the loop because it is hard for me to cop with the volume of emails on netdev
mailing list.

    Thank you in advance.

Regards,
Ang Way Chuang

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

end of thread, other threads:[~2009-11-14 10:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-14  8:28 TCP throughput drops sharply around MTU of 180 bytes Ang Way Chuang
2009-11-14  8:53 ` Eric Dumazet
2009-11-14  9:12   ` Eric Dumazet
2009-11-14  9:24     ` Ang Way Chuang
2009-11-14  9:57       ` Eric Dumazet
2009-11-14 10:19         ` Eric Dumazet
  -- strict thread matches above, loose matches on Subject: below --
2009-11-14  8:48 Ang Way Chuang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).