200,000 + Bdp/rwin?? [Archive] - SpeedGuide.net Broadband Community

View Full Version : 200,000 + Bdp/rwin??


GAMEOVER
02-01-07, 11:14 PM
Using the math formula I was given I came up with a RWIN number that ended up over 200,000. Could anyone please tell me the optimal RWIN for my system? My download speed is 5032 kbs. How do I know what latency (ping) number to use and how do I go about getting it?

Thanks for any and all help. I play a 2d game called Soldat and I feel like im getting some packet loss. So id like to tighten up the number.

mccoffee
02-01-07, 11:35 PM
TcpWindowSize (RWIN) FORMULA

(Maximum Bandwidth x Maximum Anticipated Latency) / 8

Example of a connection with a 3000 download cap with a maximum latency of 100 ms:

(3000 x 100) / 8 = 37500 To make it a multiple of MSS divide by 1460:

37500 / 1460 = 25.68 Then round up to the nearest even whole number:

26 x 1460 = 37960 - Optimum RWIN

GAMEOVER
02-03-07, 03:33 PM
TcpWindowSize (RWIN) FORMULA

(Maximum Bandwidth x Maximum Anticipated Latency) / 8

Example of a connection with a 3000 download cap with a maximum latency of 100 ms:

(3000 x 100) / 8 = 37500 To make it a multiple of MSS divide by 1460:

37500 / 1460 = 25.68 Then round up to the nearest even whole number:

26 x 1460 = 37960 - Optimum RWIN


Thank You, a few questions if I may..

1) Why divide (my bandwith x ping) by the number 8?

2) "To make it a multiple of MSS divide by 1460" would I put 1492 here? 1492 is my MTU.


Thank you again for your help.

GAMEOVER
02-03-07, 05:24 PM
TcpWindowSize (RWIN) FORMULA

(Maximum Bandwidth x Maximum Anticipated Latency) / 8

Example of a connection with a 3000 download cap with a maximum latency of 100 ms:

(3000 x 100) / 8 = 37500 To make it a multiple of MSS divide by 1460:

37500 / 1460 = 25.68 Then round up to the nearest even whole number:

26 x 1460 = 37960 - Optimum RWIN


1) Okay reading that my MSS = my MTU -40 I took my MTU number which was 1492 and subtracted 40 from it. So my MSS would be 1452.

2) I then took my download speed (5032) and times'd it by 100 then divided it by 8. This gave me 62,900.

3) I took 62,900 and divided it by 1452 (my MSS?) and came up with 43.3. I rounded it to 43.

4) 43 x 1452 = 62,436 RWIN


Is this correct?

Also I found a "TTL" setting (Time to Live) set at 128 servers. Should I change this?

Thanks again.