linux_dsm_epyc7002/tools/testing/selftests/rcutorture/bin
Paul E. McKenney b22eb7cefb torture: Hoist calls to lscpu to higher-level kvm.sh script
On some kernels, concurrent calls to the lscpu command result in severe
slowdowns.  For example, on v4.16, a single lscpu invocation takes about
two milliseconds, four concurrent invocations more than two seconds,
and 16 concurrent invocations more than 20 seconds.  Given that the only
goal is to learn the number of CPUs, invoking lscpu but once suffices.
This commit therefore invokes lscpu early in kvm.sh execution, setting
the initial value of the TORTURE_ALLOTED_CPUS environment variable.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2019-12-09 13:00:30 -08:00
..
config_override.sh tools/.../rcutorture: Convert to SPDX license identifier 2019-03-26 14:42:53 -07:00
configcheck.sh torture: Suppress false-positive CONFIG_INITRAMFS_SOURCE complaint 2019-03-26 14:42:53 -07:00
configinit.sh torture: Add --trust-make to suppress "make clean" 2019-05-28 09:06:09 -07:00
configNR_CPUS.sh tools/.../rcutorture: Convert to SPDX license identifier 2019-03-26 14:42:53 -07:00
cpus2use.sh torture: Handle systems lacking the mpstat command 2019-12-09 13:00:27 -08:00
functions.sh rcutorture: Tweak kvm options 2019-05-28 09:06:09 -07:00
jitter.sh torture: Handle jitter for CPUs that cannot be offlined 2019-12-09 13:00:26 -08:00
kvm-build.sh torture: Run kernel build in source directory 2019-05-28 09:06:09 -07:00
kvm-find-errors.sh torture: Make kvm-find-errors.sh and kvm-recheck.sh provide exit status 2019-05-28 09:06:09 -07:00
kvm-recheck-lock.sh tools/.../rcutorture: Convert to SPDX license identifier 2019-03-26 14:42:53 -07:00
kvm-recheck-rcu.sh rcutorture: Add worst-case call_rcu() forward-progress results 2019-12-09 13:00:27 -08:00
kvm-recheck-rcuperf-ftrace.sh tools/.../rcutorture: Convert to SPDX license identifier 2019-03-26 14:42:53 -07:00
kvm-recheck-rcuperf.sh tools/.../rcutorture: Convert to SPDX license identifier 2019-03-26 14:42:53 -07:00
kvm-recheck.sh torture: Capture qemu output 2019-05-28 09:06:09 -07:00
kvm-test-1-run.sh torture: Hoist calls to lscpu to higher-level kvm.sh script 2019-12-09 13:00:30 -08:00
kvm.sh torture: Hoist calls to lscpu to higher-level kvm.sh script 2019-12-09 13:00:30 -08:00
mkinitrd.sh rcutorture: Dispense with Dracut for initrd creation 2019-12-09 13:00:26 -08:00
parse-build.sh torture: Add --trust-make to suppress "make clean" 2019-05-28 09:06:09 -07:00
parse-console.sh torture: Suppress propagating trace_printk() warning 2019-05-28 09:06:09 -07:00