Linux Kernel Tuning for C500k

Step 1

sudo vim /etc/sysctl.conf

add the following lines

fs.file-max = 999999
net.ipv4.tcp_rmem
= 4096 4096 8192
net.ipv4.tcp_wmem
= 4096 4096 8192
net.ipv4.ip_local_port_range
= 1024 65535

 

Step 2

sudo vim /etc/security/limits.conf

add the following line

* - nofile 999999

 

Step 3

sudo reboot

 

Thanks to http://blog.urbanairship.com/blog/2010/09/29/linux-kernel-tuning-for-c500k/

posted @ 2011-01-14 18:27  ALLI Look for Lost Idylls  阅读(342)  评论(0编辑  收藏  举报