Performance Tuning

A Quick Example
Internet search for “linux tcp_window_scaling performance
will show some sites say to set it to 0 others say set it to
1
[root@perf12 np2.4]# sysctl -w net.ipv4.tcp_window_scaling=0
[root@perf12 np2.4]# ./netperf -P1 -l 30 -H 192.168.10.100
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
87380 16384 16384 30.00 2106.40
[root@perf12 np2.4]# sysctl -w net.ipv4.tcp_window_scaling=1
[root@perf12 np2.4]# ./netperf -P1 -l 30 -H 192.168.10.100
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
87380 16384 16384 30.01 5054.68