diff options
author | 2016-05-02 02:04:41 -0400 | |
---|---|---|
committer | 2016-07-03 00:57:58 -0400 | |
commit | 1e7f583af67be4ff091d0aeb863c649efd7a9112 (patch) | |
tree | 2ffd7732681f0cd243ba0e2cb934cc37f59bd2ca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | random: replace non-blocking pool with a Chacha20-based CRNG (diff) | |
download | linux-dev-1e7f583af67be4ff091d0aeb863c649efd7a9112.tar.xz linux-dev-1e7f583af67be4ff091d0aeb863c649efd7a9112.zip |
random: make /dev/urandom scalable for silly userspace programs
On a system with a 4 socket (NUMA) system where a large number of
application threads were all trying to read from /dev/urandom, this
can result in the system spending 80% of its time contending on the
global urandom spinlock. The application should have used its own
PRNG, but let's try to help it from running, lemming-like, straight
over the locking cliff.
Reported-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions