linux_kernel_parameter

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
linux_kernel_parameter [2015/01/27 02:31] koovlinux_kernel_parameter [2020/12/13 12:06] (현재) koov
줄 1: 줄 1:
-*** 수정중 ***+====== Linux Kernel Parameter ====== 
 + 
 + 
 +<WRAP prewrap>
 <code vim> <code vim>
 # 커널이 할당할 수 있는 파일 핸들 최대값 조정 (max 65535)  # 커널이 할당할 수 있는 파일 핸들 최대값 조정 (max 65535) 
줄 138: 줄 141:
 kernel.msgmni = 1024 kernel.msgmni = 1024
 </code> </code>
 +</WRAP>
 +
 +  * 시스템 튜닝 (서버, 클라이언트)
 +<WRAP prewrap>
 +<code vim>
 +# vi /etc/sysctl.conf
 +
 +net.ipv4.tcp_sack = 0
 +net.ipv4.tcp_rmem = 4096 87380 16194304
 +net.ipv4.tcp_wmem = 4096 87380 16194304
 +
 +net.core.rmem_max = 16194304
 +net.core.wmem_max = 16194304
 +net.core.rmem_default = 87380
 +net.core.wmem_default = 87380
 +
 +net.core.optmem_max = 87380
 +net.core.netdev_max_backlog = 300000
 +net.ipv4.tcp_adv_win_scale = 1
 +</code>
 +</WRAP>
 +
 +
 +  * offload 기능 비활성화 (서버, 클라이언트)
 +<WRAP prewrap>
 +<code bash>
 +# ethtool -K eth0 gso off
 +# ethtool -K eth2 gso off
 +# ethtool -K eth0 lro off
 +# ethtool -K eth2 lro off
 +</code>
 +</WRAP>
 +
  • linux_kernel_parameter.1422325914.txt.gz
  • 마지막으로 수정됨: 2015/06/18 15:49
  • (바깥 편집)