Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1386794

Re: random(4) changes

From Andi Kleen <andi@firstfloor.org>
Newsgroups linux.kernel
Subject Re: random(4) changes
Date 2016-04-25 21:40 +0200
Message-ID <rrUwr-2Mp-43@gated-at.bofh.it> (permalink)
References <rqRKj-Ux-41@gated-at.bofh.it> <rrSuD-1f0-29@gated-at.bofh.it> <rrSEi-1jR-5@gated-at.bofh.it> <rrSXD-1rj-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> > > If it is the latter, can you explain where the scalability issue comes in?
> > 
> > A single pool which is locked/written to does not scale. Larger systems
> > need multiple pools
> 
> That would imply that even when you have a system with 1000 CPUs, you want to 
> have a large amount of random numbers. Is this the use case?

That is right. Large systems do more work than small systems.
If the system is for example handling SSL connections it needs
more random numbers to handle more connections.

BTW the problems happen long before 1000 CPUs, more like 12-18 cores
competing.

Also today's large system is tomorrow's small systems. The
systems affected are actually not that large anymore.

The original numbers

Without patchkit:

1 node:  1x
2 nodes: 0.75x
3 nodes: 0.55x
4 nodes: 0.42x

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

random(4) changes Sandy Harris <sandyinchina@gmail.com> - 2016-04-23 00:30 +0200
  Re: random(4) changes Stephan Mueller <smueller@chronox.de> - 2016-04-23 10:00 +0200
  Re: random(4) changes Theodore Ts'o <tytso@mit.edu> - 2016-04-24 04:10 +0200
    Re: random(4) changes Stephan Mueller <smueller@chronox.de> - 2016-04-24 10:10 +0200
      Re: random(4) changes Theodore Ts'o <tytso@mit.edu> - 2016-04-26 05:10 +0200
        Re: random(4) changes Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-26 13:10 +0200
          Re: random(4) changes Andi Kleen <andi@firstfloor.org> - 2016-04-26 22:50 +0200
            Re: random(4) changes Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-27 06:30 +0200
        Re: random(4) changes Stephan Mueller <smueller@chronox.de> - 2016-04-26 20:30 +0200
        Re: random(4) changes Pavel Machek <pavel@ucw.cz> - 2016-04-26 20:50 +0200
          Re: random(4) changes Stephan Mueller <smueller@chronox.de> - 2016-04-26 21:00 +0200
            Re: random(4) changes Pavel Machek <pavel@ucw.cz> - 2016-04-26 21:50 +0200
  Re: random(4) changes Andi Kleen <andi@firstfloor.org> - 2016-04-25 18:10 +0200
    Re: random(4) changes Stephan Mueller <smueller@chronox.de> - 2016-04-25 19:30 +0200
      Re: random(4) changes Andi Kleen <andi@firstfloor.org> - 2016-04-25 19:40 +0200
        Re: random(4) changes Stephan Mueller <smueller@chronox.de> - 2016-04-25 20:00 +0200
          Re: random(4) changes Andi Kleen <andi@firstfloor.org> - 2016-04-25 21:40 +0200
            Re: random(4) changes Stephan Mueller <smueller@chronox.de> - 2016-04-26 14:10 +0200
            Re: random(4) changes Stephan Mueller <smueller@chronox.de> - 2016-04-27 19:50 +0200
    Re: random(4) changes Theodore Ts'o <tytso@mit.edu> - 2016-04-26 03:10 +0200
    Re: random(4) changes Sandy Harris <sandyinchina@gmail.com> - 2016-04-26 14:50 +0200

csiph-web