changing RWIN scaling

Get help and discuss anything related to tweaking your internet connection, as well as the different tools and registry patches on the site. TCP Optimizer settings and Analyzer results should be posted here.
Post Reply
bigjohns97
New Member
Posts: 10
Joined: Wed Jun 06, 2001 10:41 pm

changing RWIN scaling

Post by bigjohns97 »

where is the reg entry to change my rwin scaling to 4

TCP options string = 020405b40103030201010402

MTU = 1500
MTU is fully optimized for broadband.

MSS = 1460
Maximum useful data in each packet = 1460, which is equal to MSS.

Default Receive Window (RWIN) = 256960
RWIN Scaling (RFC1323) = 2 bits
Unscaled Receive Window = 64240
RWIN is a multiple of MSS
Other values for RWIN that might work well with your current MTU/MSS:
513920 (MSS x 44 * scale factor of 8)
128480 (MSS x 44 * scale factor of 2)
64240 (MSS x 44)

bandwidth * delay product:
Your RcvWindow limits you to: 10278.4 kbps (1284.8 KBytes/s) @ 200ms
Your RcvWindow limits you to: 4111.36 kbps (513.92 KBytes/s) @ 500ms

MTU Discovery (RFC1191) = ON

Time to live left = 46 hops
TTL value is ok.

Timestamps (RFC1323) = OFF

Selective Acknowledgements (RFC2018) = ON

IP type of service field (RFC1349)= 00000000


thanks in advance!
User avatar
EvilAjax
Posts: 6973
Joined: Fri Mar 23, 2001 4:00 pm
Location: New York City, USA

Post by EvilAjax »

Scaling can only be enabled. Tcp1323Opts = 1. The scaling changes with a higher RWIN. Me thinks :confused:
<sarcastic>um... yeah</sarcastic>

Wanna get pwned? :nod:
raromoney wrote:Thanks EvilAjax!
Yup, I'm baaaackkk!
:thumb:
EvilAjax unbanned, reinforces stereotypes with gunplay braggadocio...
User avatar
EvilAjax
Posts: 6973
Joined: Fri Mar 23, 2001 4:00 pm
Location: New York City, USA

Post by EvilAjax »

What kind of a connection do you have? Can I have your system spex? And what are your advertised speeds?

Welcome to speedguide.
<sarcastic>um... yeah</sarcastic>

Wanna get pwned? :nod:
raromoney wrote:Thanks EvilAjax!
Yup, I'm baaaackkk!
:thumb:
EvilAjax unbanned, reinforces stereotypes with gunplay braggadocio...
bigjohns97
New Member
Posts: 10
Joined: Wed Jun 06, 2001 10:41 pm

Post by bigjohns97 »

i have a p3 800 on an abit sh6 with 384 megs of ram in austin tx on road runner with no tweaks enabled except the default winme tweak on speedguide.
bigjohns97
New Member
Posts: 10
Joined: Wed Jun 06, 2001 10:41 pm

Post by bigjohns97 »

Originally posted by EvilAjax
Scaling can only be enabled. Tcp1323Opts = 1. The scaling changes with a higher RWIN. Me thinks :confused:
If i am not mistaken my scaling is already enabled i need it to read 4 when i do this analyzer?
iaus10
Posts: 1419
Joined: Sat Mar 17, 2001 12:00 am
Location: Minneapolis, MN

Really?

Post by iaus10 »

If you enter a RWIN of 642400, you're scaling will be at 4. Probably not worth it... Lots of packet loss.
User avatar
cablenut
Advanced Member
Posts: 863
Joined: Fri Aug 25, 2000 12:00 am
Location: Indianapolis, IN

Post by cablenut »

"If you enter a RWIN of 642400, you're scaling will be at 4. Probably not worth it... Lots of packet loss"

THis is a misconception amoung alot of people. First of all we can't test our RWIN's with ping because ping uses ICMP which does not use TCP options or RWIN's. Second 99% of the time any RWIN over 64240 is not used and is scaled down.

If he uses any of the scaling factors (2,4,6, or 8) the RWIN will be scaled down correctly.
Head webcheese and geek guru @ http://www.cablenut.com
iaus10
Posts: 1419
Joined: Sat Mar 17, 2001 12:00 am
Location: Minneapolis, MN

Post by iaus10 »

Cablenut,
Are we talking about the same thing? Thanks for the info. By the way, I don't normally use this RWIN, just trying to see what bigjohns97 was goin' for.


MTU = 1500
MTU is fully optimized for broadband.

MSS = 1460
Maximum useful data in each packet = 1460, which is equal to MSS.

Default Receive Window (RWIN) = 642400
RWIN Scaling (RFC1323) = 4 bits
Unscaled Receive Window = 40150
RWIN is a multiple of MSS
Other values for RWIN that might work well with your current MTU/MSS:
513920 (MSS x 44 * scale factor of 8)
256960 (MSS x 44 * scale factor of 4)
128480 (MSS x 44 * scale factor of 2)
64240 (MSS x 44)

bandwidth * delay product:
Your RcvWindow limits you to: 25696 kbps (3212 KBytes/s) @ 200ms
Your RcvWindow limits you to: 10278.4 kbps (1284.8 KBytes/s) @ 500ms

MTU Discovery (RFC1191) = ON

Time to live left = 32 hops
TTL value is ok.

Timestamps (RFC1323) = OFF

Selective Acknowledgements (RFC2018) = ON

IP type of service field (RFC1349)= 00000000
bigjohns97
New Member
Posts: 10
Joined: Wed Jun 06, 2001 10:41 pm

Post by bigjohns97 »

Originally posted by iaus10
Cablenut,
Are we talking about the same thing? Thanks for the info. By the way, I don't normally use this RWIN, just trying to see what bigjohns97 was goin' for.


MTU = 1500
MTU is fully optimized for broadband.

MSS = 1460
Maximum useful data in each packet = 1460, which is equal to MSS.

Default Receive Window (RWIN) = 642400
RWIN Scaling (RFC1323) = 4 bits
Unscaled Receive Window = 40150
RWIN is a multiple of MSS
Other values for RWIN that might work well with your current MTU/MSS:
513920 (MSS x 44 * scale factor of 8)
256960 (MSS x 44 * scale factor of 4)
128480 (MSS x 44 * scale factor of 2)
64240 (MSS x 44)

bandwidth * delay product:
Your RcvWindow limits you to: 25696 kbps (3212 KBytes/s) @ 200ms
Your RcvWindow limits you to: 10278.4 kbps (1284.8 KBytes/s) @ 500ms

MTU Discovery (RFC1191) = ON

Time to live left = 32 hops
TTL value is ok.

Timestamps (RFC1323) = OFF

Selective Acknowledgements (RFC2018) = ON

IP type of service field (RFC1349)= 00000000
This is what confuses me :confused: Your current rwin is 642400 which is way over the recommended rwin from speedguide. Yet your scaling is only at 4 when this table states "Other values for RWIN that might work well with your current MTU/MSS:
513920 (MSS x 44 * scale factor of 8)
256960 (MSS x 44 * scale factor of 4)
128480 (MSS x 44 * scale factor of 2)
64240 (MSS x 44)"
You see what i am getting at for your scaling to only be at 4 with rwin at 642k then your actual mssx44 is wrong, wether it's the actuall mss or the 44 that is changed i am not sure but it seems to me by this table that it's the only thing that is constant. Constant meaning that has been tested and is known for experiementation as a constant. what i would like to know is how they (table) get an rwin of 256960 scale 4 , or 513920 scale 8, those are the numbers i am looking for when i run this analyser.
Thanks for any help with this question of mine.
User avatar
Lobo
SG VIP
Posts: 17660
Joined: Thu Nov 23, 2000 2:32 pm
Location: Panama City, FL and a FAN of Dale Earnhardt Jr. Bud Chevy & NASCAR , and the Atlanta Braves

Post by Lobo »

bigjohns97, try RWIN's of 513920, 522680 or 524176
:) :)
iaus10
Posts: 1419
Joined: Sat Mar 17, 2001 12:00 am
Location: Minneapolis, MN

Post by iaus10 »

Hey Lobo, what is the deal with "RWIN Scaling (RFC1323)" and how does it relate to MSS?
User avatar
Lobo
SG VIP
Posts: 17660
Joined: Thu Nov 23, 2000 2:32 pm
Location: Panama City, FL and a FAN of Dale Earnhardt Jr. Bud Chevy & NASCAR , and the Atlanta Braves

Post by Lobo »

Only MTU relates to MSS :)
iaus10
Posts: 1419
Joined: Sat Mar 17, 2001 12:00 am
Location: Minneapolis, MN

Post by iaus10 »

Yeah... but how does the scaling get calculated? 1 bit, 2bits, 3bits, etc. :confused:
User avatar
Lobo
SG VIP
Posts: 17660
Joined: Thu Nov 23, 2000 2:32 pm
Location: Panama City, FL and a FAN of Dale Earnhardt Jr. Bud Chevy & NASCAR , and the Atlanta Braves

Post by Lobo »

By how big your RWIN is, MTU and MSS stay the same :)
iaus10
Posts: 1419
Joined: Sat Mar 17, 2001 12:00 am
Location: Minneapolis, MN

Post by iaus10 »

Got it, but here's how I'm confused: What is the mathematical relationship between an RWIN = 256960, and the RWIN Scaling (RFC1323) = 2 bits? Or is there no relationship other than the RWIN Scaling (RFC1323) being a set of parameters that is used?
bigjohns97
New Member
Posts: 10
Joined: Wed Jun 06, 2001 10:41 pm

Post by bigjohns97 »

Originally posted by Lobo
By how big your RWIN is, MTU and MSS stay the same :)
Or does 4bits=a scale factor of 8???????
User avatar
Lobo
SG VIP
Posts: 17660
Joined: Thu Nov 23, 2000 2:32 pm
Location: Panama City, FL and a FAN of Dale Earnhardt Jr. Bud Chevy & NASCAR , and the Atlanta Braves

Post by Lobo »

Ask Phillip or Cablenut these hard ones :)
iaus10
Posts: 1419
Joined: Sat Mar 17, 2001 12:00 am
Location: Minneapolis, MN

Post by iaus10 »

scale factor of 8 (513920) shows an RWIN scaling of 3bits. Confused :confused: Phillip... Cablenut ?
User avatar
Lobo
SG VIP
Posts: 17660
Joined: Thu Nov 23, 2000 2:32 pm
Location: Panama City, FL and a FAN of Dale Earnhardt Jr. Bud Chevy & NASCAR , and the Atlanta Braves

Post by Lobo »

Or Dannjr could answer this :)
or Brent or rmrucker, Kip Patterson, Storm90, well big list
bigjohns97
New Member
Posts: 10
Joined: Wed Jun 06, 2001 10:41 pm

Post by bigjohns97 »

Originally posted by Lobo
Or Dannjr could answer this :)
or Brent or rmrucker, Kip Patterson, Storm90, well big list
Can someone take this to the cablenut fourms , i cant register on there while i'm at work for some reason.
Kip Patterson
Senior Member
Posts: 4438
Joined: Wed Jun 07, 2000 12:00 pm
Location: Columbus, Ohio

Post by Kip Patterson »

The scaling factor refers to how many digits (binary) that the RWIN is multiplied by. That's what the word "bit" meant originally - "a contraction of "binary digit". If the scaling factor is 4 bits, that is 2x2x2x2 or 16. If you look at the numbers posted earlier, you'll see that the RWIN is 16x the unscaled RWIN.


Kip
Post Reply