Sprint Galaxy Nexus with CyanogenMod and Franco.kernel. The phone slows to a crawl on many IO requests and I'm not sure why. I tried both row and CFQ and while row is sometimes better about it often times it will be unusable for minutes at a time. I tried to record a video yesterday and the moment I clicked record, my phone froze for 10 minutes and didn't return to normal until I managed to close the camera app. It also happens a lot on chrome, next browser, and stock browser. Are there any utilities to check the storage for errors
Sent from my Galaxy Nexus using xda app-developers app
I just did a benchmark with AndroBench and my random write is a whopping 0.16MB/s and sequential write is 5.15MB/s with the ROW scheduler
Did another benchmark after changing to CFQ scheduler and Random Write was 0.15MB/s so no real change, sequential write was 4.98
This was all after doing an fstrim which I heard was supposed to help solve these problems, but I don't have benchmarks from before, oh and I have 18GB free
i had these lags as well, turned out my device did not like francos kernel at all.
and i think i needed a full wipe since franco has some leftovers that dont get removed when flashimg other kernels.
also had to do it with roanager and not twrp... maybe you have the 2nd device that does not like francos kernel....
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Related
I can even change my io sched with voltage control to the init.d for optimal startup.
Sent from my SGH-T989 using xda premium
Use system Tuner. It works.
Sent from my SGH-T989 using xda premium
Most ROMs support init.d
iwasblown said:
I can even change my io sched with voltage control to the init.d for optimal startup.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
To be sure look for /etc/init.d if that is there you have init.d sub-system.
I am using the CM7 KANG Juggernaut V. 5 and can say it has had init.d since inception.
I have had issues with system tuner and writing the script to the folder, but it seems to be an app issue as I have to choose the init.d option a second time and don't get the action failed toast [had me wondering the first time too] Not sure if maybe there is not enough delay to establish SU as it is running its commands or something else [total shot in the dark I have not seen any source for this app.
For most of the tweaks [sdcard included it is best to choose on boot complete in case you have a competing init.d script installed by the ROM you are using [juggernaut sets SDCard values this way and may be why you think you don't have init.d]. Either use a file manager/text viewer to view the scripts and remove any that have sd card tweaks and then re-choose the init.d option in system tuner to have it re-create its script or choose on boot completion.
Also, you may want to review fauxclock [found on XDA boards and not android market 'Play market [same thing]] just use forum search. That is the app I have had better reactions to adjustments to both speeds and voltage [open FauxClock and swipe from right to left to see voltage adjustment screen it is there]. I personally find my phone fully functions at -75mv [global] without any restarts. Take it slow though try 12.5 wait 10 - 20 min for any restarts boot loops as you casually [or not] use the phone and then increment each 12.5mv step while waiting the 10 - 20 min during some usage [otherwise phone may remain idle and you wont see any restarts until you start to tax the CPU and/or GPU and when you may be doing that might be a time you don't want to have a restart ;-) ]
That is to not say System Tuner is not awesome I do also have the pro version of that for the enable all CPUS [on boot complete] and the SDCard Tweaks [again on boot completion]. Combined with Chainfire 3D [again pro and beta egl driver installed there is a free version as well] and the Supercharger V6 memory usage and OOM tweaking script [search XDA forums] my phone screams!
I have double stock battery life [without any data service tweaks like juice defender [cant have data going in and out need it on always], my screen does not have any of the scrolling stutter I sometimes saw when using stock ROM and I am playing GTA3 anniversary and Deadspace at full graphics quality with absolutely no lag and perfect graphics!!
Also, let me stress these tip and tricks are what I HAVE USED ON MY PERSONAL PHONE I CAN NOT GUARANTEE THAT YOUR PHONE WILL WORK EXACTLY THE SAME OR BE 100% ERROR FREE IF YOU COPY MY SETTINGS as WHEN YOU OVERCLOCK EACH INDIVIDUAL DEVICES CAN REACT IN ITS OWN WAY. ALWAYS RUN FULL NANDROID SYSTEM BACKUPS WHENEVER YOU DO ANY CHANGES AND TAKE TWEAKING IN STEPS DON'T JUST GO TO ONE EXTREME OR ANOTHER AND THEN WONDER WHY YOU HAVE ISSUES. TAKE YOUR TIME AND TEST EVERYTHING.
Well, fauxclock will not adjust my CPU speeds at all it is stock at 1350 max and 392 min, whenever I try to move the sliders it bounces right back to the min max. I think this is because of when I first set my CPU speeds with synergy as my kernel. Writing to synergy's init.d was problem less, but after installing faux .10 or darkside rc2 the init.d was totally unstoppable by any program.
Sent from my SGH-T989 using xda premium
Eugene also mentioned that I'd you are changing the io scheduler to do a hot reboot to prevent lag, which I'd pretty much what my whole concept of writing the CPU gov and io sched to the init.d to prevent an unsettling situation for the io. Oh yeah does anyone have any suggestions to what I should set the cache size to my sd tweaks? Thanx. if anyone knows where to find the sd scripts or the CPU scripts and how to prevent it from applying its own settings and applying the setting from the third party apps like fauxclock, system tuner pro, and xan's voltage control. Also if anyone is having success with another busy box than the ones that are coming with the roms please post the busy box version. I'm beastly at egger end of my wits with the init.d.
Sent from my SGH-T989 using xda premium
Well I listen to what you said and made three etc/init.d folder permissions writable through root explorer after changing the folder to read/write with the button at the top of the screen. now three only problem I have is the io scheduler, fir some reason the phone is intercepting my attempts to make a script startup change. I impure voltage control had made a error toast sung mkdir read only -p failed, which I have no I idea what that mean or where its located, anybody have any training when it comes to this?
Sent from my SGH-T989 using xda premium
Did you use the 1000HP script with v6 supercharger, and which oom tweak did you use?
Sent from my SGH-T989 using xda premium
Which busy box are you using?
Sent from my SGH-T989 using xda premium
If I see my CPU sometimes rising to 1828 max even though the app says 1350 max should I try to use a different app in replacement to the current one and since you should only use one app.
Sent from my SGH-T989 using xda premium
am I asking bad questions?
Sent from my SGH-T989 using xda premium
I have installed PA, stable. Current Clockspeed set to 806 and 1200 MHz. The CPU governor is Performance. IO scheduler is set to Deadline. zzRam is set to default, Allow purging of assets is checked, so is KSM. 16-bit transparency is set too.
After using the phone pretty hard for a month and half, I find the performance not satisfactory. I need to perform frequent restarts to beat the sluggishness. Tried a system reset that made it fast, but only for a few days, if not weeks. Could the sluggishness be because of a slow SD card? I used the one that was free with the phone. I got it off Flipkart, in India.
How do I speed it up? I dont have any UI/skins/Nova or that stuff. No background processes other than WA, FB, Maps and JottaCloud (to sync msgs, which are not frequent.)
Thanks.
Use greenify and use the swap script
Sent from my HTC One V using xda app-developers app
try this: http://forum.xda-developers.com/showthread.php?t=2210880
Be careful abt setting the size coz Cm10 can only use 50mb(just read the thread and you'll get it)
sonrics1993 said:
Use greenify and use the swap script
Sent from my HTC One V using xda app-developers app
Click to expand...
Click to collapse
Greenify looks pretty good. Might take me a while to get my head around it though. If that doesnt help, Ill try to use swap. Is the swap created on the SD or the internal memory?
Thanks.
thetuxracer said:
Greenify looks pretty good. Might take me a while to get my head around it though. If that doesnt help, Ill try to use swap. Is the swap created on the SD or the internal memory?
Thanks.
Click to expand...
Click to collapse
in the cache and data memory to be exact
No PROBLEMS GUARANTEED
although if ur not on sense go for 50mb for cache
Optimisation
Most issues sluggish issues on the HOV are caused by background programs. You could try Tantrums Gapps install to remove all the stuff you don't need. http://forum.xda-developers.com/showthread.php?t=1918616 note that it works on all CM10 based roms.
With regards to the memory card you are right, a faster card will significantly improve the speed of response the phone has. However it won't stop the need to reboot.
As a memory manager I used SmartassV2. Also you can safely up your clock speed to 1470MHz, however when I ran some games this led to a nice warm phone, which is handy in winter :victory: .
The final step with my phone was to go for a full reinstall using as few Titanium restores as possible.
Hope this helps
thetuxracer said:
I have installed PA, stable. Current Clockspeed set to 806 and 1200 MHz. The CPU governor is Performance. IO scheduler is set to Deadline. zzRam is set to default, Allow purging of assets is checked, so is KSM. 16-bit transparency is set too.
After using the phone pretty hard for a month and half, I find the performance not satisfactory. I need to perform frequent restarts to beat the sluggishness. Tried a system reset that made it fast, but only for a few days, if not weeks. Could the sluggishness be because of a slow SD card? I used the one that was free with the phone. I got it off Flipkart, in India.
How do I speed it up? I dont have any UI/skins/Nova or that stuff. No background processes other than WA, FB, Maps and JottaCloud (to sync msgs, which are not frequent.)
Thanks.
Click to expand...
Click to collapse
I have my CPU set at 1.497Ghz with lionheart governor and deadline scheduler Nd it runs real fast and smooth ! Give it a try also like stated above. You can remove apps you don't use at all some run in the background taking up ram for no reason
Sent from my HTC One V using xda app-developers app
Thanks guys for your replies. Greenify is pretty amazing. Have noticed quite a difference in my phone. Will try the configurations mentioned by you also.
Thank you!
Hi,
Im having some huge problems with performance on my phone.
Earlier I was on stock, now I am on x3reme sense
Usually when I go to Apps, and I see space available for apps it shows me around 400mb
When the Phone is really lagging and unresponsive, the space it shows me is around 90mb. I am really confused as to what is eating that space sometimes?
Another issue is that the phone takes over 5 minutes to open a SMS thread, i think it gets stuck in a loop while searching for contacts. Any ideas for improvement?
insanecon said:
Hi,
Im having some huge problems with performance on my phone.
Earlier I was on stock, now I am on x3reme sense
Usually when I go to Apps, and I see space available for apps it shows me around 400mb
When the Phone is really lagging and unresponsive, the space it shows me is around 90mb. I am really confused as to what is eating that space sometimes?
Another issue is that the phone takes over 5 minutes to open a SMS thread, i think it gets stuck in a loop while searching for contacts. Any ideas for improvement?
Click to expand...
Click to collapse
Try different governors & i/o scheduler.
I dont have this problem
i use smartassV2 with bfq
Try it.
OKay. What is the min & max clockspeed you suggest?
insanecon said:
OKay. What is the min & max clockspeed you suggest?
Click to expand...
Click to collapse
i use 205 to 1.5
its upto u http://forum.xda-developers.com/showthread.php?t=1369817
Nishblueweapon said:
i use 205 to 1.5
its upto u http://forum.xda-developers.com/showthread.php?t=1369817
Click to expand...
Click to collapse
Which kernel do you use for bfq? With the kernel I'm using (jmz) I get only a cfq, sio , noop and deadline option
insanecon said:
Which kernel do you use for bfq? With the kernel I'm using (jmz) I get only a cfq, sio , noop and deadline option
Click to expand...
Click to collapse
I m using Titanium kiss
use cfq.
use stock rom.
use stock, over clock or make a swap. I don't know if its psychosomatic but after making a swap all of my problems went away with pacman.
when I oc, I usually keep the min as low as possible, and for the max 1400. I use Lionheart and noop or deadline. it depends. if I'm playing games I usually clock it a little higher.
Sent from my One V using xda premium
I have found out that some phones are slow because of a bug in Android 4.2. I have a way to determine if you have the bug.
1. Download Androbench: https://play.google.com/store/apps/details?id=com.andromeda.androbench2
2. Execute the test (just press on test all)
3. Is the "random write" speed under 2 MB/s? Then you have the bug.
A possible solution for it is (it is a solution for the Nexus 7 but since it is the same bug it may or may not work on the Galaxy Nexus):
1. Fill up the storage completely
2. Format it
It could be fixed. Let me know if it works.
Sent from my Galaxy Nexus using XDA Premium HD app
https://play.google.com/store/apps/details?id=com.grilledmonkey.lagfix use this
send via Samsung Galaxy Nexus with Tapatalk 4 Beta
My random write speed is 0.2 MB/s whether I use the lagfix or not. Running PA 3.65 and AK SKL256. This is pathetic.. :crying:
jaizero said:
My random write speed is 0.2 MB/s whether I use the lagfix or not. Running PA 3.65 and AK SKL256. This is pathetic.. :crying:
Click to expand...
Click to collapse
0.16MB/s before "lagfix", 0.16MB/s after "lagfix".
Edit: I will try the OP's fix later tonight when I get home.
Edit2: By "lagfix" I meant "Lagfix Free" the fstrim implementation on Android mentioned by DJxSpeedy above.
I thought this issue was due to flash degredation?
I have issues with my gnex. Keeps freezing and turning off whenever I do anything really. Gets quite hot as well.
Tried 2 resets and it gets better but comes back again shortly.
Sending it to Samsung for warranty fix.
The nexus 7 does lag and slowdown at times. But a reboot usually solves it. That or freeing up space. I got about 6 gigs free now from the 32GB.
Sent from my HTC One using xda premium
voyager_s said:
I have issues with my gnex. Keeps freezing and turning off whenever I do anything really. Gets quite hot as well.
Tried 2 resets and it gets better but comes back again shortly.
Sending it to Samsung for warranty fix.
The nexus 7 does lag and slowdown at times. But a reboot usually solves it. That or freeing up space. I got about 6 gigs free now from the 32GB.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I was getting Random Write speeds of 0.17 MB/sec through AndroBench. I just tried LagFix right now and it did NOT fix it for me. Post-LagFix, AndroBench reported 0.15 MB/sec. No wonder my phone has been insanely slow. Sigh...
Mine gets realy hot, too. Even if I underclock the phone's CPU and GPU, it still gets hot around the top half of the phone (both sides).
With dynamic fsync enabled in Trickster Mod my random write jumps from 0.2 MB/s to an astonishing 290.14 MB/s. Not sure if these are erroneous due to caching or not. But, that is a significant increase.
Edit: With dynamic fsync enabled I have seen significant increases throughout the benchmark.. Any ideas on why this is occurring?
jaizero said:
With dynamic fsync enabled in Trickster Mod my random write jumps from 0.2 MB/s to an astonishing 290.14 MB/s. Not sure if these are erroneous due to caching or not. But, that is a significant increase.
Edit: With dynamic fsync enabled I have seen significant increases throughout the benchmark.. Any ideas on why this is occurring?
Click to expand...
Click to collapse
I'm not an expert in that area, but I have to wonder if there is caching going on. That number seems too good to be true. However, if true, that is an awesome number.
Sent from my Galaxy Nexus using Tapatalk 2
jaizero said:
With dynamic fsync enabled in Trickster Mod my random write jumps from 0.2 MB/s to an astonishing 290.14 MB/s. Not sure if these are erroneous due to caching or not. But, that is a significant increase.
Edit: With dynamic fsync enabled I have seen significant increases throughout the benchmark.. Any ideas on why this is occurring?
Click to expand...
Click to collapse
Yeah, don't trust it as it doesn't really speed up your storage. Any fsync off/dynamic fsync on benchmarks can be disclaimed as not being real speeds. Both these features disable the fsync function to maintain filesystem integrity. Dynamic fsync actually enables fsync when the screen is on and disables it when the screen is off.
About the OP's report. 2MB/s is amazing for random writes at Androbench's default 4KB. I barely get that on my HTC One which has a faster emmc chip in it in the Galaxy Nexus. 0.2MB/s is more common for the Galaxy Nexus so 0.15 is actually not that far off. There is a whole thread dedicated to fstrim and the lag issue and it mentions lagfix is more detail. 2MB/s is impossible with Androbench's default settings so I don't think slow random write speeds are the only reason for Android 4.2.2 lag. I actually looked into that thread in December and some testing and research concluded that the I/O isn't the only reason and a fresh install won't improve it that much unless you have the emmc performance bug where it slows down a lot when the storage fills up.
I think you have your description of dynamic fsync reversed. When the screen is off, fsync is on. Screen on, fsync off. I think Trickstermod describes it as when enabled and screen on, fsync operation is asynchronous, screen off it is commited synchronously. But I may be wrong, you are a great kernel developer so you know you're stuff.
tiny4579 said:
About the OP's report. 2MB/s is amazing for random writes at Androbench's default 4KB. I barely get that on my HTC One which has a faster emmc chip in it in the Galaxy Nexus. 0.2MB/s is more common for the Galaxy Nexus so 0.15 is actually not that far off. <snip> I actually looked into that thread in December and some testing and research concluded that the I/O isn't the only reason and a fresh install won't improve it that much unless you have the emmc performance bug where it slows down a lot when the storage fills up.
Click to expand...
Click to collapse
I do agree with this. I only get 0.16MB/s and my phone is as snappy as ever. The only time I notice slowdowns are with app updates (way slower than my wife's Galaxy S3) and backups (again the S3 is way faster). Which, to me, is indicative of slow media. I am always on the latest CM stable. (10.1.2 as I write this.) I use no other mods at this time.
---------- Post added at 12:42 PM ---------- Previous post was at 12:38 PM ----------
As I posted the previous post. I did remember that if I let apps run default my Nexus bogs like crazy. Much more so than the S3. I use Greenify (I previously used Autostarts) to keep this in check.
mrgnex said:
I have found out that some phones are slow because of a bug in Android 4.2. I have a way to determine if you have the bug.
1. Download Androbench: https://play.google.com/store/apps/details?id=com.andromeda.androbench2
2. Execute the test (just press on test all)
3. Is the "random write" speed under 2 MB/s? Then you have the bug.
A possible solution for it is (it is a solution for the Nexus 7 but since it is the same bug it may or may not work on the Galaxy Nexus):
1. Fill up the storage completely
2. Format it
It could be fixed. Let me know if it works.
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
I just ran this test on my Galaxy Note 8 running stock rooted Android 4.1.2. And got a result of 1.42mb/s random write. So there seems to be more to this than Android 4.2
Sent from my GT-N5110 using xda app-developers app
t1.8matt said:
I think you have your description of dynamic fsync reversed. When the screen is off, fsync is on. Screen on, fsync off. I think Trickstermod describes it as when enabled and screen on, fsync operation is asynchronous, screen off it is commited synchronously. But I may be wrong, you are a great kernel developer so you know you're stuff.
Click to expand...
Click to collapse
That's what i said. Dynamic fsync disables fsync - off - with the screen on and enables it - on - once the screen is on. The regular fsync is a manual toggle.
Dynamic fsync from faux is off by default in my kernel so fsync would function normally with this off.
Sent from my HTC One using Tapatalk 2
ahh, got ya.
Is this ok with the default settings?
tiny4579 said:
Yeah, don't trust it as it doesn't really speed up your storage. Any fsync off/dynamic fsync on benchmarks can be disclaimed as not being real speeds. Both these features disable the fsync function to maintain filesystem integrity. Dynamic fsync actually enables fsync when the screen is on and disables it when the screen is off.
About the OP's report. 2MB/s is amazing for random writes at Androbench's default 4KB. I barely get that on my HTC One which has a faster emmc chip in it in the Galaxy Nexus. 0.2MB/s is more common for the Galaxy Nexus so 0.15 is actually not that far off. There is a whole thread dedicated to fstrim and the lag issue and it mentions lagfix is more detail. 2MB/s is impossible with Androbench's default settings so I don't think slow random write speeds are the only reason for Android 4.2.2 lag. I actually looked into that thread in December and some testing and research concluded that the I/O isn't the only reason and a fresh install won't improve it that much unless you have the emmc performance bug where it slows down a lot when the storage fills up.
Click to expand...
Click to collapse
Actually, the HTC One has also been known to have this issue.
Well I got higher than 2 MB/s so I thought that a speed below that would couse the lag. Apparantly I am wrong. I have read it somewhere but it seems theyre wrong. At random write I het around 200 MB/s and random read around 10 MB/s.
Sent from my Galaxy Nexus using XDA Premium HD app
Try Forever Gone: https://play.google.com/store/apps/details?id=com.kovit.p.forevergone
Increased performance on my Nexus 7 by a ton. It's still running on my Galaxy Nexus, but I expect the same results
Both my gnex and my N7 are fast. I'm starting to think it's all user side problems.
Sent from my Nexus 7 using xda premium
I touched some no frills cpu control settings and now my benchmark results are about 19000-22000 and it used to be like 24000 i tried changing the rom and all that stuff if someone can give me the stock governator and all frequencys and that stuff it would be helpful.. Thanks i need help i dont know what to do
Now i cant do any better than 23000
rbcios said:
Now i cant do any better than 23000
Click to expand...
Click to collapse
Firstly, I assume by the size score that you are using Antutututu. If so then you always get variance in the scores, and yes it can be 4k difference.
Next, I'm gonna bet that you are seeing thermal throttling, where the device is turning off 2 of the cores due to heat.
I've only noticed this behaviour recently myself. It's a real pain in the arse. I've downloaded trinity kernel app to get around the problem. In his app you can turn off thermal throttling and force the two other Cores to stay on.
This isn't a permanent fix though as the settings don't want to stick for some reason that is beyond me.
Next, is there no reset to default in no frills cpu app ?
Or you can uninstall no frills and make sure you delete any folders off your sd card, then either reflash your rom or you could even flash AICP kernel.
This should get you back to default.
Finally if you still think it's your settings, you could tell us all the settings you have changed and between the guys on the forum we could tell you what to change back to.
All the best rich
**just had a quick look at no frills on play Store. Looks like there's not loads to alter.
I like interactive governer and row scheduler (as we can't get row I use deadline.)
Min frequency wants to be at 384 and max at 1728.
That's the basics.
Sent from my LG-V500 using XDA Premium HD app