Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.protocols.tcp-ip    |    TCP and IP network protocols.    |    14,669 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 14,086 of 14,669    |
|    Rick Jones to sangitachowdhary@gmail.com    |
|    Re: changing initcwnd to get better perf    |
|    20 Nov 13 22:42:12    |
      From: rick.jones2@hp.com              sangitachowdhary@gmail.com wrote:       > I want to increase performance of tcp by increasing initcwnd. I have       > understood how to do this.              Your connections are short-lived then I presume? And have > 10 TCP       segments' worth of data to send at the beginning?              > we can use command below to increase this parameter.       > # ip route change default via 192.168.1.1 dev eth0 proto static initcwnd 10              > But what I didn't understand is how it works? I mean adding it to       > default route, how it will tell server that your congestion window       > is increased from 10 to 20 you can send min(20, initrwnd).              I presume you are running Linux, it would be best though since this is       a "generic" newsgroup, to state that explicitly.              TCP looks at the route to pick some of its settings. If it finds an       initcwnd setting in the route it will be using to reach the remote       destiation, it will use that rather than the default.              Your command example is (IIRC) setting the initial congestion window       to 10 segments, not 20. I cannot recall if you will need to re-start       applications after making the change. For "server" applications with       TCP LISTEN endpoints it would probably not hurt to restart them.              rick jones       --       The computing industry isn't as much a game of "Follow The Leader" as       it is one of "Ring Around the Rosy" or perhaps "Duck Duck Goose."        - Rick Jones       these opinions are mine, all mine; HP might not want them anyway... :)       feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca