Cant set the rwin with cablenut [Archive] - SpeedGuide.net Broadband Community

View Full Version : Cant set the rwin with cablenut


piranha
06-22-02, 08:46 PM
P3-733 with the adsl modem
home network of 2 pc
512 ram
XP pro

With xp pppoe my rwin is only 2880 (2 x 1440).

With raspppoe my rwin is only 2904 (2 x 1452) but i used cablenut to set rwin at 34848 !!! I didnt forget to save before exit the adjuster and i rebooted.

I dont understand why the rwin is always only twice the MSS and cant go higher ??

Solution please

thanks

TCP properties for IP = xxx.xxx.xxx.xxx
Browser/OS = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Note: Read the FAQ if the above is not your IP address.

TCP options string = 020405ac01010402

MTU = 1492
MTU is optimized for PPoE DSL broadband. If not, consider raising MTU to 1500 for optimal throughput.

MSS = 1452
Maximum useful data in each packet = 1452, which equals MSS.
MSS is optimized for PPPoE DSL broadband. If not, consider raising MTU to 1500 for maximum throughput.

Default Receive Window (RWIN) = 2904
RWIN Scaling (RFC1323) = 0 bits
Unscaled Receive Window = 2904
RWIN is a multiple of MSS
Other values for RWIN that might work well with your current MTU/MSS:
511104 (MSS x 44 * scale factor of 8)
255552 (MSS x 44 * scale factor of 4)
127776 (MSS x 44 * scale factor of 2)
63888 (MSS x 44)

bandwidth * delay product:
Your RcvWindow limits you to: 116.16 kbps (14.52 KBytes/s) @ 200ms
Your RcvWindow limits you to: 46.464 kbps (5.808 KBytes/s) @ 500ms
Consider increasing your RWIN value to optimize TCP/IP for broadband.

MTU Discovery (RFC1191) = OFF

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

Timestamps (RFC1323) = OFF

Selective Acknowledgements (RFC2018) = ON

**********

Wich one have to connect...the LAN or the pc ?? Tweak test on dslreports are ok with rwin at 34848 but rwin of tcp/ip test is 2904 !!!!

MadDoctor
06-22-02, 09:01 PM
Proxy on?

piranha
06-22-02, 09:33 PM
Proxy is disabled in MS IE, tools, ....

mnosteele52
06-23-02, 12:10 AM
Make sure you set all of the following enrites to whatever you want your RWIN to be:

DefaultReceiveWindow
MaxFastTransmit
GlobalMaxTcpWindowSize
TcpWindowSize

:)

piranha
06-23-02, 10:35 AM
Everything is ok with cablenut, i know very well how it works...

DefaultReceiveWindow = 34848
GlobalMaxTcpWindowSize = 34848
TcpWindowSize = 34848

MaxFastTransmit = 2

Do you mean i have to set it at 34848 too ? Not sure it will correct the problem

In my opinion, the solution is in this clue :

Wich one have to connect to internet...the LAN or the pc ?? Tweak test on dslreports are ok with rwin at 34848 but rwin of tcp/ip test is 2904 !!!!

Dont know how each test works but know thant could help to understand the problem.

mnosteele52
06-23-02, 10:44 AM
MaxFastTransmit should be set to the same value as your TcpWindowSize, if DSLReports tweak test is showing the value correct then it is set ok, sometimes the analyzer does this and I don't know why, Philip may have some insight on this.:)

piranha
07-07-02, 10:50 AM
I tried again raspppoe and xp pppoe, uninstalled and reinstalled cablenut and the problem is still there. But now rwin is not twice the mss but once (1452 or 1440). I setted rwin to 36000 (25x 1440) but only dslreports tweak test showed me rwin to 36000. Which one is good ?

No difference with MaxFaxTransmit to 36000 too.

Browser/OS = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Note: Read the FAQ if the above is not your IP address.

TCP options string = xxxxxxxxxxxxxxxxxxxxx

MTU = 1480
MTU is optimized for Windows XP PPoE DSL broadband. If not, consider raising MTU to 1500 for optimal throughput.

MSS = 1440
Maximum useful data in each packet = 1440, which equals MSS.
MSS is optimized for Windows XP PPPoE DSL broadband. If not, consider raising MTU to 1500 for maximum throughput.

Default Receive Window (RWIN) = 1440
RWIN Scaling (RFC1323) = 0 bits
Unscaled Receive Window = 1440
RWIN is a multiple of MSS
Other values for RWIN that might work well with your current MTU/MSS:
506880 (MSS x 44 * scale factor of 8)
253440 (MSS x 44 * scale factor of 4)
126720 (MSS x 44 * scale factor of 2)
63360 (MSS x 44)

bandwidth * delay product:
Your RcvWindow limits you to: 57.6 kbps (7.2 KBytes/s) @ 200ms
Your RcvWindow limits you to: 23.04 kbps (2.88 KBytes/s) @ 500ms
Consider increasing your RWIN value to optimize TCP/IP for broadband.

MTU Discovery (RFC1191) = ON

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

Timestamps (RFC1323) = OFF

Selective Acknowledgements (RFC2018) = ON

Lobo
07-07-02, 03:38 PM
Do you have 56K modem installed, check security settings in firewall:):)

piranha
07-07-02, 04:29 PM
Yes i have a 56K modem installed in the pc but it only if adsl dont work . As firewall i use XP firewall.

Lobo
07-07-02, 04:39 PM
Go into registry and change Tcp Recieve Window:)

Lobo
07-07-02, 04:51 PM
Don't put 1460 in adjuster in boxes TcpRecvSegmentSize and TcpSendSegmentSize for PPPoE:)

piranha
07-07-02, 04:57 PM
Why in the registry...Cablenut adjuster cant do the job ?

No tcp receive windows in adjuster, what is the key in registry

Lobo
07-07-02, 05:00 PM
TCPWindowSize

The value of TCP Window in the Windows 2000 Registry is DWORD, representing number of bytes, with range from 0 to 2^30. The recommended values (in red) optimize TCP for any high speed Internet connection and work best in most cases, however if you'd like to use a custom value follow these guidelines:

For best results, the TCPWindow should be a multiple of MSS (Maximum Segment Size). MSS is generally MTU - 40, where MTU (Maximum Transmission Unit) is the largest packet size that can be transmitted. MTU is usually 1500 (1492 for PPPoE connections). To determine the MTU value of your ISP, check out the Advanced Registry Editing section of our site.

There are three places in the Windows 2000 Registry where you can add the TCP Window parameter.

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
GlobalMaxTcpWindowSize="256960" (DWORD, number of bytes) Valid range is from MSS to 2^30. Add the value as a decimal.
Note: For best results RWIN has to be a multiple of MSS lower than 65535 times a scale factor that's a power of 2, i.e. 44 x 1460 = 64240 x 2^2 = 256960. If you choose to use a RWIN lower than 65535, you can simply make it multiple of MSS and turn scaling off (Tcp1323Opts=0)

:)

piranha
07-07-02, 05:00 PM
Originally posted by Lobo
Don't put 1460 in adjuster in boxes TcpRecvSegmentSize and TcpSendSegmentSize for PPPoE:)

dont have 1460 in adjuster

Lobo
07-07-02, 05:04 PM
Click on clear all boxes at bottom of adjuster, save to registry, reboot, post analyzer results:)

piranha
07-07-02, 05:16 PM
same results as earlier test after clear all boxes, save registry and reboot

Browser/OS = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Note: Read the FAQ if the above is not your IP address.

TCP options string = xxxxxxxxxxxxxxx

MTU = 1480
MTU is optimized for Windows XP PPoE DSL broadband. If not, consider raising MTU to 1500 for optimal throughput.

MSS = 1440
Maximum useful data in each packet = 1440, which equals MSS.
MSS is optimized for Windows XP PPPoE DSL broadband. If not, consider raising MTU to 1500 for maximum throughput.

Default Receive Window (RWIN) = 1440
RWIN Scaling (RFC1323) = 0 bits
Unscaled Receive Window = 1440
RWIN is a multiple of MSS
Other values for RWIN that might work well with your current MTU/MSS:
506880 (MSS x 44 * scale factor of 8)
253440 (MSS x 44 * scale factor of 4)
126720 (MSS x 44 * scale factor of 2)
63360 (MSS x 44)

bandwidth * delay product:
Your RcvWindow limits you to: 57.6 kbps (7.2 KBytes/s) @ 200ms
Your RcvWindow limits you to: 23.04 kbps (2.88 KBytes/s) @ 500ms
Consider increasing your RWIN value to optimize TCP/IP for broadband.

MTU Discovery (RFC1191) = ON

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

Timestamps (RFC1323) = OFF

Selective Acknowledgements (RFC2018) = ON

Lobo
07-07-02, 05:18 PM
You need to go into registry and delete that 1440:)

piranha
07-07-02, 05:19 PM
....but now rwin is 17280 with dslreports tweak test

http://ny-monitor.dslreports.com/tweak/block:15b5add?service=dsl&speed=1184&os=winXP&via=winXPpppoe

piranha
07-07-02, 05:20 PM
Originally posted by Lobo
You need to go into registry and delete that 1440:)

where ?

MaxMTU ... no you mean MaxMSS ?

Lobo
07-07-02, 05:23 PM
Isin't the registry address above or check front page where I got it:)


HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Param
eters\
:)

piranha
07-07-02, 05:33 PM
cant find the key....

Lobo
07-07-02, 05:35 PM
Do this:


sfc check the system files by running the command sfc /scannow from the Command Window (Start > Run). Put XP disk in, click on exit when it comes up on screen, leave disk in.
:)

piranha
07-07-02, 08:23 PM
Sfc done and everything is ok, no error message.

Lobo
07-08-02, 09:15 AM
Great, print how to do that in case you need it again, sometimes people just hit delete a hold folder instead of add/remove in control panel:)