tuning TCP for dealing with packet loss, prolonging Nagle delay etc.

This is a discussion on tuning TCP for dealing with packet loss, prolonging Nagle delay etc. within the Linux Networking forums, part of the Linux Forums category; Hello, is there anything I can do to tune the Linux TCP implementation to be more able to deal with ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-29-2003
Vaclav Dvorak
 
Posts: n/a
Default tuning TCP for dealing with packet loss, prolonging Nagle delay etc.

Hello,

is there anything I can do to tune the Linux TCP implementation to be
more able to deal with packet lossage? TCP seems to be made with the
assumption that packet loss usually means congestion. Unfortunately, in
my case, I have to deal with a link that has packet loss in the order of
50% (without congestion), and TCP is quite unable to deal with that. :-(

Also, my wireless link transports way too many small packets, which is
very inefficient. (There's a big overhead for each packet.) If I could
somehow aggregate the traffic into fewer but larger packets, I believe I
could achieve better speeds and perhaps even less packet loss (because
of fewer collisions), at the cost of increased latency.

So, is there any way to enforce the Nagle algorithm, and perhaps even
prolong the delay that the TCP stack waits for more data before sending
out a packet?

Thanks for any advice!

Vaclav Dvorak

PS: Happy New Year!

Reply With Quote
  #2 (permalink)  
Old 12-31-2003
Yves Cognet
 
Posts: n/a
Default Re: tuning TCP for dealing with packet loss, prolonging Nagle delay etc.

set SACK on and Fast Retransmit too.
"Vaclav Dvorak" <dvorakv@idas.cz> a écrit dans le message de
news:bspiq7$20v5$1@news.vol.cz...
> Hello,
>
> is there anything I can do to tune the Linux TCP implementation to be
> more able to deal with packet lossage? TCP seems to be made with the
> assumption that packet loss usually means congestion. Unfortunately, in
> my case, I have to deal with a link that has packet loss in the order of
> 50% (without congestion), and TCP is quite unable to deal with that. :-(
>
> Also, my wireless link transports way too many small packets, which is
> very inefficient. (There's a big overhead for each packet.) If I could
> somehow aggregate the traffic into fewer but larger packets, I believe I
> could achieve better speeds and perhaps even less packet loss (because
> of fewer collisions), at the cost of increased latency.
>
> So, is there any way to enforce the Nagle algorithm, and perhaps even
> prolong the delay that the TCP stack waits for more data before sending
> out a packet?
>
> Thanks for any advice!
>
> Vaclav Dvorak
>
> PS: Happy New Year!
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0