System Story/CentOS 5,6
네트워크 인터페이스 txqueuelen 설정
helperchoi
2013. 11. 10. 20:45
1. ifconfig 명령으로 변경가능한 txqueuelen 값은 리부팅시 초기화됨. 따라서 아래와 같이 rc.local 등에 추가하는 방법으로 적용가능
ifconfig | grep eth | awk '{print $1}' | xargs -i{} ifconfig {} txqueuelen 10000 grep "txqueuelen 10000" /etc/rc.d/rc.local || echo -e "ifconfig | grep eth | awk '{print \$1}' | xargs -i{} ifconfig {} txqueuelen 10000" >> /etc/rc.d/rc.local |
2. 또는 아래와 같이 ip 명령을 통해 변경도 가능.
[root@s-node01 perl]# |
반응형