Lines Matching refs:CPUS
17 readonly CPUS=`nproc`
145 for i in `seq 1 $CPUS`; do
150 for i in `seq 1 $((CPUS - 1))`; do
151 cur_cpu=$((CPUS - $i))
225 [ $CPUS -lt 2 ] && echo "Only one CPU available, some tests will be skipped"
226 [ $STRESS -gt 0 -a $CPUS -lt 3 ] && echo " stress test will be skipped, too"
268 if [ $CPUS -gt 1 ]; then
274 if [ $CPUS -gt 2 ]; then
284 ip netns exec $NS_DST ethtool -L veth$DST tx $((CPUS + 1)) 2>/dev/null
287 if [ $CPUS -gt 1 ]; then
308 if [ $CPUS -gt 2 ]; then
336 if [ $CPUS -gt 1 ]; then
345 if [ $CPUS -gt 1 ]; then
346 [ $STRESS -gt 0 -a $CPUS -gt 2 ] && do_stress