Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2012 13:58:31 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        Attilio Rao <attilio@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r238118 - head/lib/libc/gen
Message-ID:  <4FF4AE77.6020809@freebsd.org>
In-Reply-To: <CAJ-FndAGgkgi5W3LqgMkeK9AquQ=1RhhYcj4jnLmuRg2EwVuqA@mail.gmail.com>
References:  <201207041951.q64JpPXu029310@svn.freebsd.org> <20120704200220.GM2337@deviant.kiev.zoral.com.ua> <20120704203239.GA42326@vniz.net> <8344944B-1CEE-4CAD-96FB-EC5A743F6909@FreeBSD.org> <CAJ-FndAGgkgi5W3LqgMkeK9AquQ=1RhhYcj4jnLmuRg2EwVuqA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FF4AE77.6020809>