Linux Cable Tweaking Problems
Posted: Thu Sep 19, 2002 1:35 am
I have Linux Mandrake 8.2 installed and I'm trying to increase my RWIN settings but I'm not having any luck.
I've followed the instructions in the FAQ here at Speedguide.net with putting the net.core.rmem_default, etc in the /etc/sysctl.conf and I changed the actual files too in the proc/sys/net/core/, plus I changed them in the proc/sys/net/ipv4/. I did all during many rounds of change, reboot and test. But for some reason my RWIN still shows up on here as only 5840. I checked the files in the ipv4 and core and they show my changes (and I have rebooted).
Here's what the test shows:
MTU = 1500
MTU is fully optimized for broadband.
MSS = 1460
Maximum useful data in each packet = 1448, which is less than MSS because of Timestamps, or other TCP/IP options used.
Default Receive Window (RWIN) = 5840
RWIN Scaling (RFC1323) = 2 bits
Unscaled Receive Window = 1460
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: 233.6 kbps (29.2 KBytes/s) @ 200ms
Your RcvWindow limits you to: 93.44 kbps (11.68 KBytes/s) @ 500ms
Consider increasing your RWIN value to optimize TCP/IP for broadband.
MTU Discovery (RFC1191) = ON
Time to live left = 43 hops
TTL value is ok.
Timestamps (RFC1323) = ON
Note: Timestamps add 12 bytes to the TCP header of each packet, reducing the space available for useful data.
Selective Acknowledgements (RFC2018) = ON
IP type of service field (RFC1349)= 00000000
Any ideas on what else there is to try?
I've followed the instructions in the FAQ here at Speedguide.net with putting the net.core.rmem_default, etc in the /etc/sysctl.conf and I changed the actual files too in the proc/sys/net/core/, plus I changed them in the proc/sys/net/ipv4/. I did all during many rounds of change, reboot and test. But for some reason my RWIN still shows up on here as only 5840. I checked the files in the ipv4 and core and they show my changes (and I have rebooted).
Here's what the test shows:
MTU = 1500
MTU is fully optimized for broadband.
MSS = 1460
Maximum useful data in each packet = 1448, which is less than MSS because of Timestamps, or other TCP/IP options used.
Default Receive Window (RWIN) = 5840
RWIN Scaling (RFC1323) = 2 bits
Unscaled Receive Window = 1460
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: 233.6 kbps (29.2 KBytes/s) @ 200ms
Your RcvWindow limits you to: 93.44 kbps (11.68 KBytes/s) @ 500ms
Consider increasing your RWIN value to optimize TCP/IP for broadband.
MTU Discovery (RFC1191) = ON
Time to live left = 43 hops
TTL value is ok.
Timestamps (RFC1323) = ON
Note: Timestamps add 12 bytes to the TCP header of each packet, reducing the space available for useful data.
Selective Acknowledgements (RFC2018) = ON
IP type of service field (RFC1349)= 00000000
Any ideas on what else there is to try?