1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Random Is Faster, More Randomness In Linux 3.13

Linux Kernel

Published on 17 November 2013 12:25 AM EST
Written by Michael Larabel in Linux Kernel
15 Comments

The /dev/random changes went in for the Linux 3.13 kernel and this pull request was even interesting for the very promising next kernel release. While not in Linux 3.13, it's mentioned the Linux kernel might also end up taking a security feature from the FreeBSD playbook.

The /dev/random changes sent in by Ted Ts'o for the Linux 3.13 merge window include performance improvements, changes to avoid wasting entropy, improved tracking of entropy estimates, and improved non-x86 platform support. The non-x86 improvement is for other systems that have a register not useful enough for fine-grained timekeeping but sufficient for use by the random driver.

Kernel messages are also now printed when code is trying to use /dev/urandom before it's fully setup at boot time since it could represent a security issue relying upon random without being really random where it would be predictable for use on possible attacks, but it doesn't appear to be an issue for modern x86 systems.

This early use of the random driver at boot time might be an issue right now for ARM and MIPS embedded/mobile systems according to Ted Ts'o. A future change being evaluated is to follow the FreeBSD kernel security approach of blocking processes that are trying to read from /dev/urandom until it's ready.

More details on the random changes for Linux 3.13 can be found from this Git merge message.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  2. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  3. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  4. The Lenovo T450s Is Working Beautifully With Linux
  5. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  6. Linux 4.0 Hard Drive Comparison With Six File-Systems
Latest Linux News
  1. Linux 4.1-rc1 Kernel Released, Packs In Several New Features
  2. It Doesn't Look Like KDBUS Will Make It For Linux 4.1
  3. Debian 9.0 Is Codenamed Stretch
  4. AMD Radeon GPUs With Linux 4.0 + Mesa 10.6-devel
  5. The Many Features Of The Linux 4.1 Kernel
  6. HTTPS For Phoronix.com
  7. Gallium3D's HUD Gets New Customization Options
  8. Intel Xeon E5-2620 v3 Haswell Performance
  9. Dell Keyboard Backlight Support In Linux 4.1
  10. With Linux 4.1 You Can Play With The Chrome OS Lightbar
Most Viewed News This Week
  1. AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support
  2. Ubuntu's Desktop-Next Switching From .DEBs To Snappy
  3. Systemd Kills Off Shutdownd
  4. My Favorite Computer Desk Of The Past Decade For Less Than $100
  5. AMD Open-Sources "Addrlib" From Catalyst
  6. Debian 8.0 Jessie Is Ready For Release This Weekend
  7. GIMP's Porting To GTK3 Continues
  8. Qt Creator 3.4 Brings C++ Programming Improvements & More