LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Linux RWIN (https://www.linuxquestions.org/questions/linux-networking-3/linux-rwin-36822/)

raypen 11-29-2002 03:04 PM

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.

unSpawn 11-29-2002 06:55 PM

"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.*

raypen 11-30-2002 12:33 AM

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.

raypen 12-02-2002 03:40 PM

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?

the_anti_pat 07-30-2003 04:39 PM

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.