Subject: Re: rnd device
To: Steve Woodford <scw@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 07/28/2000 07:57:39
On Fri, Jul 28, 2000 at 08:15:42AM +0100, Steve Woodford wrote:
> How much bloat does the rnd(4) device add to the kernel? What sort of
> performance hit does it cause?
dr-evil:thorpej 5$ size rnd*.o
text data bss dec hex filename
3348 80 0 3428 d64 rnd.o
1184 0 0 1184 4a0 rndpool.o
dr-evil:thorpej 6$
That's i386.
Re. performance hit -- Data is queued to be entered into the entropy
pool in interrupt routines, but the expensive operating of stirring
the entropy into the pool is deferred until later to minimize the
impact on system performance.
--
-- Jason R. Thorpe <thorpej@zembu.com>