From: Matthew Hall <mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
To: Stephen Hemminger
<stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: [RFC PATCH] eal: rte_rand yields only 62 random bits
Date: Fri, 27 Mar 2015 17:38:21 -0700 [thread overview]
Message-ID: <20150328003821.GA13992@mhcomputing.net> (raw)
In-Reply-To: <CAOaVG15T2v7Nq-sHUDeEtwjK17GJpQ5GZTOuLr_Q6jgECmAAoA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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.
next prev parent reply other threads:[~2015-03-28 0:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-17 16:18 [RFC PATCH] eal: rte_rand yields only 62 random bits Robert Sanford
[not found] ` <1426609081-47774-1-git-send-email-rsanford-JqFfY2XvxFXQT0dZR+AlfA@public.gmane.org>
2015-03-27 16:38 ` Sanford, Robert
[not found] ` <D13AEFC2.7FCE%rsanford-JqFfY2XvxFXQT0dZR+AlfA@public.gmane.org>
2015-03-28 0:02 ` Stephen Hemminger
2015-03-28 0:03 ` Stephen Hemminger
[not found] ` <CAOaVG15T2v7Nq-sHUDeEtwjK17GJpQ5GZTOuLr_Q6jgECmAAoA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-28 0:38 ` Matthew Hall [this message]
[not found] ` <20150328003821.GA13992-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2015-03-30 5:28 ` Stephen Hemminger
[not found] ` <CAOaVG17o39ksj7K_51SQTza1reUKq=paZPQiQY6ubcC48rPu9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-30 22:19 ` Robert Sanford
[not found] ` <CA+cr1co=CXxVgWByLfu7QCBMhJi3=vJKC-R=P9EH4A+ARxKaFg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-31 1:51 ` Neil Horman
[not found] ` <20150331015104.GA12702-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-04-01 2:17 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150328003821.GA13992@mhcomputing.net \
--to=mhall-hv3ognyu3jfzzajbqzqcxq@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.