From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id 790A25A26 for ; Sat, 28 Mar 2015 01:39:29 +0100 (CET) Received: by mail.mhcomputing.net (Postfix, from userid 1000) id 3E25180BD84; Fri, 27 Mar 2015 17:38:21 -0700 (PDT) Date: Fri, 27 Mar 2015 17:38:21 -0700 From: Matthew Hall To: Stephen Hemminger Message-ID: <20150328003821.GA13992@mhcomputing.net> References: <1426609081-47774-1-git-send-email-rsanford@akamai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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: Sat, 28 Mar 2015 00:39:29 -0000 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.