Changes between Version 3 and Version 4 of jazz/Performance_Tuning
- Timestamp:
- May 11, 2010, 12:31:52 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/Performance_Tuning
v3 v4 3 3 == System Performance Tuning : Memory == 4 4 5 * 5 * Share Memory 6 {{{ 7 echo "kernel.shmall = 796917578" >> /etc/sysctl.conf 8 echo "kernel.shmmax = 796917578" >> /etc/sysctl.conf 9 echo "kernel.shmmni = 4096" >> /etc/sysctl.conf 10 }}} 6 11 7 == File System Performance Tuning==12 == System Performance Tuning : File System == 8 13 9 14 * /etc/security/limits.conf - 每個程序(process)可以開啟檔案的個數(number limits of open files per process) … … 21 26 }}} 22 27 23 24 28 == I/O Performance Tuning == 25 29 … … 28 32 * TCP Tuning 29 33 {{{ 30 echo 262144 > /proc/sys/net/core/rmem_default31 echo 8388608 > /proc/sys/net/core/wmem_max 13107132 echo 8388608 > /proc/sys/net/core/rmem_max34 echo 262144 > /proc/sys/net/core/rmem_default 35 echo 8388608 > /proc/sys/net/core/wmem_max 36 echo 8388608 > /proc/sys/net/core/rmem_max 33 37 echo "4096 87380 4194304" > /proc/sys/net/ipv4/tcp_rmem 34 38 echo "4096 65536 4194304" > /proc/sys/net/ipv4/tcp_wmem