|
|
Log in / Subscribe / Register

Random numbers from CPU execution time jitter

Random numbers from CPU execution time jitter

Posted Apr 30, 2015 20:39 UTC (Thu) by flussence (guest, #85566)
Parent article: Random numbers from CPU execution time jitter

This sounds conceptually identical to HAVEGE[1], though I suppose there's some good reason for not using that algorithm here.

Looking forward to having it by default; my router box has started taking its sweet time to restore connectivity between reboots, because newer hostapd versions seem to be stricter about the state of the /dev/random pool.

[1]: http://www.issihosts.com/haveged/


to post comments

Random numbers from CPU execution time jitter

Posted May 2, 2015 7:29 UTC (Sat) by vstinner (subscriber, #42675) [Link]

I already saw HAVEGE used in cloud virtual machines, because /proc/sys/kernel/random/entropy_avail was too low. Virtual machines get no keyboard stroke nor hardware interrupts. The problem is not the quality the of entropy, but the quantity of entropy. Without HAVEGE, SSH quickly hangs at the connection after a few tries...

A better fix is to configure virtio-rng for the virtual machine.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds