tech-kern archive

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

Re: cprng_fast implementation benchmarks



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.

Thor


Home | Main Index | Thread Index | Old Index