Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
Re: rpc xid randomness
From: Jun-ichiro itojun Hagino (itojunitojun.org)
Date: Mon Sep 08 2003 - 16:37:28 CDT
> On Mon, Sep 08, 2003 at 07:50:58PM +0900, Jun-ichiro itojun Hagino wrote:
> > to summarize,
> > - the currently-committed code is not good. it is not resistant to
> > number reuse/duplication.
> > - sequential number with time.tv_sec initialization is resistant to
> > number reuse/duplication, if we don't set date(1).
> > - niels' generator is resistant to number reuse/duplcation, and probably
> > there's no chance for duplication on reboot (due to the use of random
> > number as initialization)
> I just want to see some kind of benchmark, like lat_rpc from lmbench.
> Or maybe just spray(8).
> If it doesn't introduce too much overhead, it's fine with me.
with 65536 iteration:
machine spec and source code is attached.
- Text/Plain attachment: 1
- Text/Plain attachment: hoge.c