tcp failing to recover from a packet loss under 8.2-RELEASE?

Steven Hartland killing at multiplay.co.uk
Thu Aug 4 14:31:20 UTC 2011


----- Original Message ----- 
From: "Lawrence Stewart" <lstewart at freebsd.org>
> Thanks for bringing me in directly, I haven't been keeping up with the 
> mailing lists at all recently.

No problem
 
>> So I suppose the question is should maxsegments be larger by
>> default due to the recent changes e.g.
>> - V_tcp_reass_maxseg = nmbclusters / 16;
>> + V_tcp_reass_maxseg = nmbclusters / 8;
>>
>> or is the correct fix something more involved?
> 
> I'm not sure if bumping the value is appropriate - we have always 
> expected users to tune their network stack to perform well when used in 
> "unusual" scenarios - a large BDP fibre path still being in the 
> "unusual" category.

TBH I wouldn't classify a latency of 7ms @ 100Mbps unusal in the slightest
in this day and age.

> The real fix which is somewhere down on my todo list is to make all 
> these memory constraints elastic and respond to VM pressure, thus 
> negating the need for a hard limit at all. This would solve many if not 
> most of the TCP tuning problems we currently have with one foul swoop 
> and would greatly reduce the need for tuning in many situations that 
> currently are in the "needs manual tuning" basket.

This would indeed be a great improvement.

> Andre and Steven, I'm a bit too sleepy to properly review your combined 
> proposed changes right now and will follow up in the next few days instead.

No problem, we've increased nmbclusters on all our machines and there now
performing fine in the problem scenario so no rush, look forward to your
feedback when you've had some sleep :)

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-net mailing list