#튜닝값
sysctl -w net.ipv4.tcp_fin_timeout=30
sysctl -w net.ipv4.tcp_keepalive_time=100
sysctl -w net.ipv4.tcp_window_scaling=0
sysctl -w net.ipv4.tcp_sack=0
sysctl -w net.ipv4.tcp_timestamps=0
sysctl -w net.ipv4.tcp_mem="97280 97792 98304"
sysctl -w net.ipv4.tcp_wmem="4096 65536 25165824"
sysctl -w net.ipv4.tcp_rmem="4096 25165824 25165824"
sysctl -w net.core.rmem_default=25165824
sysctl -w net.core.rmem_max=25165824
sysctl -w net.core.wmem_default=65536
sysctl -w net.core.wmem_max=25165824
sysctl -w net.ipv4.tcp_max_tw_buckets=1000000
hdparm -t /dev/sda1
hdparm -t /dev/sdb1
hdparm -t /dev/sdc1
hdparm -c -d /dev/sda1
hdparm -c -d /dev/sdb1
hdparm -c -d /dev/sdc1
hdparm -c -d /dev/sda5
#오리지날
sysctl -w net.ipv4.tcp_fin_timeout=60
sysctl -w net.ipv4.tcp_keepalive_time=7200
sysctl -w net.ipv4.tcp_window_scaling=1
sysctl -w net.ipv4.tcp_sack=1
sysctl -w net.ipv4.tcp_timestamps=1
sysctl -w net.ipv4.tcp_mem="49152 65536 98304"
sysctl -w net.ipv4.tcp_wmem="4096 16384 131072"
sysctl -w net.ipv4.tcp_rmem="4096 87380 174760"
sysctl -w net.core.rmem_default=110592
sysctl -w net.core.rmem_max=110592
sysctl -w net.core.wmem_default=110592
sysctl -w net.core.wmem_max=110592
sysctl -w net.ipv4.tcp_max_tw_buckets=180000
'프로그래밍 > 리눅스' 카테고리의 다른 글
리눅스[linux] - 리눅스에서_ramdisk사용하기 (0) | 2012.08.17 |
---|---|
리눅스[linux] - time_wait 값 조절 (0) | 2012.08.17 |
리눅스[linux] - ramdrive 잡는법 (0) | 2012.08.17 |
리눅스[linux] - nfs설정(그리드 스토리지) (0) | 2012.08.17 |
리눅스[linux] - Network Device 속도제한 (0) | 2012.08.17 |