[PATCH] Always read from /dev/urandom

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Oct 12 20:18:42 UTC 2015


On Mon, Oct 12, 2015 at 01:06:59PM -0700, Jeremy Allison wrote:
> I just did the cachegrind tests. Wow. On bin/genrandperf 1000000
> there's a factor of *120* difference in instructions executed.

Well, that factor is not the whole story. The kernel has to do
*something*. But I could imagine that the kernel rng has seen more tuning
than ours. The other factor really is the complexity on our side.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list