The #1 Nexus 7 News, Discussion and Fan Site!

Nexus 7 News => Nexus 7 News - - Front Page Comments and Discussion => Topic started by: Babyfacemagee on January 03, 2013, 02:14:03 PM

Title: 'Seeder' APK Might Solve Certain Lag Issues On Your Nexus 7
Post by: Babyfacemagee on January 03, 2013, 02:14:03 PM
(http://i.imgur.com/5lqXY.png)

One of the great things about owning an Android device is the sheer number of bright developers and hackers that are constantly tinkering with their devices and the OS to see if they can make things better.   One of the complaints some have had with their Android devices is the tendency for the device to sometimes lag after several weeks of ongoing use particularly while playing or using certain apps and games.  Well XDA developer member lambgx02 decided it was time to get to the bottom of the issue and upon his delving into Android's dark underbelly he found what he thought was the problem. 

It seems it involves some random data being generated by the kernel of the OS and what he calls "very limited entropy pool'.  What does this mean?  Well, we're not exactly sure but the bottom line is...he thinks he's come up with a fix that makes your device run smoother and without the lag.  Now rather than us try to explain things here's the developer's own words explaining the situation:

Quote
So, I was experiencing significant lag as we all do from time to time, and decided I was going to get to the bottom of it.

After tracing and debugging for hours, I discovered the source of 90% of Android’s lag. In a word, entropy (or lack thereof).

Google’s JVM, like Sun’s, reads from /dev/random. For all random data. Yes, the /dev/random that uses a very limited entropy pool.

Random data is used for all kinds of stuff.. UUID generation, session keys, SSL.. when we run out of entropy, the process blocks. That manifests itself as lag. The process cannot continue until the kernel generates more high quality random data.

So, I cross-compiled rngd, and used it to feed /dev/urandom into /dev/random at 1 second intervals.

Result? I have never used an Android device this fast.

It is literally five times faster in many cases. Chrome, maps, and other heavy applications load in about 1/2 a second, and map tiles populate as fast as I can scroll. Task switching is instantaneous. You know how sometimes when you hit the home button, it takes 5-10 seconds for the home screen to repopulate? Yeah. Blocking on read of /dev/random. Problem solved. But don’t take my word for it .. give it a shot!


Now as usual with these hacks, we only recommend that experienced Android hobbyists try using the file and fix.  It'll require a rooted device and you an find out more info at this link. (http://forum.xda-developers.com/showthread.php?t=1987032)  Let us know if you try it out.  Again...do so at your own risk...certainly not for the casual Nexus 7 owner and only for experienced hackers/modders. 
Title: Re: 'Seeder' APK Might Solve Certain Lag Issues On Your Nexus 7
Post by: JayJ on January 19, 2013, 08:37:04 AM
If anybody has this app I would recommend uninstalling it...

This has been proven not to help with any lag, what it does do though is cause your CPU to work at full throttle so may it feel as though your Nexus 7 is faster and it is but it'll be at your batteries expense.

Sent from my 32GB Nexus 7 using Tapatalk HD
Title: Re: 'Seeder' APK Might Solve Certain Lag Issues On Your Nexus 7
Post by: matt on January 19, 2013, 11:04:28 AM
I've had it running on an old laggy tablet for the last week, no difference. Panacea.
Title: Re: 'Seeder' APK Might Solve Certain Lag Issues On Your Nexus 7
Post by: loociddreemr on January 19, 2013, 12:27:34 PM
I agree. I did some research when this debuted and decided against it.

Sent From my Dual-boot Razr Maxx (PNuT.BuTTa.JB.v1.0.4a-R3Ds themed URBaN.v1.1) via Tapatalk 2