scftorture: Increase memory provided to guest OS
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Jan 2024 12:15:42 +0000 (04:15 -0800)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Thu, 4 Apr 2024 14:22:10 +0000 (16:22 +0200)
commitfe09d2e314e5501e4673018270e6e1ed92e6e446
tree612e341bb69f4f2d340664c5a583bb8ee47c76d9
parent39cd87c4eb2b893354f3b850f916353f2658ae6f
scftorture: Increase memory provided to guest OS

The tradition, extending back almost a full year, has been 2GB plus an
additional number of GBs equal to the number of CPUs divided by sixteen.
This tradition has served scftorture well, even the CONFIG_PREEMPT=y
version running KASAN within guest OSes having 40 CPUs.  However, this
test recently started OOMing on larger systems, and this commit therefore
gives this test an additional GB of memory.

It is quite possible that further testing on larger systems will show
a need to decrease the divisor from 16 to (say) 8, but that is a change
to make once it has been demonstrated to be required.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
tools/testing/selftests/rcutorture/bin/torture.sh