Aquila
Licat volare si super tergum Aquila volat
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Network Settings

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Aquila Forum Index -> Off Topic
View previous topic :: View next topic  
Author Message
Torsson



Joined: 30 Jan 2007
Posts: 1
Location: Sweden

PostPosted: Tue Jan 30, 2007 3:15 pm    Post subject: Network Settings Reply with quote

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 Wink !.

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
View user's profile Send private message Send e-mail Visit poster's website
maksalaatikko



Joined: 05 Apr 2006
Posts: 19
Location: Finland

PostPosted: Sat Feb 03, 2007 6:50 pm    Post subject: Reply with quote

settings won't work on all systems so be prepared to restore the old values
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Aquila Forum Index -> Off Topic All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Views