TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Random number generator updates for Linux 5.17

103 pointsby zx2c4over 3 years ago

6 comments

tptacekover 3 years ago
Also discussed here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29742977" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29742977</a>
zx2c4over 3 years ago
Commits of note in this pull:<p>- <a href="https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;crng&#x2F;random.git&#x2F;commit&#x2F;?id=9f9eff85a008b095eafc5f4ecbaf5aca689271c1" rel="nofollow">https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;crng&#x2F;random....</a><p>- <a href="https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;crng&#x2F;random.git&#x2F;commit&#x2F;?id=2ee25b6968b1b3c66ffa408de23d023c1bce81cf" rel="nofollow">https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;crng&#x2F;random....</a><p>- <a href="https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;crng&#x2F;random.git&#x2F;commit&#x2F;?id=f7e67b8e803185d0aabe7f29d25a35c8be724a78" rel="nofollow">https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;crng&#x2F;random....</a>
评论 #29841383 未加载
throw0101aover 3 years ago
For comparison:<p><pre><code> A random device appeared in FreeBSD 2.2. The implementation was changed to the Yarrow algorithm in FreeBSD 5.0. In FreeBSD 11.0, the Fortuna al- gorithm was introduced as the default. In FreeBSD 12.0, Yarrow was re- moved entirely. </code></pre> * <a href="https:&#x2F;&#x2F;www.freebsd.org&#x2F;cgi&#x2F;man.cgi?query=random&amp;sektion=4" rel="nofollow">https:&#x2F;&#x2F;www.freebsd.org&#x2F;cgi&#x2F;man.cgi?query=random&amp;sektion=4</a><p>* <a href="https:&#x2F;&#x2F;www.schneier.com&#x2F;academic&#x2F;fortuna&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.schneier.com&#x2F;academic&#x2F;fortuna&#x2F;</a><p>Also a video presentation &quot;A Deep Dive into FreeBSD&#x27;s Kernel RNG&quot; from vBSD 2017:<p>* <a href="https:&#x2F;&#x2F;papers.freebsd.org&#x2F;2017&#x2F;vbsdcon&#x2F;gurney-a_deep_dive_into_freebsds_kernel_rng&#x2F;" rel="nofollow">https:&#x2F;&#x2F;papers.freebsd.org&#x2F;2017&#x2F;vbsdcon&#x2F;gurney-a_deep_dive_i...</a>
评论 #29841886 未加载
评论 #29841752 未加载
stefanpieover 3 years ago
As a novice Linux (Ubuntu) user, I am curious as to how these new changes for rand will speed up a Linux distro overall or if there is even a way to measure this. It seems that, in addition to an overdue replacement SHA-1, the new code is a significant increase in performance. I would think that there are a lot of places where random used in the OS and this update would translate into performance improves in those other places. I&#x27;m not an expert and would love to head any thoughts on this.
评论 #29841678 未加载
CiPHPerCoderover 3 years ago
I am stoked for updating all my systems to use Linux 5.17 now.
1over137over 3 years ago
Headline seems overly generic: 5.17 of what?
评论 #29841156 未加载