[opensuse] Howto Configure MTU and RWIN in OpenSuse 10.3
Hello My ISP told me to optimise my network connection using TCP Optimizer (Windows only). How can i check what values are being used and how can i set new values for MTU and RWIN ? Kind regards Philippe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2008-06-02 at 12:03 +0200, Philippe Landau wrote:
Hello
My ISP told me to optimise my network connection using TCP Optimizer (Windows only). How can i check what values are being used and how can i set new values for MTU and RWIN ?
"ifconfig" or "ifstatus eth0", at lest it shows the MTU. RWIN I dunno what it is. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIQ8nKtTMYHG2NR9URAl9AAJ4+CnCbaV0WhMC0p2DMsxiMg4SE+wCePCg/ YnCWm0OgqgkI9l61ZfiMbeQ= =paa7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
The Monday 2008-06-02 at 12:03 +0200, Philippe Landau wrote:
Hello
My ISP told me to optimise my network connection using TCP Optimizer (Windows only). How can i check what values are being used and how can i set new values for MTU and RWIN ?
"ifconfig" or "ifstatus eth0", at lest it shows the MTU. RWIN I dunno what it is.
RWIN is the receive window, which specifies how much outstanding unacknowledged data is permitted. It's normally determined dynamically, by the receiver. MTU is max 1500 on ethernet, but can be much larger on other network types, such as token ring. Again, these days, it's usually automatically set, through path MTU discovery. One thing to bear in mind is that many Windows settings are required because of limitations in Windows and are not a consideration elsewhere. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Knott wrote:
Carlos E. R. wrote:
The Monday 2008-06-02 at 12:03 +0200, Philippe Landau wrote:
My ISP told me to optimise my network connection using TCP Optimizer (Windows only). How can i check what values are being used and how can i set new values for MTU and RWIN ? "ifconfig" or "ifstatus eth0", at lest it shows the MTU. MTU is currently 1500 which is fine in my case. It can be changed in Yast:Network Devices:Network Card: Network Settings:Choose your card:Configure:General:Set MTU.
RWIN is the receive window, which specifies how much outstanding unacknowledged data is permitted. It's normally determined dynamically, by the receiver. MTU is max 1500 on ethernet, but can be much larger on other network types, such as token ring. Again, these days, it's usually automatically set, through path MTU discovery. One thing to bear in mind is that many Windows settings are required because of limitations in Windows and are not a consideration elsewhere. I get the following test results: Receive Window Size: 5888 (scaled) -> Your computer works with reduced Receive Window Size. This can result in reduced Download-Datarate.
I did: kdesu kwrite /etc/sysctl.conf and added the following lines: fs.inotify.max_user_watches = 65536 net.core.rmem_max = 8738000 net.core.wmem_max = 6553600 net.ipv4.tcp_rmem = 8192 256960 8738000 net.ipv4.tcp_wmem = 4096 655360 6553600 Is that the right place and syntax ? Different distributions handle this differently. Where can i look this up for OpenSuse 10.3 ? I rebooted but got no change so far. Ubuntu had problems with the high load of connections my p2p applications produce. Is OpenSuse a good tool for this ? Kind regards Philippe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Philippe Landau wrote:
I did: kdesu kwrite /etc/sysctl.conf and added the following lines: fs.inotify.max_user_watches = 65536 net.core.rmem_max = 8738000 net.core.wmem_max = 6553600 net.ipv4.tcp_rmem = 8192 256960 8738000 net.ipv4.tcp_wmem = 4096 655360 6553600
Is that the right place and syntax ?
It's the right place - I don't know the syntax, but check the current settings with cat /proc/sys/net/ipv4/tcp_rmem etc. and you'll see the syntax.
Different distributions handle this differently.
I think sysctl.conf is standard.
Where can i look this up for OpenSuse 10.3 ? I rebooted but got no change so far.
The sysctl changes are done by /etc/init.d/boot.sysctl
Ubuntu had problems with the high load of connections my p2p applications produce. Is OpenSuse a good tool for this ?
What sort of problems did you experience with Ubuntu? /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos E. R.
-
James Knott
-
Per Jessen
-
Philippe Landau