This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
aix:aix_tuning_param [2023/03/17 01:02] manu |
aix:aix_tuning_param [2024/09/04 22:47] (current) manu |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== AIX tuning performance ====== | ====== AIX tuning performance ====== | ||
| + | |||
| + | ===== Network tuning ===== | ||
| + | |||
| + | https://www.ibm.com/support/pages/node/7038687 | ||
| + | |||
| + | https://www.ibm.com/support/pages/node/6410510 | ||
| + | |||
| + | For LPARs | ||
| + | <cli> | ||
| + | no -p -o tcp_sendspace=1048576 | ||
| + | no -p -o tcp_recvspace=1048576 | ||
| + | no -p -o sb_max=2097152 | ||
| + | no -p -o rfc1323=1 | ||
| + | no -p -o tcp_nodelayack=0 | ||
| + | no -p -o sack=1 | ||
| + | chdev -l enX -a mtu_bypass=on | ||
| + | no -p -o tcp_init_window=10 | ||
| + | no -p -o rfc2414=1 | ||
| + | no -p -o tcp_cubic=1 | ||
| + | </cli> | ||
| ===== VIOS tuning ===== | ===== VIOS tuning ===== | ||
| Line 177: | Line 197: | ||
| secure : yes | secure : yes | ||
| </cli> | </cli> | ||
| + | |||
| + | ===== Test script ===== | ||
| + | |||
| + | ==== for disk ==== | ||
| + | |||
| + | https://ftp.software.ibm.com/aix/tools/perftools/perfpmr/perf72/ | ||
| + | |||
| + | https://www.ibm.com/support/pages/stress-test-your-aix-or-linux-server-nstress | ||
| + | |||
| + | <code> | ||
| + | cd /usr1 | ||
| + | for f in 0 1 2 3 4 5 6 7 8 9 | ||
| + | do | ||
| + | echo "Creating file: f${f}" | ||
| + | dd if=/dev/zero of=f${f} bs=1m count=1024 >/dev/null 2>&1 | ||
| + | done | ||
| + | |||
| + | Run(){ | ||
| + | ndisk64 -f f1 -C -r 100 -R -b 1m -t 20 -M 4 |grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f1 -C -R -b 1m -t 20 -M 4|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f1 -C -S -b 1m -t 20 -M 4|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f1 -C -R -r 0 -b 1m -t 20 -M 4|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f1 -C -S -r 0 -b 1m -t 20 -M 4|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f0,f1,f2,f3,f4,f5,f6,f7,f8,f9 -C -r 100 -R -b 1m -t 20 -M 4|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f0,f1,f2,f3,f4,f5,f6,f7,f8,f9 -C -r 100 -R -b 1m -t 20 -M 10|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f0,f1,f2,f3,f4,f5,f6,f7,f8,f9 -C -r 100 -S -b 1m -t 20 -M 10|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f0,f1,f2,f3,f4,f5,f6,f7,f8,f9 -C -S -b 1m -t 20 -M 10|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f0,f1,f2,f3,f4,f5,f6,f7,f8,f9 -C -R -b 1m -t 20 -M 10|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f0,f1,f2,f3,f4,f5,f6,f7,f8,f9 -C -R -r 0 -b 1m -t 20 -M 10|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | ndisk64 -f f0,f1,f2,f3,f4,f5,f6,f7,f8,f9 -C -S -r 0 -b 1m -t 20 -M 10|grep TOTALS|awk '{print $2,$3,$5}' | ||
| + | } | ||
| + | Run | ||
| + | </code> | ||
| ===== LPM between P7 and P8 ===== | ===== LPM between P7 and P8 ===== | ||