Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933270AbcDYRif (ORCPT ); Mon, 25 Apr 2016 13:38:35 -0400 Received: from one.firstfloor.org ([193.170.194.197]:47872 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933240AbcDYRia (ORCPT ); Mon, 25 Apr 2016 13:38:30 -0400 Date: Mon, 25 Apr 2016 10:38:25 -0700 From: Andi Kleen To: Stephan Mueller Cc: Andi Kleen , Sandy Harris , LKML , linux-crypto@vger.kernel.org, "Theodore Ts'o" , Jason Cooper , John Denker , "H. Peter Anvin" Subject: Re: random(4) changes Message-ID: <20160425173825.GB13997@two.firstfloor.org> References: <87twipn05w.fsf@tassilo.jf.intel.com> <31776489.IE3eGLxohC@positron.chronox.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31776489.IE3eGLxohC@positron.chronox.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 961 Lines: 30 On Mon, Apr 25, 2016 at 07:25:55PM +0200, Stephan Mueller wrote: > Am Montag, 25. April 2016, 09:06:03 schrieb Andi Kleen: > > Hi Andi, > > > Sandy Harris writes: > > > > There is also the third problem of horrible scalability of /dev/random > > output on larger systems, for which patches are getting ignored. > > > > https://lkml.org/lkml/2016/2/10/716 > > > > Ignoring problems does not make them go away. > > I have seen your patches, but I am not fully sure I understand the root cause. > is the noise source handling the issue or the random number generation the > issue? Noise source handling is fine, the problem is the global locking on the entropy pools when generating random numbers. > If it is the latter, can you explain where the scalability issue comes in? A single pool which is locked/written to does not scale. Larger systems need multiple pools -Andi -- ak@linux.intel.com -- Speaking for myself only.