Extremely poor performance crunching random numbers under PIV-FC5

Andy Green andy at warmcat.com
Sat May 20 07:52:23 UTC 2006


BankHacker wrote:

> # ./libcliente
> 10 M de rand() en 46.950 s. (ejemplo.: 186687031)
> 10 M de fakerand() en 1.060 s. (ejemplo.: 867)
> 
> Recycling code I have called this external function with the old name
> "fakerand", but it is a good alternative to standard random
> generators.
> 
> Conclusion: The system behaves correctly when invoking another random
> algorithm dynamically.

Hey nice work!  It seems the problem is bracketed into glibc random_r 
and rand in the dynamic lib.

-Andy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20060520/4785ad96/attachment-0002.bin 


More information about the users mailing list