svn commit: r238118 - head/lib/libc/gen

Colin Percival cperciva at freebsd.org
Wed Jul 4 20:58:53 UTC 2012


On 07/04/12 13:45, Attilio Rao wrote:
> I recall that at some point /dev/random was introducing some
> scalability penalty on php [...]

... thus reinforcing the stereotype that PHP Does Stuff Wrong.

Userland processes should get entropy from the kernel *once* at launch
time and place it into an entropy pool which is *occasionally* reseeded
later.  If even a very slow /dev/random becomes a scalability problem,
an application is doing something very very wrong.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid


More information about the svn-src-all mailing list