Re:Linux RNG RFC Patch: implement getrandom() in vDSO
by kzrdude on Friday July 29, 2022 @05:55PM
(#32282225)
Don't you always want a reproducible random sequence for such simulations? I.e you use getrandom for the initial seed only, record it, and do the rest of your RNG state in userspace code?
Re:Linux RNG RFC Patch: implement getrandom() in vDSO
by AlotOfReading on Saturday July 30, 2022 @05:45AM
(#32285505)
It's a nice property, but a lot of people skip it because of the tradeoffs. I'm also sure there are lots of use cases I'm not aware of where you don't want reproducibility.
As the post says, it's worth entertaining the idea of having the kernel provide a blessed way for userspace to do that, though I admit I've never personally seen a scenario where RNG was truly the bottleneck. But it'd still be nice to kill all the custom RNGs out there.