]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/072: limit max cpu number to 8
authorEryu Guan <eguan@redhat.com>
Thu, 18 Feb 2016 23:40:56 +0000 (10:40 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Feb 2016 23:40:56 +0000 (10:40 +1100)
commiteea42b998da5a9ae02d67f2b9b1a111eff8677eb
tree2a3e2117b1da9b66b0c148390d225d9db8bc94cb
parent74b326f9a616bcdc33c6439cf2a457b79de4b96f
generic/072: limit max cpu number to 8

Right now generic/072 scales the loop count based on the cpu count. But
on hosts with many cpus(100+), generic/072 runs for hours and generates
very high system load.

Given that the original bug can be reproduced easily on unpatched
kernel, the great number of loops and long run time are not needed. So
limiting the cpu number to 8 (which gives around 20 seconds run time on
my test vm with 8 vcpus) seems reasonable.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/072