Lines Matching refs:CPUS
17 readonly CPUS=`nproc`
143 for i in `seq 1 $CPUS`; do
148 for i in `seq 1 $((CPUS - 1))`; do
149 cur_cpu=$((CPUS - $i))
223 [ $CPUS -lt 2 ] && echo "Only one CPU available, some tests will be skipped"
224 [ $STRESS -gt 0 -a $CPUS -lt 3 ] && echo " stress test will be skipped, too"
295 if [ $CPUS -gt 1 ]; then
301 if [ $CPUS -gt 2 ]; then
311 ip netns exec $NS_DST ethtool -L veth$DST tx $((CPUS + 1)) 2>/dev/null
314 if [ $CPUS -gt 1 ]; then
335 if [ $CPUS -gt 2 ]; then
366 if [ $CPUS -gt 1 ]; then
375 if [ $CPUS -gt 1 ]; then
376 [ $STRESS -gt 0 -a $CPUS -gt 2 ] && do_stress