summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2019-11-26 01:33:28 +0300
committerPaul E. McKenney <paulmck@kernel.org>2019-12-10 00:00:30 +0300
commitb22eb7cefb9d31cf862542f9cef90f97c0294842 (patch)
treeed9b4e7fa0edab8807029f98ed04bb6f080d5bd9 /Documentation
parent25b4da74a955bf956428ab29e54aadf4fffab0a3 (diff)
downloadlinux-b22eb7cefb9d31cf862542f9cef90f97c0294842.tar.xz
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions