| View previous topic :: View next topic |
| Author |
Message |
Torsson
Joined: 30 Jan 2007 Posts: 1 Location: Sweden
|
Posted: Tue Jan 30, 2007 3:15 pm Post subject: Network Settings |
|
|
I have some Kernel settings for the network card that seems to make the hub more stable.
I have tested these settings on a hub with 8700 users and it used 64mbit out of 100mbit and everything seems to run more smooth now.
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "3129344 3137536 3145728" > /proc/sys/net/ipv4/tcp_mem
echo "65536 1398080 2796160" > /proc/sys/net/ipv4/tcp_rmem
echo "65536 1398080 2796160" > /proc/sys/net/ipv4/tcp_wmem
echo "163840" > /proc/sys/net/core/optmem_max
echo "1048560" > /proc/sys/net/core/rmem_default
echo "2097136" > /proc/sys/net/core/rmem_max
echo "1048560" > /proc/sys/net/core/wmem_default
echo "2097136" > /proc/sys/net/core/wmem_max
And then i forced the network card to 100/100mbit FULL Duplex using ethtool like this:
ethtool -s eth0 speed 100 duplex full autoneg off
(i think you can use mii-tool to acomplish this to.)
I dont know if this will help anywhone, but it helped me !.
Thanks to Jove that pointed me to the core settings for the network card.
(It seems like this will reduce your buffering users to!.) _________________ Murphy's law: Whatever can go wrong, will go wrong |
|
| Back to top |
|
 |
maksalaatikko
Joined: 05 Apr 2006 Posts: 19 Location: Finland
|
Posted: Sat Feb 03, 2007 6:50 pm Post subject: |
|
|
| settings won't work on all systems so be prepared to restore the old values |
|
| Back to top |
|
 |
|