New /dev/random Implementation Hits 35th Revision

Written by Michael Larabel in Linux Kernel on 18 September 2020 at 06:39 AM EDT. 16 Comments
LINUX KERNEL
Going on for more than four years now has been creating a new /dev/random implementation and this Friday marks the 35th revision to this big set of patches that aim for better performance and security.

The code has been through many changes over the years for this new "Linux Random Number Generator" (LRNG).

This new /dev/random works even if the kernel API crypto is not compiled, hash operations are NUMA-node-local for better handling with large parallel systems, other types of DRNGs are supported, it's faster by up to 75% in a critical code path, and other performance advantages including faster entropy collection during boot including for SSD-backed systems and virtual machines.

Stephan Müller continues leading development of this new /dev/random implementation with the v35 patches having various code improvements and fixes. But as for if/when this new random number generator will be merged to the mainline Linux kernel remains to be seen. Those interested in more technical aspects of this work can see the mailing list series.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week