Why 256960 Rwin in the Patches?
-
andrewe77
Why 256960 Rwin in the Patches?
Ok, I know that speedguide states that the rwin should be based on (MTU-40) times an integer while still being less than 65535. But, I just read the Q224823 - Description of Windows 2000 TCP features which states that:
"If there is a scaling factor, the initial window size of 65,535 bytes is always used."
Is this the case for Windows 98 as well?
"If there is a scaling factor, the initial window size of 65,535 bytes is always used."
Is this the case for Windows 98 as well?
My opinion~~~~~~~~~~ no one using a residential broadband connection needs to have a Rwin that's that high. It's impossible to use a "one size fits all" patch when every user has a different latency and Rwin must take into account the latency of your connection.
[ 02-16-2001: Message edited by: haze ]
[ 02-16-2001: Message edited by: haze ]
-
andrewe77
The MSKB article you quote is not in agreement with the RFC's (specifically, RFC1323). The MSKB shows a table and explains that ALL window sizes over 65535 are multiples of 65535.
For example, if the "scale factor" is 2, the scaled window is 262,140 -- regardless of what you have entered into your RWIN value. I have never seen this anywhere else and this is in complete DISagreement with RFC1323. I must beleive this is simply WRONG.
For example, if the "scale factor" is 2, the scaled window is 262,140 -- regardless of what you have entered into your RWIN value. I have never seen this anywhere else and this is in complete DISagreement with RFC1323. I must beleive this is simply WRONG.
Originally posted by rmrucker and discused in full and quite well I might add 5 long pages with links and more http://forums.speedguide.net/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=007975
"Ok, so using my ping times, what equation would I use to calculate the rwin that I need??"
You need to find your average ping, easier said than done. Try pinging about 100-200 different sites and then get the average OR you can try this program ~~ http://www.dslreports.com/front/doctorping.zip
Take the SCORE*1.5
Now multiple that by the bandwidth you are paying for or capped at. Divide that by 8 and add 25%.
example;
score 50*1.5=75
capped at 2000kbps*75=150000
150000/8=18750
18750+25%=23437
Now for those of you who think Rwin must be a multiple of MSS, with a MSS of 1460 this Rwin of 23437/1460=16.05
If you really must have a Rwin that is a multiple of your MSS then take (in this case)
MSS of 1460*16=23360 and use that as your Rwin.
You need to find your average ping, easier said than done. Try pinging about 100-200 different sites and then get the average OR you can try this program ~~ http://www.dslreports.com/front/doctorping.zip
Take the SCORE*1.5
Now multiple that by the bandwidth you are paying for or capped at. Divide that by 8 and add 25%.
example;
score 50*1.5=75
capped at 2000kbps*75=150000
150000/8=18750
18750+25%=23437
Now for those of you who think Rwin must be a multiple of MSS, with a MSS of 1460 this Rwin of 23437/1460=16.05
If you really must have a Rwin that is a multiple of your MSS then take (in this case)
MSS of 1460*16=23360 and use that as your Rwin.
although its very confusing to me this says alot
http://forums.speedguide.net/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=007975
http://forums.speedguide.net/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=007975
You know what? YOU SUCK!
(Megadeth, 1000 times goodbye)
(Megadeth, 1000 times goodbye)
-
andrewe77
My info is based on latency and Rwin size
(test from dslreports)
DefaultRcvWindow (RWIN) is 32120
Your RWIN limits you @28.2ms to 9112kbps
Your RWIN limits you @200ms to 1284kbps
Rwin limits you to speed depending on your ping (ms). You do need a buffer zone over your capped speed so if you do hit a server thats got high latency you will not turn into a turtle. As you can see, I'm well over my line cap (2000kb) @ 28.2ms but at 200ms I'm under that cap but still will get good speed.
Why have a huge Rwin when it is not needed?
Has anyone considered the possibility of packet loss with a Rwin that is to big? Some say it happens, some say it does not!
One thing I do know is that with a 2000kbps line I do not need a Rwin that gives me the potential to recieve 234,625kbps
By the way, with this Rwin I average a little over 1900kbps (that's 95% of my line cap)
(test from dslreports)
DefaultRcvWindow (RWIN) is 32120
Your RWIN limits you @28.2ms to 9112kbps
Your RWIN limits you @200ms to 1284kbps
Rwin limits you to speed depending on your ping (ms). You do need a buffer zone over your capped speed so if you do hit a server thats got high latency you will not turn into a turtle. As you can see, I'm well over my line cap (2000kb) @ 28.2ms but at 200ms I'm under that cap but still will get good speed.
Why have a huge Rwin when it is not needed?
Has anyone considered the possibility of packet loss with a Rwin that is to big? Some say it happens, some say it does not!
One thing I do know is that with a 2000kbps line I do not need a Rwin that gives me the potential to recieve 234,625kbps
By the way, with this Rwin I average a little over 1900kbps (that's 95% of my line cap)