Changes between Version 3 and Version 4 of jazz/Performance_Tuning


Ignore:
Timestamp:
May 11, 2010, 12:31:52 PM (15 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/Performance_Tuning

    v3 v4  
    33== System Performance Tuning : Memory ==
    44
    5  *
     5 * Share Memory
     6{{{
     7echo "kernel.shmall = 796917578" >> /etc/sysctl.conf
     8echo "kernel.shmmax = 796917578" >> /etc/sysctl.conf
     9echo "kernel.shmmni = 4096"      >> /etc/sysctl.conf
     10}}}
    611
    7 == File System Performance Tuning ==
     12== System Performance Tuning : File System ==
    813
    914 * /etc/security/limits.conf - 每個程序(process)可以開啟檔案的個數(number limits of open files per process)
     
    2126}}}
    2227
    23 
    2428== I/O Performance Tuning ==
    2529
     
    2832 * TCP Tuning
    2933{{{
    30 echo 262144 > /proc/sys/net/core/rmem_default
    31 echo 8388608 > /proc/sys/net/core/wmem_max 131071
    32 echo 8388608 > /proc/sys/net/core/rmem_max
     34echo 262144               > /proc/sys/net/core/rmem_default
     35echo 8388608              > /proc/sys/net/core/wmem_max
     36echo 8388608              > /proc/sys/net/core/rmem_max
    3337echo "4096 87380 4194304" > /proc/sys/net/ipv4/tcp_rmem
    3438echo "4096 65536 4194304" > /proc/sys/net/ipv4/tcp_wmem