THIS IS NOT MY WORK, PLEASE THANK THE OP
lambgx02 said:
Hey everyone,
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. :good:
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!
Update!
I've built a very simple Android app that bundles the binary, and starts/stops the service (on boot if selected). I'll be adding more instrumentation, but for now, give it a shot! This APK does not modify /system in any way, so should be perfectly safe.
This is my first userspace Android app, so bear with me!
Note that this APK is actually compatible with all Android versions, and all (armel) devices. It's not at all specific to the Captivate Glide.
Caveats
There is a (theoretical) security risk, in that seeding /dev/random with /dev/urandom decreases the quality of the random data. In practice, the odds of this being cryptographically exploited are far lower than the odds of someone attacking the OS itself (a much simpler challenge).
This may adversely affect battery life, since it wakes every second. It does not hold a wakelock, so it shouldn't have a big impact, but let me know if you think it's causing problems. I can add a blocking read to the code so that it only executes while the screen is on. On the other hand, many of us attribute lag to lacking CPU power. Since this hack eliminates almost all lag, there is less of a need to overclock, potentially reducing battery consumption.
If you try it, let me know how it goes.
ROM builders - feel free to integrate this into your ROMs (either the .apk / application, or just the rngd binary called from init.d)!
If anyone's interested, I've launched a paid app on the Play store for non-xda users. As I add features I'll post the new versions here as a thanks to you guys (and xda community at large for being such a great resource). But if anyone's interested in the market's auto-update feature, just thought I'd mention it.
Cheers! :highfive:
Click to expand...
Click to collapse
Just wanted to share this with anyone who hasn't found it through the portal or general thread popularity yet, the original thread can be found here.
As you can see, this .apk (it's easiest to download it from the original thread which has a QR code) claims to increase speed and fluidity in any ROM on any device. Having installed the .apk and set it up correctly, I don't see any significant difference whatsoever. The phone feels marginally faster but I'm almost certain this is just a placebo in my case. HOWEVER, I am very clearly in the minority here as there have been 499 posts in that thread almost all of which are praising the OP, so you should definitely try this out. There are no downsides to it and it doesn't even involve flashing. Just download and install an .apk and turn the thing on and all should work.
Please post any results with as much information as possible here too, it may be down to NexusHD2 JB
Nigeldg said:
THIS IS NOT MY WORK, PLEASE THANK THE OP
Just wanted to share this with anyone who hasn't found it through the portal or general thread popularity yet, the original thread can be found here.
As you can see, this .apk (it's easiest to download it from the original thread which has a QR code) claims to increase speed and fluidity in any ROM on any device. Having installed the .apk and set it up correctly, I don't see any significant difference whatsoever. The phone feels marginally faster but I'm almost certain this is just a placebo in my case. HOWEVER, I am very clearly in the minority here as there have been 499 posts in that thread almost all of which are praising the OP, so you should definitely try this out. There are no downsides to it and it doesn't even involve flashing. Just download and install an .apk and turn the thing on and all should work.
Please post any results with as much information as possible here too, it may be down to NexusHD2 JB
Click to expand...
Click to collapse
just installed it and like you see no difference yet,,so will wait a couple days
and see if anything changes
Cheers for the feedback, having now used it for slightly longer I still see no change. The thing is, there are so many positive reports that I don't think this is just a placebo, but it unfortunately doesn't work on our device.
Sent from my NexusHD2 using xda app-developers app
It's complete placebo.
just installed apk on my Xperia mt15, i think there is improvment ..,., will post after more use..,
Sent from my LT26i using xda app-developers app
Latest xda portal post:
"Entropy Seed Generator Not All It’s Hacked Up to Be"
Little or no performance improvement but real side effect.
Nigeldg said:
Cheers for the feedback, having now used it for slightly longer I still see no change. The thing is, there are so many positive reports that I don't think this is just a placebo, but it unfortunately doesn't work on our device.
Sent from my NexusHD2 using xda app-developers app
Click to expand...
Click to collapse
yea its garbage no difference at all been messing with my phone all day and
still have lags
it may work on other phones but it does not work on our HD2s
uninstalled it
Related
I saw the huge list of safe apps to delete, and I am getting my Droid X on monday, so I was just wondering if deleting the apps causes the speed to increase? I read a lot of reviews saying the Droid X has some lag unfourtantely but does it speed up when you delete all those applications?
I have the incredible right now and use a froyo basic ROM, I turn off all animations and delete all apps that aren't necessary, I just care about the speed of the phone. Do you see a speed increase if the applications are deleted?
I don't think you'll see a noticeable speed increase. The X does have lag in some places, notably the lock screen (big wtf here), but I don't think it's that much worse than most other android phones on stock roms.
I have an incredible and just got my X on Friday. I have noticed that the X is significantly slower than the incredible (both running stock ROMs). I've also found that the X is buggier. I've never had a random reboot on the Inc and it seems to happen all the time on the X while wifi is on. Also, i've noticed that it's generally much slower in response to requested actions.
The most redeeming thing about the X is the AWESOME screen!!!
I'm hoping for a new release soon to help with the slowness, reboots, wifi, and responsiveness.
Sent from my DROIDX using XDA App
Ezun said:
I have an incredible and just got my X on Friday. I have noticed that the X is significantly slower than the incredible (both running stock ROMs). I've also found that the X is buggier. I've never had a random reboot on the Inc and it seems to happen all the time on the X while wifi is on. Also, i've noticed that it's generally much slower in response to requested actions.
The most redeeming thing about the X is the AWESOME screen!!!
I'm hoping for a new release soon to help with the slowness, reboots, wifi, and responsiveness.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
The pro for all of the things you've mentioned there is that it seems to all be software related. HTC obviously has had more time to perfect Sense then Motorola has with it's new Blur-hybrid. I think once the software issues get worked out, the hardware for the X will outshine the Inc.
Just use launcher pro instead of the stock launcher and the entire system will run faster.
Sent from my DROIDX using XDA App
Doesn't using launcher pro on top of blur make it use even more resources?
Sent from my DROIDX using XDA App
it does, but if you remove everything off of your blur, then launch and use the other launcher it will use quite a bit more ram, (i see about a jump of 20 to 30 megs though i haven't done any precise measuring)
But I do notice a bit of a speed increase, part of the reason could be you can control the speed of the animations, and if you bump it up a little bit, even if it lags on showing you the animation it's not as noticeable because you can get there faster. (if that makes sense)
Well then if its mostly software related then I'll wait for a couple firmware updates or 2.2 before I start *****ing
ANy tips on how to speed the droid X up anyone?
Here is a tip that i found out:
On boot, go into the running apps/services, and kill:
Skype MObile, Social networking, and backup assistant authorization
It frees up memory AND the best part, you dont have to uninstall the programs and risk messing up ur phone..
Just have to do it on every reboot, big whoop..
grdm said:
Here is a tip that i found out:
On boot, go into the running apps/services, and kill:
Skype MObile, Social networking, and backup assistant authorization
It frees up memory AND the best part, you dont have to uninstall the programs and risk messing up ur phone..
Just have to do it on every reboot, big whoop..
Click to expand...
Click to collapse
isnt there a app that will prevent things from starting up? if you know the name please tell me thanks.
pima said:
isnt there a app that will prevent things from starting up? if you know the name please tell me thanks.
Click to expand...
Click to collapse
Startup Auditor - It's a paid app but worth the money.
I just tried launcher pro on top of fully configured blur and pro was still smother than blur. So since it isn't the phone I'm holding out hope for 2.2/blur update fixes this. Since that's around the corner I'll wait for it before converting to pro.
Sent from my DROIDX using Tapatalk
pima said:
isnt there a app that will prevent things from starting up? if you know the name please tell me thanks.
Click to expand...
Click to collapse
Autokiller is a full featured, free app to do this.
Launcher Pro made a world of difference on my incredible, zero lag whatsoever..
I like many people thought about getting the Droid X, i dont have a complaint with its size whatsoever moreso then other issues... when i tested the demo phone in the verizon store it seemed incredibly slow.. yes i know it was a demo phone and people probobly mess with it all day long but still it was like having a G1 all over again..
Secondly is the lack of root access.. with the encrypted bootloader it is probobly going to be near impossible to flash a custom recovery and therefor custom roms are also going to be a hassle, i love having my fully unlocked incredible with a S-Off Nand on the way.. having custom roms and overclock kernals changes the feel of the phone completely
Thirdly and last is the 2.2 update... i saw the 2.2 update news article on the Droid X and the guys Quadrant Benchmarks with it were 800 something? That seems redicilous because my Quadrant Benchmarks with my 2.2 incredible are 1400s and Linpacks are in the low 40s
Those benches are showing the droid x on 2.1, with some other phones on 2.2, which puts the droid x in the highest tier of performance. Once froyo is on the dx, youll see scores almost surely above the incredibles (because of the gpu) and very high linpack scores.
XDA App = Pwnage
Autorun Killer does the job, but you need to be rooted.
AutoKiller on the same website will help you keep your memory cleaner by automatically killing tasks. That'll improve performance if your phone is running low on memory (which can happen if all the stock processes are running).
Edit: Oops, didn't see the thread has second page
personally i rooted my phone installed root explorer renamed alot of junk on my phone from .apk to .bak. my phone is def snappier. i also turned off the animated backgrounds. i also use advanced task killer which is the main reason i started, in a sense, uninstalling apps the safe way. seeing all of those items running before i killed them was killing me. so i would try doing that and also turning off wifi etc when not needed.
May not be the best scores, but this is after renaming only a few apps.
Sent from my DROIDX using XDA App
Oops didn't show scores...
Sent from my DROIDX using XDA App
Old thread is old...
Blur sucks. Launcher Pro rocks... And umm... Well I prefer my Droid X to the Incredible after the mods. I have zero lag. Go me.
Wow. I didn't believe it at first, but it's for real.
I heard about an app that someone on XDA released that helps generate random numbers for /dev/random. The theory was that the phone was blocking all over the place while trying to generate random numbers for various processes. This would slow things down considerably.
The app creates random numbers and feeds them to /dev/random every second so the applications don't have to block. It's unreal how much difference this made instantly.
Here's the thread with the explanation and download!
http://forum.xda-developers.com/showthread.php?t=1987032
Hope it works for all y'all too!
Wow it really works...
Sent from my HTC Raider X710e using xda app-developers app
I just did a whack of reading on this topic... There's a huge fire fight going on at google code as to whether or not this actually works the way it says it does... Many say yes, many say no. Either way, it sure does cut down the lag. Personally, I don't care how it works as long as it's not eating battery to do it.
I've had my phone on the charger all day. If I can still get my 24 hours on battery with this app, I'll be a happy man. I will also try integrating it into CM10 so you we can have a flashable add-on for CM10 based ROMS, with no need to have the app installed.
Edit:
In case anyone wants to read all the fighting about this app: https://code.google.com/p/android/issues/detail?id=42265
I've been hearing that the One has issues similar to its predecessor, as far as browser multitasking. Has anyone had issues with the browser constantly refreshing when you leave, go to another app, and come back to it?
No such problem with my HTC One. Multitasked between apps and browser, different tabs stayed put(no auto-refreshing).
bengadget said:
I've been hearing that the One has issues similar to its predecessor, as far as browser multitasking. Has anyone had issues with the browser constantly refreshing when you leave, go to another app, and come back to it?
Click to expand...
Click to collapse
I would like to know the same..
EDIT: nvm
bengadget said:
I've been hearing that the One has issues similar to its predecessor, as far as browser multitasking. Has anyone had issues with the browser constantly refreshing when you leave, go to another app, and come back to it?
Click to expand...
Click to collapse
Yes. Me.
Shasarak said:
Yes. Me.
Click to expand...
Click to collapse
What kind of websites does it happen with and how often? It worries me how there's no definitive reason why some people have this problem. It seems to be random.
bengadget said:
What kind of websites does it happen with and how often? It worries me how there's no definitive reason why some people have this problem. It seems to be random.
Click to expand...
Click to collapse
It does it a LOT on a dating site that I use, OKCupid (when accessing the desktop version of the site). I think it may possibly be related to the number of tabs one has open, as well. But certainly it's very annoying. I sometimes do a bit of browsing on London Underground trains. (You get about 20 seconds of wifi when the train is in a station!) What I'd like to be able to do is load up multiple pages in different tabs (each one opened as a new background tab) while the connection is up and then read them in the tunnels between stations; but it insists on refreshing each tab as you go back to it, and, as there's no connection in the tunnel, you can't actually read the page, even though it's fully downloaded and should be cached.
It does it pretty frequently. More with stock browser than with chrome though.
soapbubble said:
It does it pretty frequently. More with stock browser than with chrome though.
Click to expand...
Click to collapse
But that doesn't happen on my Chrome on my Note II... ever! Even if I press a link by mistake I can press back and it will be stored in cache, this is probably an HTC problem then, anyone else having this issue?
Nope. Not a problem for me. Always going back and forth on my browser. No issue there
Sent from my HTC One using xda premium
I agree. I can't remember if it's because I swipe it away with the recent apps button.
But sometimes the browser panics on me and closes on it's own.
Sent from my One V using Tapatalk 2
This was NEVER an issue specific to HTC or its software. The sooner people stop spreading the FUD the better.
The only reason Android will force the browser to clear its cache of a page is because it needs to. That is, it's running low on RAM due to other services/apps and needs more. Your browser is not considered a high-level process in the priority list (it's not a service, unlike many other apps), so it'll get hit more often than other apps.
So, the reason this crops up for some people more than others is simply due to what they have running in the background (services, such as Facebook, Trillian, GMail, etc etc). The more crap you run at the same time, the more likely it's going to run out of RAM. This is how it works for ANY Android phone going all the way back to the 2.0 days. It's ALSO how it works on iOS, BlackBerry 10, and webOS (except those platforms don't use a priority system). Also keep in mind that websites these days actually take up a significant amount of RAM, especially ones with heavy amounts of Javascript and retina-level graphics.
The HTC One has 2GB of RAM, which means you have quite a bit of RAM to work with before this happens, but how often it happens is always going to be determined by how you use it.
Vincent Law said:
This was NEVER an issue specific to HTC or its software. The sooner people stop spreading the FUD the better.
The only reason Android will force the browser to clear its cache of a page is because it needs to. That is, it's running low on RAM due to other services/apps and needs more. Your browser is not considered a high-level process in the priority list (it's not a service, unlike many other apps), so it'll get hit more often than other apps.
So, the reason this crops up for some people more than others is simply due to what they have running in the background (services, such as Facebook, Trillian, GMail, etc etc). The more crap you run at the same time, the more likely it's going to run out of RAM. This is how it works for ANY Android phone going all the way back to the 2.0 days. It's ALSO how it works on iOS, BlackBerry 10, and webOS (except those platforms don't use a priority system). Also keep in mind that websites these days actually take up a significant amount of RAM, especially ones with heavy amounts of Javascript and retina-level graphics.
The HTC One has 2GB of RAM, which means you have quite a bit of RAM to work with before this happens, but how often it happens is always going to be determined by how you use it.
Click to expand...
Click to collapse
Thats false, it was an issue on the HTC One X, and thats why I went for the GS3 instead of the One X (that and battery life), and it was done on purpose by HTC, not sure if they "fixed" it or not since then.
Tsukurimashou said:
Thats false, it was an issue on the HTC One X, and thats why I went for the GS3 instead of the One X (that and battery life), and it was done on purpose by HTC, not sure if they "fixed" it or not since then.
Click to expand...
Click to collapse
No, it wasn't, no more than any other device with 1GB of RAM. I'm sure that's what you thought based on all the fud being spread at the time, but it wasn't true, as anyone who knows more about the internals would acknowledge.
Vincent Law said:
No, it wasn't, no more than any other device with 1GB of RAM. I'm sure that's what you thought based on all the fud being spread at the time, but it wasn't true, as anyone who knows more about the internals would acknowledge.
Click to expand...
Click to collapse
Well I think I know a lot and it was definitely HTC's fault.. it was a software preference made by HTC
darkgoon3r96 said:
Well I think I know a lot and it was definitely HTC's fault.. it was a software preference made by HTC
Click to expand...
Click to collapse
A preference that had no influence apparently, since all it takes is a person with a task manager to confirm what I said was true.
This happens on my Nexus 4. Nothing new to see.
Vincent Law said:
This was NEVER an issue specific to HTC or its software. The sooner people stop spreading the FUD the better.
The only reason Android will force the browser to clear its cache of a page is because it needs to. That is, it's running low on RAM due to other services/apps and needs more. Your browser is not considered a high-level process in the priority list (it's not a service, unlike many other apps), so it'll get hit more often than other apps.
So, the reason this crops up for some people more than others is simply due to what they have running in the background (services, such as Facebook, Trillian, GMail, etc etc). The more crap you run at the same time, the more likely it's going to run out of RAM. This is how it works for ANY Android phone going all the way back to the 2.0 days. It's ALSO how it works on iOS, BlackBerry 10, and webOS (except those platforms don't use a priority system). Also keep in mind that websites these days actually take up a significant amount of RAM, especially ones with heavy amounts of Javascript and retina-level graphics.
The HTC One has 2GB of RAM, which means you have quite a bit of RAM to work with before this happens, but how often it happens is always going to be determined by how you use it.
Click to expand...
Click to collapse
This is also BS. The evo lte I had always dumped the browser and this phone does it as well, even just going back and forth from the browser to the music app. The galaxy i switched to did not exhibit the same behavior. In fact, that thing would often keep the browser in memory till the NEXT DAY. This phone with 2gb ram (and 700 plus free) will dump my browser pages for nothing but time it seems
Sent from my HTCONE using xda app-developers app
greengoldmello said:
This is also BS. The evo lte I had always dumped the browser and this phone does it as well, even just going back and forth from the browser to the music app. The galaxy i switched to did not exhibit the same behavior. In fact, that thing would often keep the browser in memory till the NEXT DAY. This phone with 2gb ram (and 700 plus free) will dump my browser pages for nothing but time it seems
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
It's really not. I had chrome stay in RAM for 3 full hours tonight even when playing games. Don't ever use the stock browser, they're always terrible on all platforms.
Vincent Law said:
It's really not. I had chrome stay in RAM for 3 full hours tonight even when playing games. Don't ever use the stock browser, they're always terrible on all platforms.
Click to expand...
Click to collapse
See, that's what's retarded to me. I too have also ran a heavy game and came back to the browser and my pages were still there. But let me play some music and come back a few minutes later and it's highly likely that it's been terminated
I don't use chrome because the stuttery scrolling. The stock browser is the smoothest I've ever used on android so I'm a bit smitten
Sent from my HTCONE using xda app-developers app
greengoldmello said:
See, that's what's retarded to me. I too have also ran a heavy game and came back to the browser and my pages were still there. But let me play some music and come back a few minutes later and it's highly likely that it's been terminated
I don't use chrome because the stuttery scrolling. The stock browser is the smoothest I've ever used on android so I'm a bit smitten
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Chrome doesn't have any scrolling lag for me on the One.
http://androidandme.com/2013/06/opi...from-the-best-to-worst-tablet-ive-ever-owned/
After reading the article, I'm glad I'm not the only one who's experiencing this issue. I've noticed my Nexus 7 slows down and becomes less responsive during heavy writing task(downloading stuff at high speed, stuttering browser, etc).
Before anybody jumping in and saying they don't have the issue, the point is it does happen and it happens to other devices as well. Same issue can be said for Galaxy Nexus, Asus Transformer Infinite Transformer Prime. A good way to test this is to see how your tablet performs when you download something over 1MB/s or 2MB/s.
The reasons some people don't see this are:
1. It's hard to tell in short term. Usually the memory i/o speed degrading starts to show after 6 months to 1 year or longer depending on the quality of the flash memory they use.
2. Interfering factors. Many people think the lag is caused by ROM or kernel. It could be true in some cases.
3. Inconsistent quality control during manufacture. I'd assume that out of some bad batches, there will be also some good units. Also not every device use the exact same flash memory chips.
4. Personal usage difference. Flash memory's life span depends on the limited number of writing/reading. So the degrading rate also depends on each individual. Some people are heavy users who constantly perform copying/reading/removing actions on the device while some others may only use it for internet access which results in less taxing work.
Actually the i/o speed issue is one main reason I'm looking forward to next generation Nexus 7. Just hope ASUS can use better quality flash memory next time.
EDIT: more elaborate point.
Sent from my Nexus 7 using xda app-developers app
hbkmog said:
http://androidandme.com/2013/06/opi...from-the-best-to-worst-tablet-ive-ever-owned/
After reading the article, I'm glad I'm not the only one who's experiencing this issue. Before anybody jumping in and saying they don't have the issue, the point is it does happen. Same issue can be said for Galaxy Nexus and Asus Transformer Prime. Actually this is one main reason I'm looking forward to next generation Nexus 7. Just hope ASUS can use better quality flash memory next time.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I don't know, if Asus doesn't get it right on 2 devices, all of which I have owned, I can't imagine that they will get it right on the next 2 devices. I was so tired of my laggy infinity that I just sold it on ebay. I was so tired of my laggy nexus 7 that I did a factory reset. But then again, these were essentially first generation products. Hopefully the second gen will be better (seems to contradict what I just said, haha.) I am probably going to wait for a little while before I get the next nexus, anyway. I have an expensive habit of getting the latest on launch, most of the time regretting my decisions.
I haven't seen any of the lag these sites and users complain about. Maybe its because I was more used to my Iconia A500 dragging its feet at the two year mark but I can't see how this is "laggy" or "unresponsive" at all. I think this is the result of seeing the device as "old" rather than "new" so you notice one thing and look for 100 others you never noticed. In the end though it could be worse. You could've paid a pretty penny for it to turn to crap All I can say is that I have not noticed these problems and that if they remain after a wipe and reversion to an older, version then they must have always been there.
Its flash storage over all devices. I've seen the same lag on my wifes ipad and iphone.
armada786 said:
I haven't seen any of the lag these sites and users complain about. Maybe its because I was more used to my Iconia A500 dragging its feet at the two year mark but I can't see how this is "laggy" or "unresponsive" at all. I think this is the result of seeing the device as "old" rather than "new" so you notice one thing and look for 100 others you never noticed. In the end though it could be worse. You could've paid a pretty penny for it to turn to crap All I can say is that I have not noticed these problems and that if they remain after a wipe and reversion to an older, version then they must have always been there.
Click to expand...
Click to collapse
Well, the thing is the performance drop is very distinct and easy to see. When the device comes to a stall during some background writing/reading, then it's problem.
The reason some people don't see this is:
1. It's hard to tell in short term. Usually the memory i/o speed degrading starts to show after 6 months to 1 year or longer.
2. Interfering factors. Many people think the lag is caused by ROM or kernel. It could be true.
3. Inconsistent quality control. I'd assume that out of some bad batch, there will be also some good units. Also not every device use the exact same memory chips.
4. Personal usage difference. Flash memory's life span depends on the limited number of writing/reading. So the degrading rate also depends on each individual. Some people are heavy users who constantly perform copying/reading/removing actions on the device while some others may only use it for internet access which results in less taxing work.
hbkmog said:
http://androidandme.com/2013/06/opi...from-the-best-to-worst-tablet-ive-ever-owned/
After reading the article, I'm glad I'm not the only one who's experiencing this issue. I've noticed my Nexus 7 slows down and becomes less responsive during heavy writing task(downloading stuff at high speed, stuttering browser, etc).
Click to expand...
Click to collapse
Every computer I have ever used - that's over a 30-year period - could have its' UI brought to it's knees with heavy I/O. It's not a surprise, really: mass storage is typically the slowest bandwidth device (ignoring things like uarts or keyboards) in the system.
The problem can be pushed into a corner - for instance using massively more RAM than is needed by the memory footprint of the kernel and apps, so that there is plenty of fast file cache available, but even in that case, a source of sustained high-speed I/O will eventually exhaust the write cache, and slow writes will start occurring and queuing up against all other I/O activity.
But that kind of thing doesn't happen in a $200 tablet. RAM ain't cheap, nor does it come for free in terms of power consumption (and thus battery size needed for a given "on battery" time).
On top of that, you have all the problems of write amplification that occurs with flash memory that performs block erasures and wear-leveling.
IMO, if you think this is something that only occurs on certain OS releases, or certain hardware, you are probably going to be disappointed with every device you ever buy. That will be the case until a non-volatile storage media exists with sustained read/write bandwidth that exceeds that of the system memory bus, and also is not affected by the number of independent transactions per GB of I/O.
BTW, the fact that someone on the internet complains about a problem with symptoms similar to those you experience does not imply that the same root cause is involved, nor does it say anything about the frequency of occurrence of those symptoms amongst the general population. I suppose that some small percentage of the world's population is tired all the time; but that doesn't mean they all have Lyme disease, nor that everybody has it.
cheers
Gruber linked to it. Joy. Prepare for this article to be linked to by every iOS fanboy from now until the end of time.
My theory is that its mostly prevalent on the 8 GB models that were only sold for a short period of time, and thats why only a few people, mostly early adopters, have seen this.
I torrent ... "things" ... at over 1.5 MB/sec.
Don't see a dip in speed at all. Try changing your IO schedulers, people.
Mine gets slow when I have less than 3gb of storage open.. Above that, it is fast. It's not a permanent problem. Try freeing up space before damning the Nexus 7.
Sent from my Galaxy Nexus using xda premium
Also as soon as some one points out an issue, people will come in and tell them they are wrong.
There's def an issue with the n7, sometimes is it is slow as molasses and other times butter smooth. Where as my n4 is always butter smooth
T-Keith said:
Mine gets slow when I have less than 3gb of storage open..
Click to expand...
Click to collapse
ya think?!?!
BrianDigital said:
Also as soon as some one points out an issue, people will come in and tell them they are wrong.
There's def an issue with the n7, sometimes is it is slow as molasses and other times butter smooth. Where as my n4 is always butter smooth
Click to expand...
Click to collapse
The N4 has twice as much RAM as the N7. See my comment about file write caching above. It is quite reasonable to expect the N4 to perform better under equivalent load as there will be substantially larger free memory for write caching (everything else being equal). Simply put the N7 will hit the I/O queue wait wall first.
A statement from one or two users that "my tablet doesn't do that, what are you talking about" is just as relevant information as one or two users claiming "my tablet is always slow".
Neither report is a denial of the experiences of others; but both taken together are a demonstration that the trouble described is not universally experienced.
And since neither set of onesie-twosie reports represent a statistically significant sample, neither of them are capable of saying anything meaningful about how widespread the problem is in the general user population.
cheers
bftb0 said:
The N4 has twice as much RAM as the N7. See my comment about file write caching above. It is quite reasonable to expect the N4 to perform better under equivalent load as there will be substantially larger free memory for write caching (everything else being equal). Simply put the N7 will hit the I/O queue wait wall first.
A statement from one or two users that "my tablet doesn't do that, what are you talking about" is just as relevant information as one or two users claiming "my tablet is always slow".
Neither report is a denial of the experiences of others; but both taken together are a demonstration that the trouble described is not universally experienced.
And since neither set of onesie-twosie reports represent a statistically significant sample, neither of them are capable of saying anything meaningful about how widespread the problem is in the general user population.
cheers
Click to expand...
Click to collapse
I'd also be surprised if most Nexus 4s have had the same amount of wear on them as the Nexus 7s. Just saying.
Your I/O scheduler definitely helps, but unfortunately software fixes can only play catch-up for so long. It's one of the things I really do dislike about flash memory-- yes, I know that spinning disk media also has wear, but I've had some drives running for...practically forever, really. I just don't feel comfortable knowing that SSDs and flash will eventually cop out because of how they're designed (but a lot of that, I'll plainly admit is a psychological thing and has little to do with the tech's actual reliability).
bftb0 said:
The N4 has twice as much RAM as the N7. See my comment about file write caching above. It is quite reasonable to expect the N4 to perform better under equivalent load as there will be substantially larger free memory for write caching (everything else being equal). Simply put the N7 will hit the I/O queue wait wall first.
A statement from one or two users that "my tablet doesn't do that, what are you talking about" is just as relevant information as one or two users claiming "my tablet is always slow".
Neither report is a denial of the experiences of others; but both taken together are a demonstration that the trouble described is not universally experienced.
And since neither set of onesie-twosie reports represent a statistically significant sample, neither of them are capable of saying anything meaningful about how widespread the problem is in the general user population.
cheers
Click to expand...
Click to collapse
Your right when I wake my n7 from sleep with no apps updating or anything running, and it moves at a ants pace. I am wrong its me I guess...right. Every user should have to unlock root and flash a kernel to change how it runs.
I read the comment you made before, its the same copy pasta stuff from when the nexus 7 didn't have issues having the storage full, back early on. This what makes xda so great, people have a issue and someone chimes in tells them they are wrong, or ten posts of "420 root it, and flash mer devs kernel"
But your right my tablet should mostly be lagging because running the launcher and maybe an app slows everything down because its designed to run an app and that's it.
Cheers
EDIT: bftb0 summed up what I wanted to say far better
BrianDigital said:
Your right when I wake my n7 from sleep with no apps updating or anything running, and it moves at a ants pace. I am wrong its me I guess...right. Every user should have to unlock root and flash a kernel to change how it runs.
Click to expand...
Click to collapse
Nobody has denied anybody's experience. If you say that stuff happens, I believe you.
BrianDigital said:
I read the comment you made before, its the same copy pasta stuff from when the nexus 7 didn't have issues having the storage full, back early on. This what makes xda so great, people have a issue and someone chimes in tells them they are wrong, or ten posts of "420 root it, and flash mer devs kernel"
Click to expand...
Click to collapse
off topic = irrelevant. But nice segue.
BrianDigital said:
But your right my tablet should mostly be lagging because running the launcher and maybe an app slows everything down because its designed to run an app and that's it.
Click to expand...
Click to collapse
If that happens on a stock device with no apps that's been rebooted within the past few days, and there are no other pathologies involved (e.g. nearly-full or corrupted file systems), then *probably* there is a hardware problem involved.
Look, I get it. Plenty of folks just want to use their device, not worry about details, and have it work as if it were mint. And they want it to behave that way even after customization (adding random apps). But practical experience with a wide variety of computing devices reveals that performance problems always hinge on details - sometimes incredibly tiny and obscure details. Those "details" can be any number of things - "soft" (correctable) hardware defects, bugs in the OS software, user software that is installed, all sorts of stuff. And even for technically sophisticated users isolating the root cause can be difficult. Until some detective work has occurred, there is no justification to place the blame on any specific component.
BTW, I know how frustrating it can be. My old Android phone (rooted, OC'ed & CM 7 ROM) currently can not be operated with both the messaging app and launcher app locked in memory (It only has 190 MB of RAM!). So I get to choose between losing text messages or waiting 15 seconds !!! for the launcher app to repaint the first home screen after leaving a resource-hungry foreground app such as Maps or the Browser. If I try and set up the Android LMK to do aggressive memory reclaim, the device will occasionally enter a "thrash of death" where the LMK is killing off threads as fast as they are generated - and the whole device will go frozen for minutes at a time. So, yeah, I get the frustration.
That of course is indeed "my fault". I could go back to a factory stock ROM (Eclair w/ HTC Sense - ugh). But I don't want to. I want certain features, and I want certain apps, too. You might claim that's not comparable to a user having a stock ROM device with a whole bunch of market apps installed; but until those apps can be cleared of suspicion, blame cannot conclusively be laid anywhere.
It is what it is. Computers that do not exhibit load dependent performance problems do not exist. That doesn't make things anybody's "fault" - but it is highly unlikely that Google (or Apple, whomever) is going to send someone over to your house to figure out what goes on with your tablet.
So, moaning about a problem on the internet might make someone feel better for a few minutes, but at the end of those few minutes, the problem(s) will still be there.
And BTW I completely get it that if I were to be having a performance issue on my tablet, and I wanted to clear my 72 market apps from suspicion, it would take me as many as log2(72) ~= 7 binary bisection trials (remove half of apps each trial) to finger a suspect or clear them all from suspicion). Pain in the rear to be sure; but it wouldn't be any less work on a different device - Apple, Asus, HTC, Moto, Samsung, whatever. And if it were an intermittent problem? It might take a huge effort to isolate the cause. Way longer amounts of time than simply ignoring a second or two of hesitation in the UI.
But the OP created this thread in the General section, not the Help / Q & A section; was he even interested in getting help?
.
I too feel this way since 4.2 update. I'm stock unrooted with 7gb free of storage.
Sent from my Nexus 7 using xda app-developers app
Try rooting your device, install lagfix.
From the comments in the article linked by Op, should help.
I did not try myself since I'm not having these issues.
Sent from my Nexus 7 using xda premium
Phenryth said:
Try rooting your device, install lagfix.
From the comments in the article linked by Op, should help.
I did not try myself since I'm not having these issues.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Werd. Lagfix made my 7 feel like new again. I scheduled it to run once a week and haven't had any problems since then.
Phenryth said:
Try rooting your device, install lagfix.
From the comments in the article linked by Op, should help.
I did not try myself since I'm not having these issues.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Lagfix does fasttrim command but many kernals nowadays do that already so the effect could be placebo unless you are on the kernel that doesn't fasttrim well.
Sent from my Nexus 4 using xda app-developers app
Hi all,
After spending 3 years on the iOS side after departing from my S2 and Sensation XE, I've finally decided to come back to the Green side and see how this works out for me. Naturally, I still have a bad aftertaste of the Samsung phones, and seeing as the Nexus phones now have flagship specs, I might as well go for the Nexus. So I did, and I'm the proud owner of a 64 GB Midnight Blue Nexus 6. However, I've grown quite accustomed to some things on iOS for which I still need help after swapping over to Android, and I hope I won't get shot down immediately for this. Very well then, off to my shot in the dark and list my questions:
1. Battery percentage. I cannot seem to find an option to enable this anywhere in the system. Is this a feature missing from stock Android?
2. Swiping to navigate back and forward doesn't seem to be in the browser. Any way to enable this?
3. Is there a function to avoid popups from showing on top of my screen while playing games? I play a lot of rhythm games and the pop ups mess my rhythm up. I tried the None option, but it still allowed notifications to get through.
4. Is there a way to allow YouTube videos to play in the background? Or even with the screen locked?
5. There seems to be some considerable lag while moving through the UI as well as in games and such. Is this due to the encryption?
Now onto some other kind of questions which most likely will be answered by doing my own research (which I will be doing, but might as well ask them here while I investigate in hopes of finding even quicker answers. As I find out about them, I'll either add in the answers to the questions or remove the questions entirely to avoid people getting annoyed at me.)
6. If encryption is causing the lag in my games as well as UI (Compared to my old i6+), will decrypting the device improve much? If yes, is there a quick and easy way to do so?
7. Has rooting become easier and with less risks of the user F-ing it up?
8. I vaguely remember custom ROMs as well as Kernels, and I've been reading up a bit. Are there any bug free 5.0.2 Roms/Kernels out yet? Specifically looking for performance increases with less battery drain.
9. CMRecovery it was called back in the day I believe. Is this still around to save me from massive F-ups?
10. Is the utility ODIN still required to flash Roms? I remember it as being a terribly counter-intuitive application to use.
11. Is CyanogenMod supporting the Nexus 6 officially? If not, any plans for it?
Well, those are it for now. Don't hate me, please! I will start my research after posting this. Just thought I'd try and hit 2 birds with one rock, cutting down the overall time.
TetsuNoKobushi said:
Hi all,
After spending 3 years on the iOS side after departing from my S2 and Sensation XE, I've finally decided to come back to the Green side and see how this works out for me. Naturally, I still have a bad aftertaste of the Samsung phones, and seeing as the Nexus phones now have flagship specs, I might as well go for the Nexus. So I did, and I'm the proud owner of a 64 GB Midnight Blue Nexus 6. However, I've grown quite accustomed to some things on iOS for which I still need help after swapping over to Android, and I hope I won't get shot down immediately for this. Very well then, off to my shot in the dark and list my questions:
1. Battery percentage. I cannot seem to find an option to enable this anywhere in the system. Is this a feature missing from stock Android?
2. Swiping to navigate back and forward doesn't seem to be in the browser. Any way to enable this?
3. Is there a function to avoid popups from showing on top of my screen while playing games? I play a lot of rhythm games and the pop ups mess my rhythm up. I tried the None option, but it still allowed notifications to get through.
4. Is there a way to allow YouTube videos to play in the background? Or even with the screen locked?
5. There seems to be some considerable lag while moving through the UI as well as in games and such. Is this due to the encryption?
Now onto some other kind of questions which most likely will be answered by doing my own research (which I will be doing, but might as well ask them here while I investigate in hopes of finding even quicker answers. As I find out about them, I'll either add in the answers to the questions or remove the questions entirely to avoid people getting annoyed at me.)
6. If encryption is causing the lag in my games as well as UI (Compared to my old i6+), will decrypting the device improve much? If yes, is there a quick and easy way to do so?
7. Has rooting become easier and with less risks of the user F-ing it up?
8. I vaguely remember custom ROMs as well as Kernels, and I've been reading up a bit. Are there any bug free 5.0.2 Roms/Kernels out yet? Specifically looking for performance increases with less battery drain.
9. CMRecovery it was called back in the day I believe. Is this still around to save me from massive F-ups?
10. Is the utility ODIN still required to flash Roms? I remember it as being a terribly counter-intuitive application to use.
11. Is CyanogenMod supporting the Nexus 6 officially? If not, any plans for it?
Well, those are it for now. Don't hate me, please! I will start my research after posting this. Just thought I'd try and hit 2 birds with one rock, cutting down the overall time.
Click to expand...
Click to collapse
1 pull the notification bar % is there
2 not on chrome
3 go to apps in settings find the apps doing it and hit the show notification box
4 no
5 maybe
6 yes http://forum.xda-developers.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715
7 hell yes
8 yes http://forum.xda-developers.com/nexus-6/development
9 http://forum.xda-developers.com/nexus-6/development/tool-windroid-universal-android-toolkit-t2984537
10 odin is for samsung
11 it will one day
hope that helps
jaythenut said:
1 pull the notification bar % is there
2 not on chrome
3 go to apps in settings find the apps doing it and hit the show notification box
4 no
5 maybe
6 yes http://forum.xda-developers.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715
7 hell yes
8 yes http://forum.xda-developers.com/nexus-6/development
9 http://forum.xda-developers.com/nexus-6/development/tool-windroid-universal-android-toolkit-t2984537
10 odin is for samsung
11 it will one day
hope that helps
Click to expand...
Click to collapse
1. Oh. The double finger drag does show it. No way to show it permanently without having to drag it down aside from installing an app?
2. Any other browsers you know of which do support it?
3. I don't want to disable them permanently. I'm looking for some kind of Do not Disturb mode which I can toggle on and off.
4. Hmm, annoying. But I guess I can live without it for now.
5. I found a topic describing the same issues. Might as well try and decrypt. People seem to have good results from it, at least in the UI.
6. Aaand that is the exact topic I found at question 5, haha.
7. Thank god. I read about this ChainFire AutoRoot tool. Is this the way to go now?
8. Much appreciated. Once I figure out which order to do everything in I'll check that out. Any recommendations for a 5.0.2 Rom?
9. An all-in-one tool, perfect for an idiot like me.
10. Right, no wonder it's counter-intuitive. Sorry for the hate on Samsung, my experience just hasn't been the best regarding the brand.
11. So no official support yet. Hmm, I guess I'll avoid custom CM roms then for now.
It helped a tremendous amount! I really appreciate it!
To add there are some you tube apps that will play with the screen off. I have one I can upload if you would like. You'll have to delete the current one you have though
Sent from my Nexus 6 using Xparent Skyblue Tapatalk 2
pwned3 said:
To add there are some you tube apps that will play with the screen off. I have one I can upload if you would like. You'll have to delete the current one you have though
Sent from my Nexus 6 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
I only seem to have the basic YouTube app provided by Lollipop itself. Is that removable? If so, I'd gladly use one you could provide me. I'm not looking for an amazing list of features, but it would be nice if it adhered to the Material Design as well. But if it doesn't, no big deal either.
If you feel comfortable flash Liquid Smooth ROM and root your phone. It provides the best of all world's for smoothness and features. I've been using LS for a while and its great. You can enable many different styles of battery icons with % inside or outside the batter icon. You can also have the % battery in the icon via an app if you search the play store. You can uninstall the app once its enabled.
Rooting doesn't cause issues, its what you Dow with root that can potentially cause issues. Since this is a Nexus you can easily fix a bootloop should you get one somehow.
AOSP browser has a similar swiping method for the browser but it uses pie controls which in my opinion is better.
YouTube can play in the background, I use this frequently and even with the screen off from what I remember.
Pilz said:
If you feel comfortable flash Liquid Smooth ROM and root your phone. It provides the best of all world's for smoothness and features. I've been using LS for a while and its great. You can enable many different styles of battery icons with % inside or outside the batter icon. You can also have the % battery in the icon via an app if you search the play store. You can uninstall the app once its enabled.
Rooting doesn't cause issues, its what you Dow with root that can potentially cause issues. Since this is a Nexus you can easily fix a bootloop should you get one somehow.
AOSP browser has a similar swiping method for the browser but it uses pie controls which in my opinion is better.
YouTube can play in the background, I use this frequently and even with the screen off from what I remember.
Click to expand...
Click to collapse
As for installing a custom ROM, I was planning on following this video:
How to Root the Nexus 6 & Flash a Custom ROM: youtu be/v0Dh52Swsac (can't post links yet it seems)
It seems quite idiot proof as there is a step for step guide to walk me through the process. Would you advise me to follow this videos steps?
I cannot find the AOSP browser on my device for some reason, do I need to install it still?
I've been trying to get YouTube to play in the background, but so far I've been unsuccessful, could you perhaps direct me to the setting to allow it?
I greatly appreciate your help!
https://www.dropbox.com/s/tpy8iqfmy1sbo8r/YT_4.4.11_v5b_inverted.apk?dl=0
Here's a link to the you tube. You will have to enable of screen playback in settings. Also uninstall your you tube that is already on the phone. I didn't make this just sharing what I found on XDA
Sent from my Nexus 6 using Xparent Skyblue Tapatalk 2