tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cprng_fast implementation benchmarks



Thor Lancelot Simon <tls%panix.com@localhost> wrote:
> On Wed, Apr 23, 2014 at 01:16:42PM +0100, Mindaugas Rasiukevicius wrote:
> > 
> > You mentioned that 4GB of data are generated by requesting 256 bytes.
> > It would be more interesting to see the throughput of 4 byte requests
> > i.e. how many cprng_fast32() calls per second can we do?
> 
> That is how the numbers in the "cpb" column were generated: I modified
> the kernel code so that after each rekeying, it calls cprng_fast32()
> 1,000,000 times in a tight loop to generate 4,000,000 bytes.

OK.  Can you provide the time in seconds?  Having throughput per second
is useful for general contemplation and comparison with the rates other
subsystems can achieve.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index