torture: Provide more sensible nreader/nwriter defaults for rcuperf
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 2 Feb 2018 03:19:04 +0000 (19:19 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 21 Feb 2018 00:22:01 +0000 (16:22 -0800)
commit85ba6bfe8bb2a4d907f7380a8f37b31616ad694e
tree4e9f5c5a1e822c2de8ea50eb8f4c4668b6a6d25a
parent0da8c08d71133ba0dd9f5b24ae0b6519e00275d6
torture: Provide more sensible nreader/nwriter defaults for rcuperf

The default values for nreader and nwriter are apparently not all that
user-friendly, resulting in people doing scalability tests that ran all
runs at large scale.  This commit therefore makes both the nreaders and
nwriters module default to the number of CPUs, and adds a comment to
rcuperf.c stating that the number of CPUs should be specified using the
nr_cpus kernel boot parameter.  This commit also eliminates the redundant
rcuperf scripting specification of default values for these parameters.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcuperf.c
tools/testing/selftests/rcutorture/configs/rcuperf/ver_functions.sh