From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) by dpdk.org (Postfix) with ESMTP id F0B525A73 for ; Mon, 30 Mar 2015 07:28:57 +0200 (CEST) Received: by ignm3 with SMTP id m3so65940885ign.0 for ; Sun, 29 Mar 2015 22:28:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Yi3LODPr5AYxaBMHB3tax0iQvbAjbPQLMODPreU7yPs=; b=Ae0GR8PXzuGTBIbl1zyHemNQj89mu3qfcNWsNSK/gn8zjFHspo2fEALJS2r1K+qq9Y 7sG4L5twD7VThF634LRDbAk8kICA7Jk7sPN4v3bz0zEnB4b20Fl0aKmEQXdtxA7wX/Fz 2yjm8+uSsbW4FBKtxglp5ExyE5PXVxz6Gpc+NQk8r2wZ9p00lf17joNj0O1fJxFYPIzg BYgEMSR6uaj3TKutM7dWIB9L6z3UKKwHOMMnRPgVxx1y5ebSSejfJLUJVaVEHQSulKWE e6oOKa9fWpbrbejTSFEJBJK0cggs2k2kf0IjfyhTZAg2m//fJua8olM4dbsA15JPp0SO BbKA== X-Gm-Message-State: ALoCoQmNmtb2B/GayJDEAnICJPJiU0T9CgeKN9BkLbMpxuTHIIHrcHGwQxfDXpDZVLwWZ602nh+G MIME-Version: 1.0 X-Received: by 10.107.26.195 with SMTP id a186mr45764660ioa.78.1427693337252; Sun, 29 Mar 2015 22:28:57 -0700 (PDT) Received: by 10.64.58.129 with HTTP; Sun, 29 Mar 2015 22:28:57 -0700 (PDT) In-Reply-To: <20150328003821.GA13992@mhcomputing.net> References: <1426609081-47774-1-git-send-email-rsanford@akamai.com> <20150328003821.GA13992@mhcomputing.net> Date: Sun, 29 Mar 2015 22:28:57 -0700 Message-ID: From: Stephen Hemminger To: Matthew Hall Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [RFC PATCH] eal: rte_rand yields only 62 random bits X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 05:28:58 -0000 if some one needs PRNG, th GNU scientific library has lots of them https://www.gnu.org/software/gsl/manual/html_node/Random-number-generator-algorithms.html On Fri, Mar 27, 2015 at 5:38 PM, Matthew Hall wrote: > 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. >