From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753579AbbIXUAm (ORCPT ); Thu, 24 Sep 2015 16:00:42 -0400 Received: from zaphod.unpythonic.net ([76.79.27.186]:22320 "EHLO zaphod.unpythonic.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752859AbbIXUAl (ORCPT ); Thu, 24 Sep 2015 16:00:41 -0400 Date: Thu, 24 Sep 2015 15:00:32 -0500 From: Jeff Epler To: Austin S Hemmelgarn Cc: "Theodore Ts'o" , Andi Kleen , linux-kernel@vger.kernel.org, kirill.shutemov@linux.intel.com, herbert@gondor.apana.org.au, Andi Kleen Subject: Re: [PATCH 1/3] Make /dev/urandom scalable Message-ID: <20150924200032.GB2835@unpythonic.net> References: <1442963767-14945-1-git-send-email-andi@firstfloor.org> <5603004A.20801@gmail.com> <20150923232841.GK1747@two.firstfloor.org> <5603E083.8020004@gmail.com> <20150924131235.GB6841@thunk.org> <56041E2C.2030602@gmail.com> <20150924165204.GA2835@unpythonic.net> <56044ADB.5050102@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56044ADB.5050102@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 24, 2015 at 03:11:23PM -0400, Austin S Hemmelgarn wrote: > I will make a point however to run some tests over the weekend on a > current kernel version (4.2.1), with the current dieharder version I > have available (3.31.1). Please report your findings. If urandom is worse than AES_OFB in statistical tests, we need to know about it. I'm an hour into some test-to-failure runs of diehard_count_1s_str on various RNGs -- urandom, AES_OFB, mt19937_1999, and rand48. So far at psamples >=29000 none have failed, so there's no result to report. (test 8 was chosen by mere human pseudorandomness; hey, it finds in <2s that RANDU is a flawed generator) dieharder -d 8 -g 205 -Y 2 -k 2 dieharder -d 8 -g 200 -Y 2 -k 2 dieharder -d 8 -g 14 -Y 2 -k 2 dieharder -d 8 -g 22 -Y 2 -k 2 If the results are other than "both urandom and aes_ofb were running when I had to reboot my laptop", I'll report my results as well. Jeff