torture: Add --no-affinity parameter to kvm.sh
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 9 Oct 2024 18:02:50 +0000 (11:02 -0700)
committerFrederic Weisbecker <frederic@kernel.org>
Tue, 12 Nov 2024 22:04:24 +0000 (23:04 +0100)
commit32693634cdf90e56bd167e5226db7ca569707437
tree6be362764d7c092c5c53e614c6ed5db1fcea7085
parentf7345ccc62a4b880cf76458db5f320725f28e400
torture: Add --no-affinity parameter to kvm.sh

In performance tests, it can be counter-productive to spread torture-test
guest OSes across sockets.  Plus the experimenter might have ideas about
what CPUs individual guest OSes are to run on.  This commit therefore
adds a --no-affinity parameter to kvm.sh to prevent it from running
taskset on its guest OSes.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run-batch.sh
tools/testing/selftests/rcutorture/bin/kvm.sh