Faster network?

shrek-m at shrek-m at
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  

see  /usr/share/doc/initscripts/sysconfig.txt
# grep -i mtu /usr/share/doc/initscripts-*/sysconfig.txt
      Default MTU for this device
    IPV6_MTU=<MTU of link> (optional)
      Optional, dedicated MTU of this link
    IPV6TO4_MTU=<MTU for IPv6> (optional)
      Controls IPv6 MTU for the 6to4 tunnel
      Default: MTU of master device - 20
    IPV6_MTU=<MTU of tunnel> (optional)
      Optional, dedicated MTU of this tunnel

>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


>echo 1 >> /proc/sys/net/ipv4/tcp_sack
>echo 1 >> /proc/sys/net/ipv4/tcp_window_scaling

iirc this are the defaults


More information about the fedora-test-list mailing list