lkml.org 
[lkml]   [2015]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] Make /dev/urandom scalable
From
Date
On 2015-09-23 19:28, Andi Kleen wrote:
>> I'd almost say that making the partitioning level configurable at
>> build time might be useful. I can see possible value to being able
>> to at least partition down to physical cores (so, shared between
>> HyperThreads on Intel processors, and between Compute Module cores
>> on AMD processors), as that could potentially help people running
>> large numbers of simulations in parallel.
>
> I don't like build time size configurations. It doesn't make sense
> for simulations to use urandom. It may make sense to have
> some run time tunable, but for now that's too much complexity.
> So I'll stay with the simpler per node pool for now.
Using /dev/urandom directly, yes that doesn't make sense because it
consistent returns non-uniformly random numbers when used to generate
larger amounts of entropy than the blocking pool can source, but most
that use their own PRNG's seed them off of /dev/urandom, and there are
cases I've seen of people doing very large numbers (on the order of
millions) of short (15 or so minutes run time on decent hardware)
simulations that do this.

As for a run-time tunable, I agree that that would be better than
build-time, and I also agree that it should be done later. The only
reason I suggested a build time tunable was that I figured it would be a
lot easier to do than run-time.


[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2015-09-24 14:01    [W:0.061 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site