Linux RWIN
Anyone know how to set the DefaultRecWindow parameter
in Linux (better known as RWIN)? Or is there such a thing in Linux? Speedguide says there is and mine is pitifully small. Would like to try a larger size if possible. |
"echo ${value} > /proc/sys/net/core/{r,w}mem_{max,default}"
where value is the size you want it to be. Docs be in /usr/src/linux/Docu.*/netw.* |
Interesting?
rmem_default, rmem_max, wmem_default and wmem_max are all set at 65535. Speedguide reports a Default Receive Window of 5840. Does this make any sense? Since the above defaults (65535) are not a precise multiple of MSS, are they causing this odd reporting? Unfortunately, I could not find the Docs that explain this in the directories you mentioned. I'm really not sure what should be changed and to what value. I assume 'max' and 'default' should probably be set the same however. Any further enlightenment appreciated. |
I used the SpeedGuide recommended Linux settings to tweak various keernal settings
as follows: echo 128480 > /proc/sys/net/core/rmem_default echo 256960 > /proc/sys/net/core/rmem_max echo 128480 > /proc/sys/net/core/wmem_default echo 256960 > /proc/sys/net/core/wmem_max echo 1 > /proc/sys/net/ipv4/tcp_window_scaling echo 0 > /proc/sys/net/ipv4/tcp_timestamps Unfortunately nothing changed in the speed report. Even though scaling is set to 1 (should it be 2), scaling is reported as 0 bits. Windows systems report scaling as 2 bits with an unscaled window = 64240. Any suggestions? |
GUI
Are there any GUI based apps to optimise these settings because I'd like to see what my connection is set to! I seem to have a descent Rwin but my scaler is 0! I tried "echo 8 > ...scaling" which was accepted (i.e went to next line of console without error.) I downloaded linuxconf but I can't see a Rwin configuration tool there either!
|
All times are GMT -5. The time now is 06:43 AM. |