Re: /dev/one - why not /dev/repeat?

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Thu, 24 Dec 1998 13:06:26 -0400


[...]

> That's legitimate, if you have an application that really would be
> substantially faster with a /dev/random. What is this app, and can
> you show benchmarks?

That's right! Show benchmarks, and we'll beat the blue sky out of them by
careful use of an inlined RNG that _must_ beat the cost of doing a system
call + assorted data copies + the actual RNG work. Besides, a program where
the RNG is a significant fraction of the cost strikes me as quite odd...

The _only_ reason for /dev/{,u}random is as a (limited?) source of truly
random bits (AFAIU, the distribution isn't even known to be nice at all!)

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/