Changes between Version 7 and Version 8 of jazz/Performance_Tuning


Ignore:
Timestamp:
May 11, 2010, 12:45:45 PM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/Performance_Tuning

    v7 v8  
    55== System Performance Tuning : Memory ==
    66
    7  * Share Memory
     7 * Share Memory - 有些程式需要用到比較多 Share Memory (共享記憶體), 如: Kerrighed ([wiki:krg_tuning 2008-03-20 (rock/rider)])
    88{{{
    99echo "kernel.shmall = 796917578" >> /etc/sysctl.conf
     
    1414== System Performance Tuning : File System ==
    1515
    16  * /etc/security/limits.conf - 每個程序(process)可以開啟檔案的個數(number limits of open files per process)
     16 * /etc/security/limits.conf - 每個程序(process)可以開啟檔案的個數(number limits of open files per process) - 像 HDFS 的 !DataNode 就需要調整這種參數([wiki:jazz/10-02-22#Hadoop:HDFS 2010-02-22])
    1717{{{
    1818#!diff
     
    3030== I/O Performance Tuning : NFS ==
    3131
    32  * NFS Tuning - /etc/fstab
     32 * NFS Tuning - /etc/fstab - 加大 NFS read/write size 可以提升檔案系統的 I/O 效率 ([wiki:krg_tuning 2008-03-20 (rock/rider)])
    3333{{{
    3434192.168.0.111:/home /home nfs rw,bg,soft,intr,rsize=262144,wsize=262144 0 4
     
    3939== Network Performance Tuning ==
    4040
    41  * TCP Tuning
     41 * TCP Tuning - ([wiki:krg_tuning 2008-03-20 (LSI)])
    4242{{{
    4343echo 262144               > /proc/sys/net/core/rmem_default