[dpdk-dev] [RFC PATCH] eal: rte_rand yields only 62 random bits
Matthew Hall
mhall at mhcomputing.net
Sat Mar 28 01:38:21 CET 2015
On Fri, Mar 27, 2015 at 05:03:02PM -0700, Stephen Hemminger wrote:
> I would argue remove rte_rand from DPDK.
+1
To paraphrase Donald Knuth, "Random numbers should not be generated [using a
function coded] at random."
It'd be better to fix libc, or considering that has a slow dev cycle and
platform compatibility limits, use some simple, semi-random, high-performance
BSD licensed routine from a known-good library.
Matthew.
More information about the dev
mailing list