Faster network?
shrek-m at gmx.de
shrek-m at gmx.de
Fri Mar 3 09:24:33 UTC 2006
On 03.03.2006 09:12, Mike Chambers wrote:
>I saw this in my file archives, and think the contents are something I
>read to make your network/machine a little faster. If so,
>
i do not know.
my network @home @work is fast enough with the defaults in rhl / fc
>where would
>this be set to? rc.local?
>
why not.
>a sys file somewhere?
>
>Below is what the contents of the file are...
>
>ifconfig eth0 mtu 1500
>
>
# ifconfig | grep MTU
irc this is the default.
iirc you can set it in /etc/sysconfig/network or
/etc/sysconfig/network-scripts/ifcfg-*
see /usr/share/doc/initscripts/sysconfig.txt
# grep -i mtu /usr/share/doc/initscripts-*/sysconfig.txt
MTU=
Default MTU for this device
IPV6_MTU=<MTU of link> (optional)
Optional, dedicated MTU of this link
IPV6_MTU="1280"
IPV6TO4_MTU=<MTU for IPv6> (optional)
Controls IPv6 MTU for the 6to4 tunnel
IPV6TO4_MTU="1280"
Default: MTU of master device - 20
IPV6_MTU=<MTU of tunnel> (optional)
Optional, dedicated MTU of this tunnel
IPV6_MTU="1280"
MTU=
>echo 256960 >> /proc/sys/net/core/rmem_default
>echo 256960 >> /proc/sys/net/core/rmem_max
>echo 256960 >> /proc/sys/net/core/wmem_default
>echo 256960 >> /proc/sys/net/core/wmem_max
>echo 0 >> /proc/sys/net/ipv4/tcp_timestamps
>
>
/etc/sysctl.conf
>echo 1 >> /proc/sys/net/ipv4/tcp_sack
>echo 1 >> /proc/sys/net/ipv4/tcp_window_scaling
>
iirc this are the defaults
--
shrek-m
More information about the fedora-test-list
mailing list