Find Your Device:
Or Continue to Thread: [MOD] CrossBreeder - Lag-/Entr…
2nd February 2013, 01:51 AM |#203  
Senior Member
Thanks Meter: 5,549
Donate to Me
Re: [MOD] CrossBreeder - Lag reduction with new improved Havege entropy generator!
Originally Posted by fivefour

It wasn't hard as I'm a kernel developer.

Here is a little frandom vs urandom test (frandom is about 10x faster):

Hi, in light of these benchmark results, I can confirm that you can actually replace urandom with frandom and the OS will fly all the more.

So you can replace the single line:

rm /dev/random && ln /dev/urandom /dev/random


rm /dev/urandom && ln /dev/frandom /dev/urandom
rm /dev/random && ln /dev/frandom /dev/random

This is of course if you're able to first compile the frandom kernel module and load it and obtain the /dev/frandom object.

As far as this mod is concerned, I'll probably put a check for /dev/frandom presence and use that if it exists else revert to urandom.

Then we can have the benefits of this mod while we push our kernel developers to release the frandom kernel module for our specific ROMs.

Then we have liftoff!
Last edited by idcrisis; 2nd February 2013 at 02:42 AM.
The Following 4 Users Say Thank You to idcrisis For This Useful Post: [ View ]