4 ms·
For the full story, I was trying to reduce the boot time on my Linux system. One of the things that takes the most time is systemd-random-seed. From what I unde
by Zababa 4y ago
For the full story, I was trying to reduce the boot time on my Linux system. One of the things that takes the most time is systemd-random-seed. From what I understand, it takes this long because my computer is not generating entropy fast enough, so it has to wait for a while.
The solution to fix this is to find a way to generate more entropy. The system doc on random seeds has lots of information about what you can use: https://systemd.io/RANDOM_SEEDS/ https://systemd.io/RANDOM_SEEDS/.
One of the options is RDRAND, which my CPU can do. But after reading a bit about it, it seems that some people are supicious of RDRAND. I have no idea if I should too, and since it was disabled by default on my distribution, I decided to keep it of for now, as I don't really understand this subject.
At this point I wondered if any hardware RNG existed, and found the OneRNG, that seems like a cool project, so I posted it here.
This is not a recommandation to use OneRNG instead of RDRAND, I don't know enough about this domain to suggest one or another.