[PATCH] Always read from /dev/urandom

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Oct 12 20:39:59 UTC 2015


On Mon, Oct 12, 2015 at 01:22:08PM -0700, Jeremy Allison wrote:
> Yeah I know, it's only measuring the userspace, not
> kernel space time. But still, 120x less userspace code
> is certainly not to be sneezed at :-).

The main test that convinced me was

time genrandperf n

which was a few times faster for me after the patch.

Just found: There's a typo in the usage printf of the
genrandperf. If you feel like it, correct it please. It's
too late here to send an updated patch now :-)

Thanks,

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