Re: Simulating smaller MTU? ie sending small packets.



On Wed, 17 Aug 2005, Ed W wrote:

> > This is probably a moot venture. The smaller the packets are, the
> > lower the overall throughput is going to be. This is due to the
> > fact that TCP packet have to be acknowledged.
>
> Be careful with your generalisation. The point of my experiment is
> to test an unreliable (and very slow) satellite network to determine
> whether faster speed would be achieved using smaller MTU due to less
> retranmissions. 1500 bytes represents up to 7 seconds of
> transmission time...

Yes, but the acknowledgement doesn't have to be for every individual
packet. Check the "window" parameter. You may however need some very
large buffers if you hope to improve performance. One sees a similar
effect without the satellite, if trying to get good bulk data
throughtput on a transatlantic cable link: despite having at least
1Gbit/sec paths at all points between the hosts at each end, and the
hosts themselves being adequate to the purpose, the throughput looks
quite miserable unless some serious tuning of the TCP parameters is
done.

However, this would be better explored on a networking group, I think,
than right here on c.l.p.misc.

And google for * tcp tuning throughput * and similar combinations of
terms. Anything recent-ish which comes back with LBL.gov and/or
internet2 in the URL is likely to be worth a look.

> I'm not sure I can see how window size affects things, but it's
> interesting to see that I can influence it on a per connection
> basis?

The acknowledgements are serial numbered as to which packets they
relate to, so you can be acknowledging a packet which was quite some
time back while you have all the intervening packets "up the spout" or
in transit, at least for the major part of the transfer (at the ends
of course it sorts itself out).

hope this helps.
.



Relevant Pages

  • Re: Serial (rs232 etc.) to IP
    ... TCP is a connection based protocol and as such it ensures that all data is ... There is no need to 'use' another protocol like Telnet if all you wish to do ... acknowledgement when the socket is first negotiated. ... >>>character packets when many common embedded TCP devices try to talk to ...
    (comp.arch.embedded)
  • Re: NIC question: Via-Rhine (D-Link VT86C100A) full duplex?
    ... 'man mii-tool' and some second thoughts seem to be in ... if your goal is mainly to increase throughput of large files than jumbo ... you set your frames to. ... Your packets are still going to get chopped up to ...
    (alt.os.linux)
  • Re: UDP sending perfomance in Gbit Ethernet
    ... If the throughput changes with network card settings, ... wrong with the UDP stack, then it should show up here. ... >, and the packets are received almost exactly at intervals of 0,2 ms. ... The first fragment arrives at time ...
    (microsoft.public.win32.programmer.networks)
  • Re: TEMAC Performance Issues with Virtex 4FX
    ... This, running Microblaze/ucLinux, achieved an ethernet bandwidth of... ... TCP handles retransmissions, so full FIFOs causing lost packets will slow down your throughput, but the packets will be retransmitted. ... If you only need a few megabits/s with UDP, you still have a problem: the PC will sometimes pause for a few tens of milliseconds, and then send the backlog of packets at full wire speed, which will zap your RX buffers. ...
    (comp.arch.fpga)
  • RE: Good gigabit NIC for 4.11?
    ... Two Intel 82543GC Gigabit card. ... If the throughput is above 1.2Gbit/s, the machine begins to drop packets. ... For big size packets, the bottleneck is at PCI bus, not CPU and memory. ...
    (freebsd-net)