From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by dpdk.org (Postfix) with ESMTP id 54C975A8E for ; Tue, 31 Mar 2015 00:19:29 +0200 (CEST) Received: by lbcmq2 with SMTP id mq2so105206363lbc.0 for ; Mon, 30 Mar 2015 15:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hIqSMTZI3FQMr5ODpvMy0ZtVEfBh0A3z/4jljScZhJg=; b=kxWM6NuQlppFCTd2WE4y7mb17J1iFipviyRMggWGb+7Hhl5Clu6xTWPSlM97xtIHVU bVR4YH9E6u4I8UA6s0QK4InxCcslO1tZVg0Td9/9hcJxQPLIgE2We32dgRjHH2WC3ibW WvC3HlrhsFQsR9uP0YPgLSdov9ZGADBWdNsn1XilXihncT1rvqKIHZLTPRiJKO5CaKf2 jN/NlurMAM25I2nMr5psK1FngEYASMIezy1sRO7BBbSH0VzFVXTCyfNs4EKWQU0iLfT2 +1rPLxjZQu6DsZcx6WTT5xqX0ltFS9umbLz1PWv1Ru3x5UMu8FSv32OkFFFML2I/QSsp s3Vg== MIME-Version: 1.0 X-Received: by 10.152.29.68 with SMTP id i4mr28577347lah.19.1427753969028; Mon, 30 Mar 2015 15:19:29 -0700 (PDT) Received: by 10.114.174.106 with HTTP; Mon, 30 Mar 2015 15:19:28 -0700 (PDT) In-Reply-To: References: <1426609081-47774-1-git-send-email-rsanford@akamai.com> <20150328003821.GA13992@mhcomputing.net> Date: Mon, 30 Mar 2015 18:19:28 -0400 Message-ID: From: Robert Sanford To: Stephen Hemminger 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 22:19:29 -0000 Yes, applications have many choices for PRNGs. But, we still need one internally for the following libs: PMDs (e1000, fm10k, i40e, ixgbe, virtio, xenvirt), sched, and timer. On Fri, Mar 27, 2015 at 8:03 PM, Stephen Hemminger < stephen@networkplumber.org> wrote: > I would argue remove rte_rand from DPDK. On Mon, Mar 30, 2015 at 1:28 AM, Stephen Hemminger < stephen@networkplumber.org> wrote: > 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. > > >