100Mhz Problems - Epic 4G Q&A, Help & Troubleshooting

I notice some epics have issues with the 100mhz step in kernels. Some freezes and lockups as well as battery drain. I know we can disable 100mhz with setcpu and voltage control. And that usually fixes the epics with the problem. However i'm curious to know how many people are suffering from this and what else u did to fix it.
Sent from my SPH-D700 using Tapatalk

DaKillaWilla said:
I notice some epics have issues with the 100mhz step in kernels. Some freezes and lockups as well as battery drain. I know we can disable 100mhz with setcpu and voltage control. And that usually fixes the epics with the problem. However i'm curious to know how many people are suffering from this and what else u did to fix it.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Interesting, I have mine set to bottom out at 100Mhz stepping too, and I've been experiencing lock-ups, force-closes and video out-of-synche issues. I'll see if they go away when setting it to 200Mhz bottom speed. 200Mhz should be sufficient to save CPU heat and battery.
Lag should be normal, but lockups shouldn't. Thanks for the heads up.
As of why this happens, there are four possibilities.
1. The kernel has a problem stepping into that particular mode on that particular CPU.
2. There is some issue with hardware buffer overruns in 100Mhz. This is a known nasty problem with under-clocking. Best case the system looses data from the buffer, worst case, the buffer overwrites it's data elsewhere.
3. The CPU, chipset, board configuration or combination thereof is unstable at 100Mhz for any number of reasons (these range from RAM timing issues, to bouncing and glitching issues, to the ever annoying EMI resonance.)
4. Two or more of the above.
Possibility 1 is fixable with an upgrade to a newer kernel that has that particular ARM CPU's clock-scaling mechanism fixed. You can check for it on the Linux kernel change-logs and known bugs lists.
Possibility 2 is fixable with an anticipatory user-space governor that will increase clock speed when activity levels exceed a threshold on the CPU's external bus, a microcode patch or a written kernel patch could also work. (I have a slight clue of a few things that might work, but no clue how to implement them.)
Possibility 3 can only be fixed by means of sanity checks that would drain battery life and defeat the purpose of underclocking to 100Mhz to begin with.
The only exception to the unfixable nature of of Possibility 3 would be if the device is ECC capable, but ECC is deactivated because Samsung and/or Sprint in their allknowing wisdom saw it as the unnecessary bottleneck it was and wanted to squeeze out one or two more points on a benchmark.
They already deactivated CPU clock scaling on the device for the same inspired reasoning, so I wouldn't put it past them to deactivate ECC as well.
Anyways, if anyone wants to run a log check of these freezes, it would be nice. I don't have the time right now to search through long excessive logs, as I have several projects ahead. After my current project I will probably fix it.
p.s.
Sorry for rambling, It's a bad tendency of mine. I normally can control it but I'm a little overtired and have a bad migraine, so please bare with me. Thanks.

On Froyo custom ROMs I would get Sleep of Death at 100 Mhz occasionally. Would remove 100Mhz step with SetCPU but does not happen on Gingerbread ROMs.
Sent from my SPH-D700 using XDA App

Ruedii said:
Interesting, I have mine set to bottom out at 100Mhz stepping too, and I've been experiencing lock-ups, force-closes and video out-of-synche issues. I'll see if they go away when setting it to 200Mhz bottom speed. 200Mhz should be sufficient to save CPU heat and battery.
Lag should be normal, but lockups shouldn't. Thanks for the heads up.
As of why this happens, there are four possibilities.
1. The kernel has a problem stepping into that particular mode on that particular CPU.
2. There is some issue with hardware buffer overruns in 100Mhz. This is a known nasty problem with under-clocking. Best case the system looses data from the buffer, worst case, the buffer overwrites it's data elsewhere.
3. The CPU, chipset, board configuration or combination thereof is unstable at 100Mhz for any number of reasons (these range from RAM timing issues, to bouncing and glitching issues, to the ever annoying EMI resonance.)
4. Two or more of the above.
Possibility 1 is fixable with an upgrade to a newer kernel that has that particular ARM CPU's clock-scaling mechanism fixed. You can check for it on the Linux kernel change-logs and known bugs lists.
Possibility 2 is fixable with an anticipatory user-space governor that will increase clock speed when activity levels exceed a threshold on the CPU's external bus, a microcode patch or a written kernel patch could also work. (I have a slight clue of a few things that might work, but no clue how to implement them.)
Possibility 3 can only be fixed by means of sanity checks that would drain battery life and defeat the purpose of underclocking to 100Mhz to begin with.
The only exception to the unfixable nature of of Possibility 3 would be if the device is ECC capable, but ECC is deactivated because Samsung and/or Sprint in their allknowing wisdom saw it as the unnecessary bottleneck it was and wanted to squeeze out one or two more points on a benchmark.
They already deactivated CPU clock scaling on the device for the same inspired reasoning, so I wouldn't put it past them to deactivate ECC as well.
Anyways, if anyone wants to run a log check of these freezes, it would be nice. I don't have the time right now to search through long excessive logs, as I have several projects ahead. After my current project I will probably fix it.
p.s.
Sorry for rambling, It's a bad tendency of mine. I normally can control it but I'm a little overtired and have a bad migraine, so please bare with me. Thanks.
Click to expand...
Click to collapse
Wow, now that's an explanation! Some phones can hang at 100 some have to be 200 just like not all phones overclock the same but Ruedii's explanation really gets down to the reasons why. Nice
Sent from my Nexus S 4G using Tapatalk

Damnnn Reudii where u been hiding at.... lol
I do believe the people who own epics that can't go to 100mhz are suffering serious data corruption. I think most people don't know it, and there popping up with bugs in a rom thinking it was something else that was causing it. I also believe that they also have a serious battery drain. This the reason some people get 20hrs or less battery life and some people claim 40hrs or more. I don't understand why they even put a 100mhz step in the kernel when the 200mhz uses the same voltage. So whether it be 100mhz or 200mhz it wouldn't make a difference on battery being used. I'm sticking with 200mhz.
Sent from my SPH-D700 using Tapatalk

I have no problems running at 100mhz
I am stable at these frequencies with these voltages - I really don't go wild with undervolting - this setting has worked on 4 of my epics, as they were all set up the same (I also have 145'ish 3rd part apps both paid and free).
1400mhz - stock voltage only - otherwise unstable less than 50% of the time - has the worst battery drain if I play a game and gets warm also
1300mhz - minus 25mv
1200mhz - minus 25mv
1120mhz - minus 25mv
1000mhz - minus 25mv
800mhz - minus 25mv
600mhz - minus 50mv
400mhz - minus 50mv
200mhz - minus 50mv
100mhz - minus 50mv
Not a single glitch, but you can see, I do things very mildly. All for epics run with what is in my signuture.

Related

How can i overlock my htc evo? Is it safe?

Sent from my PC36100 using XDA App
http://forum.xda-developers.com/forumdisplay.php?f=652
I've had my phone overclocked 15% for months now...I pre-ordered and picked it up on June 4th (the day they were released to the public) and it's never been replaced. I rooted it right away using the engineering hboot method, and I immediately went to a rooted stock rom with a kernel that'd allow overclocking the very first time I saw one posted on this forum. I've never been able to run it at anything higher than 1152 mhz, but I've also never had any stability issues at 1152 mhz. I also allow it to go as low as 128 mhz all the time.
Since then I've played with various roms, and various kernels, but the first thing I've done when changing any rom or kernel, is always set the min and max CPU speeds again, and decide which governor to use. I've also always played with the undervolting strategies, from static to HAVS, and I've always been able to get away with the most agressive stuff posted without any stability issues.
Your mileage may vary, but thats been my experience with an overclocked Evo. I will admit I can barely notice the performance difference from 998 mhz to 1152 mhz, but I actually notice a battery life improvement...get it done faster so the CPU can go back to idling at a low frequency as soon as possible mentality I guess.
please watch what you say here. its not going to get you any help to curse and swear at other members. last warning
@MikeOD, which governor and what governor parameters have you found to work best for you?
I think the whole overclock boils down to what you do with your phone. If nothing overly cpu intensive, then there's likely to be little gain in the amount of saved time.
I actually have mine under clocked at 921 Mhz (came that way in the rom initially). UI was fluid enough and everything still seemed to work well/responsive. I get slightly better battery life too. Noticeable in the rate the batt % declines during active tasks (web browsing).

Re: Post by user splus in Franco.kernel thread

Re: Post by user splus in Franco.kernel thread
Sorry to post in this forum, but I don't have the minimum post count yet to post in the development forums
I read a post today by splus which I found very interesting,
In r220 hispeed_freq parameter in governor control has been changed from 1200000 (was an old value from first version of Franco JB kernel) to 1228000. As a result CPU now spends most of its time at either at 384 or 1228 MHz, and much less time at higher frequencies.
For some reason if speed_freq value is set to a step lower than 1228000 then it will make CPU to use all higher frequencies in a more balanced way.
What I noticed is that for 1036 it needs to have slightly higher value of 1037000, because 1036000 will put the CPU only to 729 MHz. This is probably because the real 1036 MHz frequency is something like 1036.xx MHz, so it's best to set speed_freq value to a 1000 more than the desired frequency.
Hispeed_freq parameter is just an initial higher speed frequency that CPU will jump to when there's some CPU load. And if the CPU load is still high after the CPU goes into this frequency (in other words if this frequency is not enough to finish the job) then interactive governor will put the CPU in even higher frequencies.
On stock JB kernel max frequency is 1200 MHz, and hispeed_freq is 700000.
When speed_freq is set to 1228000 it will use mostly 384 and 1228 MHz frequencies.
Set speed_freq to 1037000 (or previous 1200000) and more higher frequencies will be used.
There's certainly many possibilities to play with min and max CPU values, together with speed_freq to come to the best values. And probably for each max CPU frequency different speed_freq value would work best...
Click to expand...
Click to collapse
but I wanted to learn more so I did a lot of Googling about the parameters of the interactive governor. Unfortunately, I kept finding the same few beginners' guides to the different governors available, explaining and comparing their capabilities. There was no advanced explanation of the parameters or their possible valid values.
I found this post by RootzWiki user abqnm, which shed a little more light on the hispeed_freq parameter, and input_boost also. From what I've read on various sites, the input_boost seems to be a binary parameter, so setting it to 1 should jump the CPU up to the frequency specified in hispeed_freq immediately upon detecting a screen touch event. This would make your GNex feel a bit more responsive, without having to wait for the CPU to hit load, but it could negatively affect battery life. In my case, running 729/1612 with hispeed_freq set down at 1036MHz (1037000 in governor control), it's not that big a jump and opening a couple of apps would likely push my speed up beyond it soon anyway, so the battery hit would probably not be much.
As splus said:
After lot of fiddling I found it works best when hispeed_freq is set to 1037000 (not 1036000, it looks like that frequency is actually closer to 1037 MHz so 1036000 doesn't "reach" it).
Click to expand...
Click to collapse
so using 1036000 in governor control would correspond to the next step down, 729MHz. I know it's easy enough to stick on an extra 1000 for safety, to ensure we hit the right steps, but I'd be curious to know the exact kHz values we could be using.
I'm off to start experimenting with undervolting these new CPU freqs, and my 512GPU Core to reduce my temps a bit.
In case anyone asks, I'm on stock JRO03C w/Franco r220 512GPU.
Very good post! Welcome to XDA! :good:
I'll link to your post on the franco thread just so it gets a couple views from people there.
Edit: I see that you've actually been here awhile! Go help a few more people so you can contribute in the Dev forum.
Yup, that's me... total lurker! I usually defer to the wisdom of the devs and seasoned members, and 99% of the time if I've had a problem/question re my Nexus it's already been posted and there are whole conversations for me to read and digest. I hate the idea of clogging up a thread with a "me too" or "thanks" post, so generally if I don't have something useful to contribute I keep quiet and hang in the shadows. I only come out to feed.
So basically, I'm a knowledge vampire.
That's enough OT... Franco stuff!
I've previously read droidphile's governors thread to which splus linked in their reply to your repost in Franco.kernel. In post #2, containing the governor tweaks (which I found very useful) even droidphile seems to have the wrong idea about the "hispeed_freq" parameter, stating:
(Default value is scaling max freq)
Click to expand...
Click to collapse
The same section also omits any mention of the "input_boost" parameter.
My undervolting is going well. Inspired by the voltages on rogersnm's signature, I'm currently running these:
Code:
1612 - 800 mV
1536 - 750 mV
1420 - 750 mV
1305 - 750 mV
1228 - 725 mV
1036 - 725 mV
729 - 700 mV
384 - 700mV
CORE -
512/384 - 900 mV
307 - 900 mV
153 - 825 mV
IVA -
266 - 600 mV
133 - 600 mV
I added an extra 100mV to the seemingly rock bottom CPU voltages for safety, but I'll try to reduce them gradually. I've been stable for over 40 hours so far on this setup. With r220, Franco really seems to have nailed it!
BTW, thanks for reposting in the Franco.kernel thread :highfive:
Fantastic. Keep us updated on your progress with voltages, seems like you're doing a great job!
Also, happy to help!
nemotheblue said:
Code:
1612 - 800 mV
1536 - 750 mV
1420 - 750 mV
1305 - 750 mV
1228 - 725 mV
1036 - 725 mV
729 - 700 mV
384 - 700mV
CORE -
512/384 - 900 mV
307 - 900 mV
153 - 825 mV
IVA -
266 - 600 mV
133 - 600 mV
I added an extra 100mV to the seemingly rock bottom CPU voltages for safety, but I'll try to reduce them gradually. I've been stable for over 40 hours so far on this setup. With r220, Franco really seems to have nailed it!
BTW, thanks for reposting in the Franco.kernel thread :highfive:
Click to expand...
Click to collapse
I'm trying these too. So far so good!
Hi nemotheblue. Good post and findings!
I'm just looking at those voltage values you wrote - are you sure you turned off the SR?
If you haven't don't turn it off with those voltages because you'll get an instant reboot, they seem super low.
Rogersnm wrote and fiddled a lot with voltages, some very good posts.
Better go back to stock voltages, turn off the SR, and then go little by little down with frequencies. When adjusting each frequency best is to set that particular frequency as min (or max if it is higher) frequency so the CPU actually uses it.
And when you get a reboot then just use 25mV higher than the one with reboot.
I'd suggest to have fsync turned on when you fiddle with voltages because that will lessen the possibility of loss of data when phone reboots.
Another thing to have in mind is that even some combinations of frequencies do not work together. Some frequency might work OK with certain voltage with certain max/min frequencies but might not with other min/max frequencies. It looks like the actual change from one frequency to another (and depends from which to which) can determine a lot if a voltage is stable or not.
Also, it apparently very much depends on a ROM you use - different ROMs will probably need readjustment of voltage table.
Undervolting actually won't help much with battery life, smart reflex does a very good job already. It would help most if you game a lot or use your phone heavily, so then when higher frequencies are used the phone would get less hot and use slightly less power.
Otherwise, and especially if you change ROMs, I'd say it isn't worth the trouble.
nemotheblue said:
..................................
I've previously read droidphile's governors thread to which splus linked in their reply to your repost in Franco.kernel. In post #2, containing the governor tweaks (which I found very useful) even droidphile seems to have the wrong idea about the "hispeed_freq" parameter, stating:
..............................
Click to expand...
Click to collapse
Since there's lot of info to cover, mistakes can happen. I'll correct it if something is wrong.
Anyhow, if you check the interactive governor code,
if (!hispeed_freq)
hispeed_freq = policy->max;
This means if kernel default for the value of hispeed_freq=0, then it's assigned to policy_max aka scaling_max.
hispeed_freq is kinda like max_load_freq for ondemand.
Btw, input_boost is not available for interactive governor 'designed' for i9100 GS2 with Exynos chip. I don't know about Gnexus' Omap. Since i take one of the GS2 kernel as reference, governors params are kinda specific to i9100 and exynos architecture.
splus said:
Hi nemotheblue. Good post and findings!
I'm just looking at those voltage values you wrote - are you sure you turned off the SR?
...
I'd suggest to have fsync turned on when you fiddle with voltages because that will lessen the possibility of loss of data when phone reboots.
...
Undervolting actually won't help much with battery life, smart reflex does a very good job already. It would help most if you game a lot or use your phone heavily, so then when higher frequencies are used the phone would get less hot and use slightly less power.
...
Click to expand...
Click to collapse
@splus Wow, thanks for joining in on my little thread! Rest assured, before I started my tinkering I turned SR off and fsync on. I've read all 2306 pages of the Franco.kernel thread and avidly followed several conversations within it. I don't mind being a bit adventurous and trying out tweaks and mods; I just prefer to let other, more educated people try it first! I'm a measure twice, cut once kinda guy.
I followed rogersnm's undervolting saga in the Franco thread up to a couple of weeks ago, and recently caught up with his linaro thread, but I was as amazed as you seem to be at the tiny numbers he's currently reporting.
That being said, the voltages I reported were totally stable for me the last 3 days, until tonight. Tonight, I went to a double bill of Batman Begins and The Dark Knight - 5 hours in a huge, sold out cinema with easily 1,000 people. By the second movie, the room temperature was in the high 30s, if not 40C. I got an email, had a read, tapped back to inbox and BAM! The screen froze for about 3 seconds, then rebooted. The crazy thing is, I tried an hour later to reapply the undervolt and it froze straight away. I'm back on SR for a while, but I might try again tomorrow.
My original intention with the undervolting was just to drop the CORE, because I'm getting great performance from the 512GPU, but I notice the area under the camera on the back of the phone can get pretty hot if I'm playing games or watching a video for >30mins. Granted, I don't do that too often, but I figured it'd be nice to eliminate the extra heat. Once I saw the power saving calculations in rogersnm's chart, I was convinced to go the whole hog. The jury's out...
droidphile said:
Since there's lot of info to cover, mistakes can happen. I'll correct it if something is wrong.
Anyhow, if you check the interactive governor code,
if (!hispeed_freq)
hispeed_freq = policy->max;
This means if kernel default for the value of hispeed_freq=0, then it's assigned to policy_max aka scaling_max.
hispeed_freq is kinda like max_load_freq for ondemand.
Btw, input_boost is not available for interactive governor 'designed' for i9100 GS2 with Exynos chip. I don't know about Gnexus' Omap. Since i take one of the GS2 kernel as reference, governors params are kinda specific to i9100 and exynos architecture.
Click to expand...
Click to collapse
@droidphile Thanks for taking the time to reply. I didn't mean to sound like I was attacking your guide; I'd just read conflicting information from multiple other sources and played the numbers. I was labouring under the false assumption that all interactive governors are created equal. Is there some kind of official/original reference/guide/man page for the governors and their parameters, or are you devs left to interpret the code for yourselves?
I must admit, I'm more confused than ever now. I just can't reconcile your explanation with splus' claim that hispeed_freq=1037000 is the sweet spot for getting interactive to use the intermediate freqs up to a max well above 1036MHz???
nemotheblue said:
@splus Wow, thanks for joining in on my little thread! Rest assured, before I started my tinkering I turned SR off and fsync on. I've read all 2306 pages of the Franco.kernel thread and avidly followed several conversations within it. I don't mind being a bit adventurous and trying out tweaks and mods; I just prefer to let other, more educated people try it first! I'm a measure twice, cut once kinda guy.
I followed rogersnm's undervolting saga in the Franco thread up to a couple of weeks ago, and recently caught up with his linaro thread, but I was as amazed as you seem to be at the tiny numbers he's currently reporting.
That being said, the voltages I reported were totally stable for me the last 3 days, until tonight. Tonight, I went to a double bill of Batman Begins and The Dark Knight - 5 hours in a huge, sold out cinema with easily 1,000 people. By the second movie, the room temperature was in the high 30s, if not 40C. I got an email, had a read, tapped back to inbox and BAM! The screen froze for about 3 seconds, then rebooted. The crazy thing is, I tried an hour later to reapply the undervolt and it froze straight away. I'm back on SR for a while, but I might try again tomorrow.
My original intention with the undervolting was just to drop the CORE, because I'm getting great performance from the 512GPU, but I notice the area under the camera on the back of the phone can get pretty hot if I'm playing games or watching a video for >30mins. Granted, I don't do that too often, but I figured it'd be nice to eliminate the extra heat. Once I saw the power saving calculations in rogersnm's chart, I was convinced to go the whole hog. The jury's out...
@droidphile Thanks for taking the time to reply. I didn't mean to sound like I was attacking your guide; I'd just read conflicting information from multiple other sources and played the numbers. I was labouring under the false assumption that all interactive governors are created equal. Is there some kind of official/original reference/guide/man page for the governors and their parameters, or are you devs left to interpret the code for yourselves?
I must admit, I'm more confused than ever now. I just can't reconcile your explanation with splus' claim that hispeed_freq=1037000 is the sweet spot for getting interactive to use the intermediate freqs up to a max well above 1036MHz???
Click to expand...
Click to collapse
Yeah, if you do some gaming and more intensive stuff then it might be worth to find some good voltage values.
Still, those voltages seem pretty far from what hardware would be capable of running so that makes me think the SR check box wasn't really displaying its actual state somehow.
If you were using Franco's app did you check the last tab to see if mV values at certain frequencies were the same as in your table? If yes then I'm just amazed you were able to run it that way...
Anyway, good luck with further undervolting, please post your stable voltages when you find them...
If you have higher OC CPU frequency as max value in interactive (I'm talking about GNex, every chipset behaves differently) then it looks to me that if you set hispeed_freq to 1228000 the CPU would often just stay at that frequency, as if the system decides that it's enough to finish the job. But if you set it to 1037000 then it often determines it is not enough and scales the CPU to higher frequencies, and then you get the CPU to actually use higher frequencies as well.
Other direction would be to set hispeed_freq to even higher frequencies and that'll definitely make it more responsive but at a battery life cost.
The most responsive system would be that CPU goes to max whenever there's something happening. Google actually said at their IO that they tuned JB to go to max frequency at any touch but if you use the stock kernel and check CPU Spy charts you'll see that CPU goes initially only to 700 MHz.
There are other parameters, but it's all about finding a sweet spot for performance and battery life...
Needless to say, tuning all those governor parameters is greatly dependent on available frequencies, programmatically implemented governors and its parameters (which can be changed, a kernel developer can design and implement his own governor and its parameters) and especially chipsets and the way they behave. Every device is very different...
I think we would have better performance if there would be less frequencies in a kernel than currently in Franco's, but if the CPU is really efficient at scaling frequencies up and down through many steps all the time then maybe not.
Either case life goes on and I'm looking forward to see that new Batman myself in couple of days!
Fine folk of XDA,
Apologies for my long absence! I wasn't abandoning the thread; I got a call to work on a short film and had an insane 10 days of 13-16 hour working days and my brain was just too tired in the evenings to keep up with testing and tweaking. Plus, I needed my phone 24/7 stable to handle the continuous flow of calls, texts and emails from the production office.
So, I reverted to SR and dropped my max freq to 1228 and had no problems.
Catching up on the Franco thread tonight, I read a post by daggerxXxsin saying
I am running 600mv on 384-729 and 675mv on 1036-1228. Only works when I'm on 512gpu though. No random reboots or nothin'. Plays games like a champ and never heats up (temp never goes higher than 45°)
Click to expand...
Click to collapse
I'm currently trying these out on 729-1228 with SR off and fsync on, along with the following:
Code:
CORE -
512/384 - 900 mV
307 - 900 mV
153 - 825 mV
I'm gonna leave IVA alone on SR. I never really noticed any difference undervolting it before, and I figure if I'm pushing my MPU voltages so low, I'm just begging for crashes so it's best not to mess with anything that would affect I/O.
I'm currently running r225 512GPU, and I had some wifi issues where the indicator would frequently switch from blue to grey and lose the connection. However, having read some frequent posts in the Franco thread, I've switched from CWM to TWRP, wiped caches and reflashed Franco so I'll wait and see if the problem resurfaces.
BAH! Screw it, I just refreshed the Franco thread and r230 is out. Gonna flash and see how I get on...
Hi again nemo, just stumbled on this thread again
Wondering what posts indicate that CWM vs. TWRP recoveries would make a difference for the booted OS's Wifi/Google Services connectivity?
As I understand it JB in general just has a bit of a Wifi problem vs. ICS and even with ICS the Galaxy Nexus does vs. any other phone. I'm currently having acceptable Wifi using franco 241 (which has a new IO scheduler which makes things feel extremely snappy).
I'm pretty sure all I based that decision on was this discussion in the Franco.kernel thread. In retrospect, kinda half-baked but I must say I'm impressed with this recovery anyway!
I'm still following the thread religiously, rocking M5 at the moment though I'll likely jump on the first 512GPU nightly that comes out. I spent hours yesterday reading the MiNCO and MiNCO+ threads, very carefully backed up, then flashed v4 and immediately ran into this major roadblock and ended up reverting. Further study is required...
A few things come to mind with that storage problem:
1) Maybe that the sdcard bin (as is also in franco's cwm zips) is installed and messing things up weirdly. You'll need to push the stock one back (first post of franco.Kernel thread iirc).
2) A recent ROM Manager bug where .nomedia files were getting placed in the /sdcard/ top level folder, so you might want to investigate that with adb shell (though this would be weird considering you say you're using TWRP and ROM Manager is CWM).
3) Go to Apps > All > MediaStorage, Force Stop and clear data+cache. Reboot to have MediaScanner rebuild the MediaStore.
Edit: Just saw your post in the linked thread... looks like you tried 2+3... so try 1?
osm0sis said:
...1) Maybe that the sdcard bin (as is also in franco's cwm zips) is installed and messing things up weirdly. You'll need to push the stock one back (first post of franco.Kernel thread iirc)...
Click to expand...
Click to collapse
Very clever! Way to think outside the box, ossie :highfive:
I should have time to try again tonight, so I'll let you know how it plays out. While I'm at it, I'm excited to try out DarkJelly's inverted gapps, but I'll make sure to tackle the storage problem before flashing any apps/mods
So I couldn't wait!
I was unable to shake the feeling I might have just had a bad download of MiNCO, so I grabbed a fresh copy before I began. Flashed the ROM, Gallery worked fine. Flashed a navbar/battery icon mod, Gallery still ok. Gapps, no problem. Inverted apps, smooth sailing!
I now have a fully functional, customised ROM and no storage problem whatsoever. I must've just borked the first MiNCO download...
All's well that ends well
And I successfully tricked you into making your 10th post, so my work here is done! :laugh:
Now come join us in the main thread :good:
osm0sis said:
And I successfully tricked you into making your 10th post, so my work here is done! :laugh:
Now come join us in the main thread :good:
Click to expand...
Click to collapse
Nice one! :highfive:

Ktoonservative! Governor explained

In this thread we will discuss governors.
Primarily differences between ondemand and conservative based ones. This thread was created because ktoonsez made a hotpluging conservative governor. ... perhaps this needs explanation for the general community, that will imo prove the vast superiority of conservative based governors. First here is a link about governors in general it is sort of abridged but, covers allot of governors http://blog.g4team.com/?p=5519
As you can see it makes mention that most of these governors are similar to ondemand. So outlining the major differences. Ondemand scales to the highest frequency as soon as a load occurs. Conservative scales upward based on the frequency step variable which means for the most part will scale through every frequency to achieve the target load thresholds. What this practically means is ondemand is prone to wasting power on unneeded clock cycles. Ondemand also features something called a down differential, this variable determines how long the governor will remain at the given frequency before scaling down. Conservative does not have this, but instead relies on having a down threshold which insures that as soon as the load drops below a given variable it scales down as fast as the sampling rate allows. The result to this is a governor which attempts to keep the load level tolerable and save you battery! Now ! Ktoonservative Is that but in addition contains a hotpluging variable which determines when the second core comes online. The governor shuts the core off when it drops below the hotplug down threshold thus giving us a handle on the second performance factor in our CPUs behavior. While by default conservative is a poor performer it can be made to perform comparably to even performance governor. Here are some settings to discuss and start with. They are slightly less battery friendly under a load but very very well performing.
after realizing just everything mpdecision does i recommend turning it off for this govenor to work properly "stop mpdecision" in the terminal should do. it not only allows for things like benchmarks to lock frequency but generally will disturb these settings under a load, it will do something completely different. so when i turned it off i discovered the govenor behaving differently....more over exactly as you would expect this also meant with some ideas from mw86 that we dont really need touch booster. id recommend the first set of settings and use the last if you want mpdecision on. despite looking less aggressive for battery savings they usually will be with the absence of mpdecision
SAMPLING_RATE="15000"
UP_THRESHOLD="67"
DOWN_THRESHOLD="47"
FREQ_STEP="3"
SAMPLING_DOWN_FACTOR="1"
IGNORE_NICE_LOAD="0"
UP_THRESHOLD_HOTPLUG="85"
DOWN_THRESHOLD_HOTPLUG="33"
SAMPLING_RATE="40000"
UP_THRESHOLD="67"
DOWN_THRESHOLD="52"
FREQ_STEP="5"
SAMPLING_DOWN_FACTOR="1"
IGNORE_NICE_LOAD="0"
UP_THRESHOLD_HOTPLUG="68"
DOWN_THRESHOLD_HOTPLUG="40"
And here is the link for the kernel containing such http://forum.xda-developers.com/showthread.php?t=1800576
A further edit for jb builds most benchmarks are niced so you must turn off ignore nice load to test settings with them
Sent from my SPH-L710 using Tapatalk 2
The results
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/IMG]
Sent from my SPH-L710 using Tapatalk 2
Great post and discussion freecharlesmanson. I'm using your specs above and FREQ_STEP="5" I changed to 1, so it would be more like Lazy governor and save me extra power at the cost of a little lag since it must go through the full frequency scale instead of jumping to target frequency in a step or two. Watching cpu frequency in a graph shows this governor and your tweaks do great at being conservative but with power ready to be tapped. For frequency step at 1 im seeing stuff that ramped up in no time takes a half a sec more due to the frequency ladder it must climb... but I'm hoping it will mean it only uses high frequencies when its been under load for quite some time and not just from a basic background task I may care little about the speed in which its completed. Battery life is through the roof with this governor and Ktoonsez Kernel.
edit: if i set down threshold to 60 does it save more power without a lot of complications or does it cause large hiccups or uneeded frequency changing? would it be better to be near 50, stay at 45 or drop down under to 40-35? i was using your settings in other kernel thread but now using yours here and the rest as mentioned.
mw86 said:
Great post and discussion freecharlesmanson. I'm using your specs above and FREQ_STEP="5" I changed to 1, so it would be more like Lazy governor and save me extra power at the cost of a little lag since it must go through the full frequency scale instead of jumping to target frequency in a step or two. Watching cpu frequency in a graph shows this governor and your tweaks do great at being conservative but with power ready to be tapped. For frequency step at 1 im seeing stuff that ramped up in no time takes a half a sec more due to the frequency ladder it must climb... but I'm hoping it will mean it only uses high frequencies when its been under load for quite some time and not just from a basic background task I may care little about the speed in which its completed. Battery life is through the roof with this governor and Ktoonsez Kernel.
Click to expand...
Click to collapse
Yep if you can deal with the lag it will do the trick . You could try to slightly raise that number and just raise the up threshold and hot plug threshold allot like 85 up and 80 hotplug. Then raise the freq step to 2 or three maybe it might give a similar result by discouraging up scaling thru the demand end but would allow quicker scaling ever so slightly with less likelihood of jumping steps. By my math each freq step represents 4.3% total available scaling
Sent from my SPH-L710 using Tapatalk 2
Great work on this, appreciate you taking the time to explain it all!
Sent from my SPH-L710 using xda app-developers app
I can't stand any form of lag! Complete smoothness is the way to be
Sent from my SPH-L710
Lol if you're lagging using conservative with your shiny S4, you're doing it wrong.
I've used conservative exclusively over ondemand ever since root was achieved with my Epic4g which uses the 1ghz hummingbird processor and there's no lag...
I now use smartassv2...seems to give even faster performance and shuts things down quicker than conservative!
Sent from my SPH-D700 using xda app-developers app
A_Flying_Fox said:
Lol if you're lagging using conservative with your shiny S4, you're doing it wrong.
I've used conservative exclusively over ondemand ever since root was achieved with my Epic4g which uses the 1ghz hummingbird processor and there's no lag...
I now use smartassv2...seems to give even faster performance and shuts things down quicker than conservative!
Sent from my SPH-D700 using xda app-developers app
Click to expand...
Click to collapse
Smart ass is based on interactive my issue still falls with load regulation. Most of that it seems like it would race thru frequency more. Which may deliver good performance but if at all it would deliver the same but worse battery
This is how well it works for idle regulation and I should point out smart ass doesn't hotplug so in turn because it cannot regulate the second core most likely results in less efficient scaling and if the second core preempted scaling it offers more performance than scaling right off ,those screens are of it being used alittle before bed then alittle more after I woke up
Sent from my SPH-L710 using Tapatalk 2
Just applied values. So far so good. I was just curious, are you over clocking at all? Would it be safe to run this thing at 2106?
Sent from my SPH-L710 using xda app-developers app
drewmonge said:
Just applied values. So far so good. I was just curious, are you over clocking at all? Would it be safe to run this thing at 2106?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Rofl. Anything over 1.5 is a waste.
Sent from my SPH-L710
drewmonge said:
Just applied values. So far so good. I was just curious, are you over clocking at all? Would it be safe to run this thing at 2106?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Its a governer not voltage settings so I can't see why you'd have a problem
Sent from my SPH-L710 using Tapatalk 2
Custodian said:
Rofl. Anything over 1.5 is a waste.
Sent from my SPH-L710
Click to expand...
Click to collapse
Fantastical.
Sent from my SPH-L710 using xda app-developers app
Freecharles manson I was tinkering more and decided to go in a different direction. can you tell me how this would act theoretically? it seems to do good at no lag and saves power still.
SAMPLING_RATE="13500"
UP_THRESHOLD="49"
DOWN_THRESHOLD="23"
FREQ_STEP="1"
SAMPLING_DOWN_FACTOR="4"
IGNORE_NICE_LOAD="1"
UP_THRESHOLD_HOTPLUG="24"
i chose these because I have a theory on single core load vs dual core load in our multi core setup. Since the governor can be multicore aware... I was thinking about what that means.
dual core cpu 100% load = 1 core 100% and the other. dual core 50% load can mean 1 core is at 100% load and second core 0% or anything in between to 50% on both the cores which is still the same... 50% load of a dual core cpu. So lets just say a rouge app pegs at 100% load regardless of 2nd core status. If we set up threshold or hotplug above 50% it means the load to up the frequency or amount of cores activated must be over the load of having 1 core fully loaded to 100% to activate.. ie one at 100% and the other a little over or vise versa both cores loaded to 51% total atleast. So I want my up threshold for frequency at 50% area so if one core ever loads to 100% it adds a frequency step. At the same time I want my second core to activate not while idle but at any load under the upthreshold. So to still save power i want down threshold just under the load required to activate core 2. So 25% seems like a good number. it is equivalent to a 50%load on one core alone or a balance of 25% load over both cores. So down threshold 1 percent under that so unless load is above that it lowers frequency as needed.
so to make sure its easier for the thresholds to jump in at right time i dropped each measurement 1% so it wouldn't literally need 100% load single core to up the frequency. so thats why i went 49%, 24% and 23%. this way the cpu doesnt often stay at a full load unless needed but ramps up when things take a few to calculate and hopefully finish faster saving juice by using the closest matched speed needed. To save power the frequency step is minumum but by the way thresholds are set it will ramp it up very quickly to whats needed even under light loads. battery life hasnt been too bad set like this over the day.
any thoughts on this and if it will work how I am hoping? I'm not sure the direction i took this for my personal use but my goal is a Conservative on demand governor with good hotplugging and to be sure it doesnt use speeds which are overkill for the task nor underpowered either. lazy Ktoonservative
i played around with the values differently and didn't like having hot plug kick in after frequency increase. i figure as load increases from zero it will stay at lowest speed till 23% then at 24% core 2 will kick in and if that doesn't lower cpu load by time it reaches 49% load it will stay in dual core and go up one cpu step... if load doesnt drop it will continue to add speed and stay in dual core. but as soon as load drops below 49% speed will stay same and then core two will shut off at 24% and either finish the work load at that speed in single core, drop to lowest cpu speed in single core or as needed renenable core two to start process all over and therefore either finishing work load or ramping again while in dual core up in frequency till load once again drops into the threshold ranges.
Custodian and Freecharlesmanson i respect your info and would love to know how accurate this is. I am new to Android as of this year but not new to cpus so if you have advice or feedback for this discussion Id be very appreciative.
So my issue atm is with ES explorer scrolling. It's super choppy.... I'm exploring more values in hopes of finding a sweet spot. I can confirm that the choppiness doesn't exist on ICS but does on asop ROMs. So I'm trying to see what's up now.
Sent from my SPH-L710
mw86 said:
Freecharles manson I was tinkering more and decided to go in a different direction. can you tell me how this would act theoretically? it seems to do good at no lag and saves power still.
SAMPLING_RATE="13500"
UP_THRESHOLD="49"
DOWN_THRESHOLD="23"
FREQ_STEP="1"
SAMPLING_DOWN_FACTOR="4"
IGNORE_NICE_LOAD="1"
UP_THRESHOLD_HOTPLUG="24"
i chose these because I have a theory on single core load vs dual core load in our multi core setup. Since the governor can be multicore aware... I was thinking about what that means.
dual core cpu 100% load = 1 core 100% and the other. dual core 50% load can mean 1 core is at 100% load and second core 0% or anything in between to 50% on both the cores which is still the same... 50% load of a dual core cpu. So lets just say a rouge app pegs at 100% load regardless of 2nd core status. If we set up threshold or hotplug above 50% it means the load to up the frequency or amount of cores activated must be over the load of having 1 core fully loaded to 100% to activate.. ie one at 100% and the other a little over or vise versa both cores loaded to 51% total atleast. So I want my up threshold for frequency at 50% area so if one core ever loads to 100% it adds a frequency step. At the same time I want my second core to activate not while idle but at any load under the upthreshold. So to still save power i want down threshold just under the load required to activate core 2. So 25% seems like a good number. it is equivalent to a 50%load on one core alone or a balance of 25% load over both cores. So down threshold 1 percent under that so unless load is above that it lowers frequency as needed.
so to make sure its easier for the thresholds to jump in at right time i dropped each measurement 1% so it wouldn't literally need 100% load single core to up the frequency. so thats why i went 49%, 24% and 23%. this way the cpu doesnt often stay at a full load unless needed but ramps up when things take a few to calculate and hopefully finish faster saving juice by using the closest matched speed needed. To save power the frequency step is minumum but by the way thresholds are set it will ramp it up very quickly to whats needed even under light loads. battery life hasnt been too bad set like this over the day.
any thoughts on this and if it will work how I am hoping? I'm not sure the direction i took this for my personal use but my goal is a Conservative on demand governor with good hotplugging and to be sure it doesnt use speeds which are overkill for the task nor underpowered either. lazy Ktoonservative
i played around with the values differently and didn't like having hot plug kick in after frequency increase. i figure as load increases from zero it will stay at lowest speed till 23% then at 24% core 2 will kick in and if that doesn't lower cpu load by time it reaches 49% load it will stay in dual core and go up one cpu step... if load doesnt drop it will continue to add speed and stay in dual core. but as soon as load drops below 49% speed will stay same and then core two will shut off at 24% and either finish the work load at that speed in single core, drop to lowest cpu speed in single core or as needed renenable core two to start process all over and therefore either finishing work load or ramping again while in dual core up in frequency till load once again drops into the threshold ranges.
Custodian and Freecharlesmanson i respect your info and would love to know how accurate this is. I am new to Android as of this year but not new to cpus so if you have advice or feedback for this discussion Id be very appreciative.
Click to expand...
Click to collapse
Well I'll explain it this way despite the freq step being low the issue is it will aim to unload the first CPU at 49% which won't take much after that while it will rest eventually because it is still so low on hotplug the second core will be constantly on. The second core offers more performance but much much more battery then slightly increases clock rate the issue is balancing that because so often you either end up with the clock rate racing up wards or the core staying on. . Personally don't take a shot in the dark. Take settings you know work and work towards your idea incrementally recording the changes the CPU time states record I think though not allowing the CPU to shift a full state up will be to major detriment to performance. Per CPU freq state is 4.3% I have found over 80% on available cores causes stuttering . I gave the settings a spin looks like the second core is on a bit much so you'd want to balance that out. But test test test test and let me know
Sent from my SPH-L710 using Tapatalk 2
Custodian said:
So my issue atm is with ES explorer scrolling. It's super choppy.... I'm exploring more values in hopes of finding a sweet spot. I can confirm that the choppiness doesn't exist on ICS but does on asop ROMs. So I'm trying to see what's up now.
Sent from my SPH-L710
Click to expand...
Click to collapse
Running es right now no issues . Sense it exist only on aosp I'm gonna guess it wasn't governor related? Can you confirm the same results running a different governor?
Sent from my SPH-L710 using Tapatalk 2
freecharlesmanson said:
Running es right now no issues . Sense it exist only on aosp I'm gonna guess it wasn't governor related? Can you confirm the same results running a different governor?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
It's not gov related. Tested with performance, ondemand, conservative
Sent from my SPH-L710
---------- Post added at 04:25 AM ---------- Previous post was at 04:20 AM ----------
Meh dunno wtf going on. It's only with ES rxplore.
vm.swappiness = 0
Testing. Just cause. Lol.
Sent from my SPH-L710
Yeah phones don't benefit from swappiness but I'd leave a slight amount just in case you ever approach oom if you have it turned off and you ever hit oom it will kill random possibly important apps or just plain lockup
Unless you go oom though it makes no difference
Swappiness is set to 15% on my desktop and its only using 200kb arbitrarily I might add
Sent from my SPH-L710 using Tapatalk 2
freecharlesmanson said:
Well I'll explain it this way despite the freq step being low the issue is it will aim to unload the first CPU at 49% which won't take much after that while it will rest eventually because it is still so low on hotplug the second core will be constantly on. The second core offers more performance but much much more battery then slightly increases clock rate the issue is balancing that because so often you either end up with the clock rate racing up wards or the core staying on. . Personally don't take a shot in the dark. Take settings you know work and work towards your idea incrementally recording the changes the CPU time states record I think though not allowing the CPU to shift a full state up will be to major detriment to performance. Per CPU freq state is 4.3% I have found over 80% on available cores causes stuttering . I gave the settings a spin looks like the second core is on a bit much so you'd want to balance that out. But test test test test and let me know
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
okay great explanation. It was a good read I'll go back to drawing board test test test and post back with more theory and results when i've come up with something that is working good for me. I'll keep in mind I need Hotplug to not kick in as often nor have cpu frequency shoot up to max so its a balancing act. I appreciate your info thank you. I'm reading as much as i can find on more governors and their adjustments to get ideas from them too like you said to base off an existing one and modify from there.
mw86 said:
okay great explanation. It was a good read I'll go back to drawing board test test test and post back with more theory and results when i've come up with something that is working good for me. I'll keep in mind I need Hotplug to not kick in as often nor have cpu frequency shoot up to max so its a balancing act. I appreciate your info thank you. I'm reading as much as i can find on more governors and their adjustments to get ideas from them too like you said to base off an existing one and modify from there.
Click to expand...
Click to collapse
What you are shooting for is the opposite end of the stick so. Getting the same results off a diametrically opposed idea is awesome keep it up
Sent from my SPH-L710 using Tapatalk 2

Cpu throttle??

ok guys I downloaded cpu spy and after using the phone for 10min my phone never hit above 1.5 ghz ... I thought this phone was at 1.9 ,I did a lot of testing and still couldn't get the phone past 1.5 , no wonder things are not as smooth as they should be. I also upgraded to the new firmware it is a bit faster but I see the phone cpu is always around 1.5-1.1 ghz not good to run as smooth , also if cpu the low I'm sure gpu as low why all the animations run slow.
Edit : was playing angry birds star wars check back cpu ran at 1.1ghz -950mhz ...
Edit2: so i ran a anTuTu test and finally it hit at 1.9ghz and it drop down to 1.6ghz and 1.7 ghz for a few seconds. I really feel if this phone ran past the 1.5 it be a lottttt smoother i mean a lot.. just my 2cents trying to help out.
Sent from my SGH-M919 using xda premium
CPU factors
Listed CPU speeds are a maximum, a lot of factors play into that actually CPU speed you will see when running various apps.
Also, the CPU monitor reporting may not be 100% accurate, again due to several factors.
Also for reasons spread around this forum (all the battery threads popping up after the 1st week with the devices in hand)
The default cpu speed governors are likely set to preserve battery and only kick into high gear when the need REALLY presents itself.
Ie to samsung a little stuttering is fine if it means the battery lasts an extra hour in most cases
Most custom roms have different cpu governors in place - designed in part to respond more quickly to system load and increase performance.

Kernel Related

Which kernel is best for performance?(for Whyred)
1. Black box
2.no name
And many out there???
Suggestions please.
Thanks in advance.
Deep.cdy said:
Which kernel is best for performance?(for Whyred)
1. Black box
2.no name
And many out there???
Suggestions please.
Thanks in advance.
Click to expand...
Click to collapse
You should try them and find out the most suitable for you, use them for 1-2 days, you'll see the difference.... personally, I'm using NoName kernel with RR
NoName for Lineage based.
Deep.cdy said:
Which kernel is best for performance?(for Whyred)
1. Black box
2.no name
And many out there???
Suggestions please.
Thanks in advance.
Click to expand...
Click to collapse
i think currently is noname.
we hope a bunch of recognised developers in the near future as franco as many others.
Kirks, for battery...
Dude unlocked the lower cpu freqs...
m666p said:
Kirks, for battery...
Dude unlocked the lower cpu freqs...
Click to expand...
Click to collapse
It operates on lower Volts using this unlocked freqs?
peter-k said:
It operates on lower Volts using this unlocked freqs?
Click to expand...
Click to collapse
God knows, but what I do know is that it should produce less heat at the very least and it performs pretty gud on powersave governor. The gpu on the other hand is garbage at min freq (160mhz), even the launcher lags....
peter-k said:
NoName for Lineage based.
Click to expand...
Click to collapse
But after flashing no name 1.3 the WiFi doesn't work for me on rr 12th June
Deep.cdy said:
But after flashing no name 1.3 the WiFi doesn't work for me on rr 12th June
Click to expand...
Click to collapse
Mine was fine but now I'm on Aosip.
i think for now the best is to use a stock kernel, be careful with the charging limits.
peter-k said:
It operates on lower Volts using this unlocked freqs?
Click to expand...
Click to collapse
m666p said:
God knows, but what I do know is that it should produce less heat at the very least and it performs pretty gud on powersave governor. The gpu on the other hand is garbage at min freq (160mhz), even the launcher lags....
Click to expand...
Click to collapse
Of course it operates at lower voltage as it's a lower frequency and requires less power draw. Lower voltages should mean lower heat, however you don't magically get that lower freqs to operate, you need to tweak the interactive governor to make use of them all efficiently. So far I'm on Kirks kernel and AOSiP and it's a quite good combo.
The lag is not caused by low GPU freqs, it's because of low CPU freqs for that particular load, so governor tweaking is needed.
Cirra92 said:
Of course it operates at lower voltage as it's a lower frequency and requires less power draw. Lower voltages should mean lower heat, however you don't magically get that lower freqs to operate, you need to tweak the interactive governor to make use of them all efficiently. So far I'm on Kirks kernel and AOSiP and it's a quite good combo.
The lag is not caused by low GPU freqs, it's because of low CPU freqs for that particular load, so governor tweaking is needed.
Click to expand...
Click to collapse
Lol, I tested what you said out. Because you said it with such confidence...
I changed the cpu governor to performance and set the gpu to 160mhz max...
That made the experience a bit better but it would still lag a lot in recents and app launcher scrolling...
I've attached a screen shot to prove it too...
Another thing, just because the clock is lower does not mean that the voltage is lower as well, many devices that ive owned over the years have had the same voltage's for lower clocks( moto g2, Sony xperia z1)
And lastly, you should "magically" get those lower frequencies(if they are truly unlocked) since governors will always operate within the min/max frequencies that are set by the user or by default(unless it reverts parameters back to stock, like our device does on interactive)...
Forgot screenshot....
m666p said:
Lol, I tested what you said out. Because you said it with such confidence...
I changed the cpu governor to performance and set the gpu to 160mhz max...
That made the experience a bit better but it would still lag a lot in recents and app launcher scrolling...
I've attached a screen shot to prove it too...
Another thing, just because the clock is lower does not mean that the voltage is lower as well, many devices that ive owned over the years have had the same voltage's for lower clocks( moto g2, Sony xperia z1)
And lastly, you should "magically" get those lower frequencies(if they are truly unlocked) since governors will always operate within the min/max frequencies that are set by the user or by default(unless it reverts parameters back to stock, like our device does on interactive)...
Click to expand...
Click to collapse
First of all, we are talking here about difference in voltage between stock minimum freq for big cluster, which is 1.1ghz and actual possible minimum which is 300mhz, and there is a difference in voltage, that was the point. The devices I owned, S5 and Z3compact had more CPU steps, therefore the difference between some of the steps was really small or there wasn't any, but the CPU scaling made a jump to the freq with bigger difference (higher or lower, that was the stock behavior so some freqs weren't used). Here it might use all of the freq steps as there are less of them and the difference in voltage is significant enough, which might be the case, I said that because of my experience with previous devices. But you've missed the point anyway, I have said that even if unlocked, some freqs won't be used just because they are there if the governor parameters aren't set properly (or will be barely used). That was my point, I said that as a general note, so users won't jump the gun and blame devs for whatever.
And another one, regarding your test and lag with GPU, now I'm confused why would you set your max at 160mhz? I know it was for testing purposes in this case, but you did complain about it in original post and I said it won't lag because the max would still be set to 430mhz in which case the GPU freq scaling would do the job which it does very good so far. It would lag of course if you set max GPU freq to 160, but that's not what would you do for daily usage, right? Sorry if I misunderstood something.
Cirra92 said:
First of all, we are talking here about difference in voltage between stock minimum freq for big cluster, which is 1.1ghz and actual possible minimum which is 300mhz, and there is a difference in voltage, that was the point. The devices I owned, S5 and Z3compact had more CPU steps, therefore the difference between some of the steps was really small or there wasn't any, but the CPU scaling made a jump to the freq with bigger difference (higher or lower, that was the stock behavior so some freqs weren't used). Here it might use all of the freq steps as there are less of them and the difference in voltage is significant enough, which might be the case, I said that because of my experience with previous devices. But you've missed the point anyway, I have said that even if unlocked, some freqs won't be used just because they are there if the governor parameters aren't set properly (or will be barely used). That was my point, I said that as a general note, so users won't jump the gun and blame devs for whatever.
And another one, regarding your test and lag with GPU, now I'm confused why would you set your max at 160mhz? I know it was for testing purposes in this case, but you did complain about it in original post and I said it won't lag because the max would still be set to 430mhz in which case the GPU freq scaling would do the job which it does very good so far. It would lag of course if you set max GPU freq to 160, but that's not what would you do for daily usage, right? Sorry if I misunderstood something.
Click to expand...
Click to collapse
I kinda get what you mean, but the min freqs should kick in by default. They don't though on kirks, you need to change the governor to something like alucard or zzmove once before it actually starts clocking down to 300mhz...
On a side I would just disable the big. Cluster if I could, I don't really need that much cpu performance...
I was trying to find the min gpu freq that would be usable and I was disappointed, cuz my Sony z1 had a smooth ui experience with the gpu clocked at 200mhz max and that thing had a sd800...
Btw, I do all this to get better battery life...
I found out something else, I can't use power save governor any more because it can't handle audio processing(ainur, v4a) when the screen is off...
Just like my old z1, Lol...
Makes me think that the performance is really identical to the snapdragon 800...
I wonder how pissed I would be if a I got the redmi 5 plus, the 625 would have been even worse...
m666p said:
I kinda get what you mean, but the min freqs should kick in by default. They don't though on kirks, you need to change the governor to something like alucard or zzmove once before it actually starts clocking down to 300mhz...
On a side I would just disable the big. Cluster if I could, I don't really need that much cpu performance...
I was trying to find the min gpu freq that would be usable and I was disappointed, cuz my Sony z1 had a smooth ui experience with the gpu clocked at 200mhz max and that thing had a sd800...
Btw, I do all this to get better battery life...
Click to expand...
Click to collapse
m666p said:
I found out something else, I can't use power save governor any more because it can't handle audio processing(ainur, v4a) when the screen is off...
Just like my old z1, Lol...
Makes me think that the performance is really identical to the snapdragon 800...
I wonder how pissed I would be if a I got the redmi 5 plus, the 625 would have been even worse...
Click to expand...
Click to collapse
Yeah I agree, it should, but how much it stays on minimum freq is dependent on couple of governor parameters (talking about interactive). On mine though it does stay on 300mhz when idling, on stock Kirks settings. Big cluster can be disabled through new hotplug solution, like Intelliplug, which I used on my old devices, and it performed great, 1 core was active when screen was off, screen on and light usage required only 2 cores, while all 4 were active under heavy load. Here however there is only Qualcomm's hotplug solution, until that changes, no luck. Regarding GPU freq, I don't think any device would work smoothly under 200mhz, you can set 266mhz here, it will be smooth, I've tested today, on my old SD801 it performed at 233mhz IIRC.
I've seen that, V4A requires higher freq than 300mhz, or even 422mhz which SD801 had, it's more about the freq rather than the chipset, as I've read on multiple threads that even the devices with SD820 were struggling a lot when processing audio at 300mhz when the screen was off. Don't worry, it's a general issue. There is also the optimization of the rom and audio mods as well, background tasks, kernel, it all goes into the mix.
This is actually a very good chipset, it's technically SD660 just with lower clocks on both CPU and GPU.
EDIT: I forgot, this is my usage on AOSiP + Kirks, stock interactive tunables, min freq 300mhz (big/little), GPU initial/min freq 160mhz, max 430mhz. Using microG instead off GApps, I have used FB, Instagram, Messenger app for 1,5h each, Viber was couple of hours, Chrome some 30mins, Panini sticker album 30+ minutes, 30 minutes of 2G calls. Network mode was LTE, though I was on wifi on whole charge.
Started measuring from 92%.
Thanks bro, that explains a lot...

Categories

Resources