Re: TCP rx window autotuning harmful at LAN context

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marian
Date: Wednesday, March 11, 2009 - 4:03 am

On Wed, Mar 11, 2009 at 11:03:35AM +0100, Andi Kleen wrote:

Yes, exactly! We run into this after number of workstations were upgraded
at once to a new hardware with 2GB of RAM.


Sure - as it lowers the maximum from 4MB to 2MB, the net result is that
RTTs at 100 Mbps immediately went down from 267 msec into:

--- x.x.x.x ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 8992ms
rtt min/avg/max/mdev = 134.417/134.770/134.911/0.315 ms

Still this is too high for 100 Mpbs network, since the RTTs with 64 KB static
rx buffer look like this (with no performance penalty):

--- x.x.x.x ping statistics --
10 packets transmitted, 10 received, 0% packet loss, time 9000ms
rtt min/avg/max/mdev = 5.163/5.355/5.476/0.102 ms

I.e. the patch significantly helps as expected, however having one static
limit for all NIC speeds as well as for the whole range of RTTs is suboptimal 
by principle.


   Thanks & kind regards,

       M.

--
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:
Re: TCP rx window autotuning harmful at LAN context, John Heffner, (Mon Mar 9, 11:01 am)
Re: TCP rx window autotuning harmful at LAN context, Stephen Hemminger, (Mon Mar 9, 1:24 pm)
Re: TCP rx window autotuning harmful at LAN context, David Miller, (Mon Mar 9, 5:09 pm)
Re: TCP rx window autotuning harmful at LAN context, Rick Jones, (Mon Mar 9, 5:34 pm)
Re: TCP rx window autotuning harmful at LAN context, John Heffner, (Mon Mar 9, 8:55 pm)
Re: TCP rx window autotuning harmful at LAN context, Rick Jones, (Tue Mar 10, 10:20 am)
Re: TCP rx window autotuning harmful at LAN context, Andi Kleen, (Wed Mar 11, 3:03 am)
Re: TCP rx window autotuning harmful at LAN context, Marian , (Wed Mar 11, 4:03 am)
Re: TCP rx window autotuning harmful at LAN context, David Miller, (Wed Mar 11, 6:30 am)
Re: TCP rx window autotuning harmful at LAN context, Andi Kleen, (Wed Mar 11, 8:01 am)
Re: TCP rx window autotuning harmful at LAN context, John Heffner, (Wed Mar 11, 8:34 am)