From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751356AbbJKCxZ (ORCPT ); Sat, 10 Oct 2015 22:53:25 -0400 Received: from imap.thunk.org ([74.207.234.97]:42492 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226AbbJKCxY (ORCPT ); Sat, 10 Oct 2015 22:53:24 -0400 Date: Sat, 10 Oct 2015 22:53:15 -0400 From: "Theodore Ts'o" To: George Spelvin , andi@firstfloor.org, ahferroin7@gmail.com, jepler@unpythonic.net, linux-kernel@vger.kernel.org, linux@rasmusvillemoes.dk Subject: Re: Updated scalable urandom patchkit Message-ID: <20151011025315.GB5341@thunk.org> Mail-Followup-To: Theodore Ts'o , George Spelvin , andi@firstfloor.org, ahferroin7@gmail.com, jepler@unpythonic.net, linux-kernel@vger.kernel.org, linux@rasmusvillemoes.dk References: <20151010184546.759.qmail@ns.horizon.com> <20151011023146.GA5341@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151011023146.GA5341@thunk.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 10, 2015 at 10:31:46PM -0400, Theodore Ts'o wrote: > To that end, Andi, can you try benchmarking the scalability of the > patch below? I really hope it will be good enough, since besides > using less memory, there are security advantages in not spreading the > entropy across N pools. Andi, I forgot to menion --- if you could benchmark using both on your "run get_entropy() in a tight loop" and the actual real-life application --- since if is CPU cache behavior is going to be a large factor in the results, a real application is going to be more representative that a micro-benchmark, that would be much appreciated. Thanks! - Ted