close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
May 11, 2010, 12:45:45 PM (16 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v7
|
v8
|
|
| 5 | 5 | == System Performance Tuning : Memory == |
| 6 | 6 | |
| 7 | | * Share Memory |
| | 7 | * Share Memory - 有些程式需要用到比較多 Share Memory (共享記憶體), 如: Kerrighed ([wiki:krg_tuning 2008-03-20 (rock/rider)]) |
| 8 | 8 | {{{ |
| 9 | 9 | echo "kernel.shmall = 796917578" >> /etc/sysctl.conf |
| … |
… |
|
| 14 | 14 | == System Performance Tuning : File System == |
| 15 | 15 | |
| 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]) |
| 17 | 17 | {{{ |
| 18 | 18 | #!diff |
| … |
… |
|
| 30 | 30 | == I/O Performance Tuning : NFS == |
| 31 | 31 | |
| 32 | | * NFS Tuning - /etc/fstab |
| | 32 | * NFS Tuning - /etc/fstab - 加大 NFS read/write size 可以提升檔案系統的 I/O 效率 ([wiki:krg_tuning 2008-03-20 (rock/rider)]) |
| 33 | 33 | {{{ |
| 34 | 34 | 192.168.0.111:/home /home nfs rw,bg,soft,intr,rsize=262144,wsize=262144 0 4 |
| … |
… |
|
| 39 | 39 | == Network Performance Tuning == |
| 40 | 40 | |
| 41 | | * TCP Tuning |
| | 41 | * TCP Tuning - ([wiki:krg_tuning 2008-03-20 (LSI)]) |
| 42 | 42 | {{{ |
| 43 | 43 | echo 262144 > /proc/sys/net/core/rmem_default |