Testing a weird kernel tweak. It's working and I don't know why ! - Galaxy S II General

ROM: NEAT ROM 4.4.4
KERNEL: gustavo_s' kernel for AOSP version 04 Feb 2015 with Synapse.
So one day when drinking beer I thought to myself: if Ondemand is so sensitive in jumping to higher frequencies, why bother setting the threshold low? So I just simply went to Synapse and set the up-threshold to 99%. Naively I just thought it was to make sure the CPU was full until it needed a faster frequency. To my surprise, a few days later was fantastic: the time my GS spent on high frequencies was so good it looked like I was using conservative, the least time was on 1200MHz and goes up along with lower frequencies. And the performance was intact :silly::silly::silly:
:silly::silly::silly: can anyone confirm you had tried this before?
One last thing: I just enable GPU rendering, I read that GPU used more power so it is not efficient but on this kernel I am able to use 54MHz and 66MHz which only drain 800Mah which is less than the voltage of 200MHz. My first feelinng is that scrolling through Manga app no longer lags. Will this work as I expected, guys? :silly:
P/S: sorrry for my broken English.

dongnguyen2301 said:
ROM: NEAT ROM 4.4.4
KERNEL: gustavo_s' kernel for AOSP version 04 Feb 2015 with Synapse.
So one day when drinking beer I thought to myself: if Ondemand is so sensitive in jumping to higher frequencies, why bother setting the threshold low? So I just simply went to Synapse and set the up-threshold to 99%. Naively I just thought it was to make sure the CPU was full until it needed a faster frequency. To my surprise, a few days later was fantastic: the time my GS spent on high frequencies was so good it looked like I was using conservative, the least time was on 1200MHz and goes up along with lower frequencies. And the performance was intact :silly::silly::silly:
:silly::silly::silly: can anyone confirm you had tried this before?
One last thing: I just enable GPU rendering, I read that GPU used more power so it is not efficient but on this kernel I am able to use 54MHz and 66MHz which only drain 800Mah which is less than the voltage of 200MHz. My first feelinng is that scrolling through Manga app no longer lags. Will this work as I expected, guys? :silly:
P/S: sorrry for my broken English.
Click to expand...
Click to collapse
Using gpu in lower frequencies may unstable phone. I use @Gustavo_s kernel too. My first frequency step is 108MHz and 800mV can easly handle this. Lower frequencies only slows phone. Enabling gpu rendering also causes overheating on AOSP roms on i9100 belive me I tested.
Edit: Also 99 is a high value. 85 to 95 is ok.
Sorry for my bad english too..

nhmanas said:
Using gpu in lower frequencies may unstable phone. I use @Gustavo_s kernel too. My first frequency step is 108MHz and 800mV can easly handle this. Lower frequencies only slows phone. Enabling gpu rendering also causes overheating on AOSP roms on i9100 belive me I tested.
Edit: Also 99 is a high value. 85 to 95 is ok.
Sorry for my bad english too..
Click to expand...
Click to collapse
Yeah I may feel that right, I'm switching to 66Mhz and it feels better, yet I don't think GPU rendering causes overheating, it felt the same, I'm turning it off for comparison a few days... :silly:

dongnguyen2301 said:
Yeah I may feel that right, I'm switching to 66Mhz and it feels better, yet I don't think GPU rendering causes overheating, it felt the same, I'm turning it off for comparison a few days... :silly:
Click to expand...
Click to collapse
I assume you don't care about gaming performance or any graphics intensive tasks? Don't see why this is a weird tweak, but it is still a noteworthy tweak that may help people who want raw computing speed but no gaming.

gsstudios said:
I assume you don't care about gaming performance or any graphics intensive tasks? Don't see why this is a weird tweak, but it is still a noteworthy tweak that may help people who want raw computing speed but no gaming.
Click to expand...
Click to collapse
That's right, don't have any single game, but I'm very very into multi-task. Switching from app to app in seconds... so that obviously works for multi-task people.
I recently switched to intellidemand with the same setting and notice the CPU spent even less time on the high frequency, but it begin to has lag so I think ondemand is still my best choice right now

Related

Does cpu frequency affects battery life?

The question is simple, the higer the freq. the more battery consumption? i am asking because i cannot see any difference from 1.4GHZ to 1.0GHZ, the battery consumption is the same under oxygen and francos kernels. i would be grateful if the experts would give us some advise or their opionion. I know it is subjective but i would like a second opinion.
Thanks alot guys
If you look with any cpu spy app, you cab see on what clock the processor is used. I mainly have it the lowest and sometimes higher. When you change the max, it should still automatically choose what clock is used, so battery should last as much as before, if not used in high clock.
Sent from my Huawei u8800 using XDA App
Invicta said:
The question is simple, the higer the freq. the more battery consumption? i am asking because i cannot see any difference from 1.4GHZ to 1.0GHZ, the battery consumption is the same under oxygen and francos kernels. i would be grateful if the experts would give us some advise or their opionion. I know it is subjective but i would like a second opinion.
Thanks alot guys
Click to expand...
Click to collapse
Probably not much difference, when you overclock, think the cpu voltage remains the same as it is on 800mhz... And the highest cpu freq is rarely even at use...
Invicta said:
The question is simple, the higer the freq. the more battery consumption? i am asking because i cannot see any difference from 1.4GHZ to 1.0GHZ, the battery consumption is the same under oxygen and francos kernels. i would be grateful if the experts would give us some advise or their opionion. I know it is subjective but i would like a second opinion.
Thanks alot guys
Click to expand...
Click to collapse
Well, thanks to most devoted users of U8800, we have somewhat better speed+battery life than stock also. To answer your question, yes depending on your activity the frequency have some impact, but overall shouldn't be huge in change, for example from .800 to 1.0GHz will not affect so much in daily use. However from .800 to 1.5GHz would make a somewhat huge gap difference. This doesn't mean it will drain faster if you do same activity as with .800 to 1.0GHz, for example check the watch, answer sms or few "entertainment" breaks. Only when using the phone over a longer period of time that's when you will notice the change of battery life with different frequency. Hope it clears up most hums and huhs for you. I am pretty sure some expert within this field will give a better explanation than me.
Bye~
higher freqs uses more energy, but lower uses less energy but do things slower (so energy consumption is longer). ALSO imo - if you set cpu to 1Ghz the lowest value so it always is 1ghz - it will not consume the same amount of energy if it's in idle mode - it's like your laptop - if cpu is working only in 4-7% of it's power - then the power consumption is lower no matter what freq - how do we know that? - because of heat - the more heat you get - the more energy was used. and when cpu is idle - it will not be hot.
So the answer is - if it saves then in VERY minimal amounts. But even so - i use min freq - 360mhz. it's good for me i do not get any lag so i use it.
I use the "Root System Tool Free", option CPU and I see the graphics of all clocks.
For ex. now at 245 mhz ->46%, at 368 ->10%, at 768 mhz ->18% .... and at 1612 mhz -> 1,8%, at 1804 mhz ->4,9%. Not very mutch use at 1804.
Oxygen-test-140911 + Franco.Kernel1709#1. Clock at 1804 Mhz by Menu-settings-cpu ... and smartassV2 (no profils).
The battery, I charge it all 24 hours. But I like my work... and testing things. When then will dead...I see...
ValenteL said:
I use the "Root System Tool Free", option CPU and I see the graphics of all clocks.
For ex. now at 245 mhz ->46%, at 368 ->10%, at 768 mhz ->18% .... and at 1612 mhz -> 1,8%, at 1804 mhz ->4,9%. Not very mutch use at 1804.
Oxygen-test-140911 + Franco.Kernel1709#1. Clock at 1804 Mhz by Menu-settings-cpu ... and smartassV2 (no profils).
The battery, I charge it all 24 hours. But I like my work... and testing things. When then will dead...I see...
Click to expand...
Click to collapse
cpu spy is more pretty, anyway all those apps just reads text file of cpu stat and that's it
Tommixoft said:
cpu spy is more pretty, anyway all those apps just reads text file of cpu stat and that's it
Click to expand...
Click to collapse
Thanks
But I like more the Root System Tool, because has also a Linux Console. I use it when I want make some cmd's Linux in #. I don't like the Terminal Emulator.
Well, there is a "catch" somewhere in there. The frequency does indeed affects the power consumption of the CPU and greatly at that too! But the thing is, your CPU is not the worst enemy of your battery life. Even though CPU consumes more power in higher frequencies, it still can not compete with what your screen LEDs or your GSM module or your GPS chip consumes leisurely. So, if you're looking at the overall picture -meaning if you're wondering if it will affect how long you'll be able to use your battery in your phone- the answer is, "yes but not so much". Especially if you're switching the CPU frequency based on the demand (like using smartass or on-demand governors)
Here are the thing that sucks your batteries life juice like a vampire :
Your Screen (especially background LEDs)
GSM module (talking, using GPRS/Edge/3G network communication)
GPS chip
Wireless module (this also includes Bluetooth, even though it does not consume as much as Wireless network access but everything is relative -think about playing music through A2DP headphones compared to having your wireless network active but not using it much-)
(oh yes, I love to use lots of parenthesis -and even this hyphenation thingy- )
Correct me if I'm wrong about anything by the way ..
Regards ..
I did some experiments with a msm8250 a while back and there's a graph here:
http://forum.xda-developers.com/showpost.php?p=14324649&postcount=3786
msm7x30 should be fairly similar though the graph is probably shallower since it's a smaller process size.
The CPU uses no power when it's not in use, even with the display on, the CPU is powered down completely when idle (power collapse).

hot CPU (75 C)

According to the System Tuner app, my CPU went up to 75 degrees Celsius while I was playing a track on Google Earth. I was running Earth for only a few minutes before it reached 75. I'm not sure if that's the peak yet...maybe it can go even higher.
I've seen several other threads about heat, but most people talk about 50s and 60s. Anyone reach 75C? The front and back of the phone, the top around the camera, were both very hot. It was almost uncomfortable to touch.
Again, I'm talking about 75 Celsius, not Fahrenheit. And I'm referring to CPU temperature according to System Tuner app, not battery temp. Anyone reach this?
picture plz.
the reason is bc someone did a stress test on the N4 and found that the device shuts down at ~57-59C (correct me if im wrong) to prevent damage to the hardware.
Edit: found the link http://www.youtube.com/watch?feature=player_embedded&v=koLJ4BU9tgc
75ºC on a quad core?
I thought it was supposed to be more efficient than a dual core... 167ºF just seems like it's way hotter than any electronic device should ever be.
Sent from my SPH-D710 using xda premium
My first gaming laptop was an ASUS Republic of Game first generation. They did a horrible job cooling the machine. During the 2 months before the machine failed, the GPU would reaches 110 - 140 C if I played games (then, of course, the machine turned the GPU off and still ran as everything else was still about 70-80 C)
When the machine did fail, I opened it up, and found 2 fried thermal unit, a fried GPU and a nearly fried HDD) Amazingly, the machine stills runs, as long as I don't load GPU driver
Well, that's the story. Back to OP, as you see, if the temp is too high, you device can be literally fried. So if you turn off the thermal throttle, please enable it back on and do you best to keep your device cool
I tried to replicate just now and could only go up to 63c. I don't want to keep trying based on the comments here so far. If it happens again I'll be sure to get a screen shot and be aware of what's running.
Where would the thermal throttle toggle exist, if I have the capability at all? I'm running faux123 kernel and use trickster mod and trinity kernel tools for tweaking. I don't see anything about throttle control.
On a similar note, faux123 seems to default to 1ghz minimum cpu frequency. Does that seem right? I've flashed lots of kernels before on previous phones and they always default to the lowest value. When I force the setting down to 384mhz, it automatically changes back to 1024mhz the next time I go in my tool apps. Does this seem normal?
denimjunkie82 said:
Where would the thermal throttle toggle exist, if I have the capability at all? I'm running faux123 kernel and use trickster mod and trinity kernel tools for tweaking. I don't see anything about throttle control.
Click to expand...
Click to collapse
I haven't seen a Nexus 4 kernel that has thermal throttle toggle, or have it disabled yet. I am just checking if you're running one that I am not aware of
denimjunkie82 said:
On a similar note, faux123 seems to default to 1ghz minimum cpu frequency. Does that seem right? I've flashed lots of kernels before on previous phones and they always default to the lowest value. When I force the setting down to 384mhz, it automatically changes back to 1024mhz the next time I go in my tool apps. Does this seem normal?
Click to expand...
Click to collapse
Minimum cpu frequency enforced by kernel is normal. I am not certain if faux123 default to 1 ghz min, but if it's the case, it seems weird for me too. Definitely not good for the battery. If there's no other CPU control apps, I recommend double check the settings, then find an update for faux123, or use trinity kernel
I just flashed a new kernel and my minimum cpu now seems more normal. I hopefully that alleviates the crazy temperatures too.
I'll try to test again tomorrow to see if my temps still go bonkers. It's time to sleep now. Thanks for the help, everyone.

Fix For Back Of Tablet Getting Hot (Still Overclocked)

I found when running Shadowrun Returns with the ElementalX 1.4 kernel http://forum.xda-developers.com/showthread.php?t=2389022 at 1.944 GHZ the back of the Nexus 7 gets hot. This worried me but I noticed when I installed the kernel was an option to use cool thermal throttling. I tried this and now the tablet does not heat up at all. You need to be rooted though to install the kerne of course not sure if ElementalX 1.4 works with stock though, I'm running the latest CM 10.2 nightly. It doesn't seem to affect the performance of either Shadowrun Returns or Wild Blood, the two games I'm playing at the moment, I still have the GPU overclocked to 487 and the Dalvik etc overclocked at the moderate ElementalX setting. . I think being able to run at 1.944 GHZ on my tablet with the cooler thermal throttling is better then running at stock and I believe that even some running at stock have that issue.
Hope this helps others that have this problem.
KedarWolf said:
I found when running Shadowrun Returns with the ElementalX 1.4 kernel http://forum.xda-developers.com/showthread.php?t=2389022 at 1.944 GHZ the back of the Nexus 7 gets hot. This worried me but I noticed when I installed the kernel was an option to use cool thermal throttling. I tried this and now the tablet does not heat up at all. You need to be rooted though to install the kerne of course not sure if ElementalX 1.4 works with stock though, I'm running the latest CM 10.2 nightly. It doesn't seem to affect the performance of either Shadowrun Returns or Wild Blood, the two games I'm playing at the moment, I still have the GPU overclocked to 487 and the Dalvik etc overclocked at the moderate ElementalX setting. . I think being able to run at 1.944 GHZ on my tablet with the cooler thermal throttling is better then running at stock and I believe that even some running at stock have that issue.
Hope this helps others that have this problem.
Click to expand...
Click to collapse
That's a good sign as you know the heat is being distributed effectively away from the internals. You don't need to be rooted to flash custom kernel. And setting different governors will have a major impact on your CPU.
http://forum.xda-developers.com/showthread.php?p=28002345
About The Heat At Least I'm Sure My Advice Is Sound.
Username invalid said:
That's a good sign as you know the heat is being distributed effectively away from the internals. You don't need to be rooted to flash custom kernel. And setting different governors will have a major impact on your CPU.
http://forum.xda-developers.com/showthread.php?p=28002345
Click to expand...
Click to collapse
You might be right about not needing to root to install a custom kernel though I couldn't find a definitive answer in the Nexus 7 2013 forums. I assumed it was needed from using custom kernels on other devices.
My device gets hot while gaming. When you are doing intense gaming like I am I'm sure pretty much any governor will max out the CPU. I know Intellidemand which I use does for sure.
When overclocking, heat is the enemy and it can damage, crash CPUs and even affect the performance of them. I believe if you are concerned about your Nexus 7 heating up (mine does for a good area between the logo and the camera when not using the ElementalX cool thermal throttling) then my advice is good.
Peace.
P.S. How the heck have you done 675 posts since June 2013?
KedarWolf said:
You might be right about not needing to root to install a custom kernel though I couldn't find a definitive answer in the Nexus 7 2013 forums. I assumed it was needed from using custom kernels on other devices.
My device gets hot while gaming. When you are doing intense gaming like I am I'm sure pretty much any governor will max out the CPU. I know Intellidemand which I use does for sure.
When overclocking, heat is the enemy and it can damage, crash CPUs and even affect the performance of them. I believe if you are concerned about your Nexus 7 heating up (mine does for a good area between the logo and the camera when not using the ElementalX cool thermal throttling) then my advice is good.
Peace.
Click to expand...
Click to collapse
Kernel is flashed separately from the ROM. Rooting is only for running apps like Trickster Mod to configure to kernel. Otherwise you can have stock 4.3 ROM with any kernel you want. Heating up will obvious affect performance due to thermal throttling but I was not concerned of damage even when the CPU of my 2012 Nexus 7 got to 80 degrees celsius from running overclocked performance stress test under direct sunlight in a case. If your CPU crashes then it's likely not overclocked correctly. Otherwise if it remains stable under artificial stress test, it will handle any game no problem.
I would really appreciate if someone explain me how exactly this function works?
I mean, tablet don't have fan, so how it keeps the cpu cool, and also what this option does to my nexus in order to keep it cooler?
I would not over clock this device. It us more than fast enough for any Android game.
Throttling does just what the word describes. In basic terms your cpu will be slowed down when getting hot and this defeats the purpose of over clocking.
I won't mention the instability that can be caused or the possibility of doing damage.
Just my thoughts.. To each how own and I do have my I7 pc cpu over clocked big time but it has a huge fan.
Sent from my shiny new(bought last Nov), scratch less Nexus 4!
I agreed, throttling and over clock doesn't make sense but this CPU is underclocked and it is designed to go higher like the one on the galaxy s4 and the GPU is meant to go higher but due to battery life Google underclock it
Sent from my Nexus 7 (2013) using XDA Premium [HD], for the man who wants to use the best tablet screen ever made.
Blade Zero (W1nst0n) said:
I agreed, throttling and over clock doesn't make sense but this CPU is underclocked and it is designed to go higher like the one on the galaxy s4 and the GPU is meant to go higher but due to battery life Google underclock it
Sent from my Nexus 7 (2013) using XDA Premium [HD], for the man who wants to use the best tablet screen ever made.
Click to expand...
Click to collapse
Well , its not under clocked by Google, this is underclocked cheap from the factory , its just a lower bin s600 that has been rebranded as S4 Pro .. If it was regular s600 it wouldn't be underclocked .
theofanis said:
I would really appreciate if someone explain me how exactly this function works?
I mean, tablet don't have fan, so how it keeps the cpu cool, and also what this option does to my nexus in order to keep it cooler?
Click to expand...
Click to collapse
When the CPU reaches a certain temperature threshold it begins to cycle down the CPU speed in order to cool down the processor. It makes the CPU start running at lower frequencies to keep it cool.
Exactly, so a quick oc and u got a better processor without worries of damaging the chip
Sent from my Nexus 7 (2013) using XDA Premium [HD], for the man who wants to use the best tablet screen ever made.
Trickster Mod Thermal Throttling Settings
Hey,
If your CPU is getting hot (especially if it's overclocked and hitting 80 C or near to it) At 1944 the back of my case would get noticeably hot. I still say it isn't good for the CPU. From what I know about overclocking if any CPU gets too hot it can damage the CPU or degrade it over time. I definitely wouldn't want it even getting to 80C before it throttles but I found in Trickster Mod, even the free version, you can set the throttling to custom settings if you are rooted. Custom kernels set their voltages to scale depending on the clock speed which means lower clock speeds, less voltages, less heat. I'd rather keep the temps lower on the CPU then risk damaging the device or degrading it over time. Also you can undervolt the CPU at the kernel different clock speeds so it heats up less. You can run the free AnTuTu Benchmark stability test to see if your clock speed voltages are stable and will not crash your device. I have my CPU overclocked to 1944, thermal throttling down clocks the CPU to 1836 at 73 C, 1620 at 75 C, 1512 at 77 C and 1134 at 80 C. My voltages I lowered and are stable at 1944 - 1087500, 1890 - 1062500, 1836 - 1035000, 1728 - 1025000, 1620 - 1000000, 1512 - 987500. The lower voltages are undervolted as well but not going to list them all here.
Peace,
KedarWolf
P.S. When it was posted in this thread you can install custom kernels without rooting it is correct, I recall reading that at one point. Like it was said to use Trickster Mod, change governors or custom throttling settings you need to be rooted.
Bump bump

[GUIDE] Tweaking Interacting Gov

Hey guys, Kyuubi10 back once again with another Guide.
I thought it might be useful to pop in a couple results of my trial and error for the HTC One M8.
Note: This is not scientifically, calculated accurate, but it's close enough, based on estimates.
After following these guides:
http://forum.xda-developers.com/showthread.php?t=2769899
https://vjnaik.wordpress.com/2015/06/25/kernel-tweak-interactive-governor-paramaters-rooted-phone/
I decided to make a summary guide of the above but with specific HTC One M8 values.
Since I agree with the idea of "race to idle" embodied in the Wheatley governor, I tried emulating that on the Interactive governor while also keeping it as efficient as possible.
Here are the values (all others not mentioned, leave default):
Code:
[B]above_hispeed_delay [/B]- 80000 2265600:10000
[B]go_hispeed_load[/B] - 95
[B]hispeed_freq[/B] - 1728000
[B]io_is_busy[/B] - 1
[B]min_sample_time[/B] - 10000
[B]target_loads[/B] - 45 729000:80 883200:50 1267000:85 1497600:50 1728000:90 1958400:50
[B]timer_rate[/B] - 10000
[B]timer_slack[/B] - 5000
"above_hispeed_delay" makes sure that longer time is spent on the frequency step 1.72Ghz, before quickly raising higher into max freq.
1.72Ghz is the most energy efficient frequency with a good performance, e.g. it will not cause lag during casual usage, while it uses minimal voltage.
If the load is too high for this frequency to handle, I set the time short once it's gone over this freq step so that it will not waste time before reaching max freq. Thus dealing with the issue asap.
Another important parameter is "target_load", with this I have defined that at each efficient freq step the load needed to overcome it would be higher than normal. But it would up-scale quickly when using non-efficient frequencies.
The other parameters I have set so that the frequency is lowered as soon as CPU load is finished, so that it will rush back to idle as quickly as possible.
The interesting thing about this set-up is that for general, non heavy usage, it basecally functions as if I have underclocked to 1.72Ghz, but when the CPU is truly pushed it reaches up to 2.5Ghz which is my Overclocked max freq value.
Thus both saving battery and providing high performance.
I have felt no lag, and it's been quite a smooth experience while I used this
Combined with using GPU rendering (found in developer settings), and Seeder, the over all usage is pretty good.
Battery usage has been very efficient and I have managed to squeeze out an extra hour or two using this.
I highly recommend it!
Hope I helped you guys... don't forget to press the thanks button if you also feel that I did!:good::good:
I noticed I have some governor settings left at 0 or blank. I did some quick googling, found some other tweaks for the M8 and the interactive governor. So I played around a bit, and I think the following would be useful to add to the above tweaks.
-----------------------
sampling_down_factor: 60000
sync_freq: 1036800
up_threshold_any_cpu_load: 65
up_threshold_any_cpu_freq: 1190400
boost: 0
boostpulse_duration: 80000
--------------------
Also of note there is not a entry for " io_is_busy " under the Interactive governor under ElementalX Sense kernel v6.03. I believe it's possible to modify the governor to add the function, if it's desired.
Hope this helps others.
nice one i read the links that you posted and follow the guides there also to tweak the interactive governor on the first link that you posted is really interesting he has updated that post also, i followed his guide inspired by your guide and i have been getting good results on my phone with battery and performance i mean almost no battery drain at all while my phone is idle. thanks for the help mate!
Plugged the settings into Yankactive on DU. Quick, freqs stay low when nothings going on, seems legit. I set my timer_rate higher tho, 10000 feels a little low, makes me think that the CPU will spend too much time polling loads.
SaskFellow said:
I noticed I have some governor settings left at 0 or blank. I did some quick googling, found some other tweaks for the M8 and the interactive governor. So I played around a bit, and I think the following would be useful to add to the above tweaks.
-----------------------
sampling_down_factor: 60000
sync_freq: 1036800
up_threshold_any_cpu_load: 65
up_threshold_any_cpu_freq: 1190400
boost: 0
boostpulse_duration: 80000
--------------------
Also of note there is not a entry for " io_is_busy " under the Interactive governor under ElementalX Sense kernel v6.03. I believe it's possible to modify the governor to add the function, if it's desired.
Hope this helps others.
Click to expand...
Click to collapse
Some of those actually make no difference. Since they are overruled by other perameters. E.g. up_threshold aren't used in interactive, since they follow target_load instead.
Sampling_down_factor on the other hand is overrulled by the timer features of interactive.
When you use ondemand, or conservative, sampling_down_factor is a fun parameter to play with, but not interactive.
While Sync_Freq I don't like using because it raises minimum frequency to its value...although temporarily, the timer features can already deal with CPU loads efficiently.
lil_kujo said:
nice one i read the links that you posted and follow the guides there also to tweak the interactive governor on the first link that you posted is really interesting he has updated that post also, i followed his guide inspired by your guide and i have been getting good results on my phone with battery and performance i mean almost no battery drain at all while my phone is idle. thanks for the help mate!
Click to expand...
Click to collapse
Great The links are important!! They are my sources, and often contain much more detail than what I use in my guides. I attempt creating a well ordered summary, but my sources are better if you don't mind reading loads.
I'm glad I could help
munkyvirus said:
Plugged the settings into Yankactive on DU. Quick, freqs stay low when nothings going on, seems legit. I set my timer_rate higher tho, 10000 feels a little low, makes me think that the CPU will spend too much time polling loads.
Click to expand...
Click to collapse
That's the idea. And never heard of Yankactive...but I'm gonna assume it's good lol.
And about time_rate, you are right, but you are also wrong.
There isn't a true right answer unless someone performs a scientific experiment in order to fully test which one is better.
But I'll explain why I put my one short... I want the frequencies returning to IDLE asap. While yes, you are right it's polling often, it also returns to idle much faster, rather than staying at higher frequency uselessly wasting battery.
I'll try to run some tests checking CPU load, if CPU load considerable lowers I'll come back and report.
Yankactive is Interactive with some under the hood tweaks, I believe, same tunables. I also looked at some documentation on Interactive and I think the target_loads have to be in ascending order based on load when paired with clock speeds, I'm gonna mess with them a bit and see what I get. Link
munkyvirus said:
Yankactive is Interactive with some under the hood tweaks, I believe, same tunables. I also looked at some documentation on Interactive and I think the target_loads have to be in ascending order based on load when paired with clock speeds, I'm gonna mess with them a bit and see what I get. Link
Click to expand...
Click to collapse
And no, target_loads has to be in ascending order based on FREQUENCY. You are applying load percentages to frequency ranges, therefore it is imperative that its the frequency defining the order.
e.g. 50 4:80 10:20 12: 50 means:
50% load before going to the next frequency step, until you reach frequency 4, then use 80% instead until frequency 10, then use 20% instead until 12, then use 50% until max frequency.
Feel free to play with them as much as you want, just make sure to keep the idea of using efficient frequency steps in mind.
Kyuubi10 said:
And no, target_loads has to be in ascending order based on FREQUENCY. You are applying load percentages to frequency ranges, therefore it is imperative that its the frequency defining the order.
e.g. 50 4:80 10:20 12: 50 means:
50% load before going to the next frequency step, until you reach frequency 4, then use 80% instead until frequency 10, then use 20% instead until 12, then use 50% until max frequency.
Feel free to play with them as much as you want, just make sure to keep the idea of using efficient frequency steps in mind.
Click to expand...
Click to collapse
Thank you for the knowledge dump, been scraping the barrel for weeks trying to figure out tunables!
munkyvirus said:
Thank you for the knowledge dump, been scraping the barrel for weeks trying to figure out tunables!
Click to expand...
Click to collapse
Hehe it's a pleasure.
It's a way I find to give back to the community, since I learn so much through it. I can try help make life easier for those who follow the same path I did.
Hello kyuubi10 thanks for your help, would it be ok to change mp decision to battery saver mode ? Whats your take on that?
Wow, this is awesome! I had the performance gov on, which just destroyed my battery. Now, I have a question for you!
What is your take on "Multicore Power Savings" ? I'm using a flarport kernel which has it set to aggressive by default. Should this be changed to anything else while using your gov settings? Thanks for any assistance!
lil_kujo said:
Hello kyuubi10 thanks for your help, would it be ok to change mp decision to battery saver mode ? Whats your take on that?
Click to expand...
Click to collapse
I have never heard of mpdecision having a battery saver mode XD
Would you please expand on that? Also tell me which tweaking app you are using?
Kyuubi10 said:
I have never heard of mpdecision having a battery saver mode XD
Would you please expand on that? Also tell me which tweaking app you are using?
Click to expand...
Click to collapse
It's in the ex app mate, it uses a less aggressive version of mpdecision to saver on battery power but I can't say that I noticed much improvement TBH.
Sent from my HTC One_M8 using Tapatalk
Anonaru said:
Wow, this is awesome! I had the performance gov on, which just destroyed my battery. Now, I have a question for you!
What is your take on "Multicore Power Savings" ? I'm using a flarport kernel which has it set to aggressive by default. Should this be changed to anything else while using your gov settings? Thanks for any assistance!
Click to expand...
Click to collapse
You had performance on?? You do realise that the perf gov basically keeps your CPU cores running on max frequency all the time right?
No wonder your battery was dying XD
Anyhoo....good thing you found my guide
Now, about multicore power savings, as usually with most things you will be compromising something to gain something else...always keep that in mind.
With MPS you'll be giving up some multitasking, in order to gain some battery savings.
Why (you may ask)?
Well, think about a to-do list, and for each list you have one person completing the tasks within that list. Let's say you have four lists and 4 people completing those tasks.
What MPS does is it takes as many tasks as possible and places them within a single list, for one person to do. At the end of the day that one person will have done a lot of work, while the other 3 will have done very little work. The drawback? The work was completed much slower, because only one person was doing it.
Why can MPS be good? It is the way it chooses which CPU to use to add the tasks to, it chooses CPUs which are already turned on, rather than turning a new one on.
The frequency voltages on each core range from the lowest of 775mV, to the highest of 1075mV. That's a 300mV increase in battery consumption between lowest frequency and highest. (Mind you, 1075 for me is an overclocked value, if you are not OC then it will be even less)
When CPU cores have nothing to do they get turned off....they don't idle at 775mV....they are literally off. Therefore around 0mV usage XD
If you get tasks which would have run on 2 CPUs at minimum frequency, using only 775mV each, and put them to run on only 1 CPU at MAX frequency at 1075mV, you still have about 400mV battery savings. Now lets say its something which would have used 4 CPUs, but you end up using only two.... then the battery savings double to 800mV.
Final answer...it depends on your tastes, what do you prefer most? Multitasking or battery saving.
Personally I keep it enabled, but not aggressive.
But if you really don't care about multitasking, you may as well leave it as aggressive.
lil_kujo said:
Hello kyuubi10 thanks for your help, would it be ok to change mp decision to battery saver mode ? Whats your take on that?
Click to expand...
Click to collapse
smeejaytee said:
It's in the ex app mate, it uses a less aggressive version of mpdecision to saver on battery power but I can't say that I noticed much improvement TBH.
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
Well, I use adiutor, so I don't have that option.
I am happy with my phone how it is (if it wasn't for the damned plug issues XD)
But @lil_kujo, as @smeejaytee said....he hasn't noticed much improvement.
So I'd trust his advice
Kyuubi10 said:
You had performance on?? You do realise that the perf gov basically keeps your CPU cores running on max frequency all the time right?
No wonder your battery was dying XD
Anyhoo....good thing you found my guide
Now, about multicore power savings, as usually with most things you will be compromising something to gain something else...always keep that in mind.
With MPS you'll be giving up some multitasking, in order to gain some battery savings.
Why (you may ask)?
Well, think about a to-do list, and for each list you have one person completing the tasks within that list. Let's say you have four lists and 4 people completing those tasks.
What MPS does is it takes as many tasks as possible and places them within a single list, for one person to do. At the end of the day that one person will have done a lot of work, while the other 3 will have done very little work. The drawback? The work was completed much slower, because only one person was doing it.
Why can MPS be good? It is the way it chooses which CPU to use to add the tasks to, it chooses CPUs which are already turned on, rather than turning a new one on.
The frequency voltages on each core range from the lowest of 775mV, to the highest of 1075mV. That's a 300mV increase in battery consumption between lowest frequency and highest. (Mind you, 1075 for me is an overclocked value, if you are not OC then it will be even less)
When CPU cores have nothing to do they get turned off....they don't idle at 775mV....they are literally off. Therefore around 0mV usage XD
If you get tasks which would have run on 2 CPUs at minimum frequency, using only 775mV each, and put them to run on only 1 CPU at MAX frequency at 1075mV, you still have about 400mV battery savings. Now lets say its something which would have used 4 CPUs, but you end up using only two.... then the battery savings double to 800mV.
Final answer...it depends on your tastes, what do you prefer most? Multitasking or battery saving.
Personally I keep it enabled, but not aggressive.
But if you really don't care about multitasking, you may as well leave it as aggressive.
Click to expand...
Click to collapse
Hah, thanks for the guide-- I am pretty well versed in task / resource allocation on multi-threaded systems, though
Main reason I was asking was because I haven't a clue what some of the values are on this interactive gov. Just wanted to make sure they didn't clash! I'll chance it to "Enabled" rather than "Aggressive," because a compromise between the two sounds the best
As for Performance gov-- default setting on this flarport kernel, didn't bother to check it until I noticed that any time a core was on, it was racing at 2.5ghz, even with nothing going on. Battery pretty much committed suicide
Anonaru said:
Hah, thanks for the guide-- I am pretty well versed in task / resource allocation on multi-threaded systems, though
Main reason I was asking was because I haven't a clue what some of the values are on this interactive gov. Just wanted to make sure they didn't clash! I'll chance it to "Enabled" rather than "Aggressive," because a compromise between the two sounds the best
As for Performance gov-- default setting on this flarport kernel, didn't bother to check it until I noticed that any time a core was on, it was racing at 2.5ghz, even with nothing going on. Battery pretty much committed suicide
Click to expand...
Click to collapse
LOL I suggest you change kernel asap! If the dev uses uses Performcance gov as his default he doesn't know what he is doing XD
And no, as far as I know governor tunables won't ever clash with MPS.
Thanks!
rjavc said:
Thanks!
Click to expand...
Click to collapse
You're welcome! Pleasure to help.
But I'd appreciate if you press the thanks button on the relevant posts which helped you. That's the XDA way :good::good:
Kyuubi10 said:
You're welcome! Pleasure to help.
But I'd appreciate if you press the thanks button on the relevant posts which helped you. That's the XDA way :good::good:
Click to expand...
Click to collapse
Hi mate, I wondered if I could ask your advice, I want to set interactive up on my maw Android TV box it's quad 1.5gb and I want maximum performance as its constantly plugged in, there is no battery so that's not an issue,
Sorry if you think this OT but I thought I'd ask you as you know the governor well, thank you in advance mate.
Sent from my HTC One_M8 using Tapatalk

is there any rom or kernel to under volt?

just bought a Le Pro 3 and couldn't find any kernel or rom that could under volt. is there any rom or kernel to under volt?. Thx
To undervolt you mean to make the cpu frequencies lower? I am doing that with a program called Kernel Tuner. You can set the CPU and GPU speed and set the CPU governor from there.
The phone it has to be rooted.
motanel_pufos said:
To undervolt you mean to make the cpu frequencies lower? I am doing that with a program called Kernel Tuner. You can set the CPU and GPU speed and set the CPU governor from there.
The phone it has to be rooted.
Click to expand...
Click to collapse
what i mean is to lower the CPU or GPU voltage.
I don't know how to do that. As I said, I use Kernel Tuner to set the maximum cpu/gpu speed the phone can go. It's not the same thing. But is better than nothing. The phone works really good even with lower frequencies and I don't need top speed except some greedy games. Now I can reach a sot of over 6 hours with 4-5 hours of heavy gaming.
If you can find a way do undervolt please post it.
Claire2001 said:
what i mean is to lower the CPU or GPU voltage.
Click to expand...
Click to collapse
No kernels offer access to the voltage table yet. UV isn't available and I don't think it'll come.
Ace42 said:
No kernels offer access to the voltage table yet. UV isn't available and I don't think it'll come.
Click to expand...
Click to collapse
thanks for confirming, time to return the pro 3 or sell it at a loss. was just hoping that out there somewhere there would be a kernel that has the feature to undervolt.
I still don't see the point of undervolting the CPU/GPU on a phone. As long as it works fine and the battery last long enough (and honestly this phone have plenty of battery, I recharge every 2 or 3 days), why?
ZeblodS said:
I still don't see the point of undervolting the CPU/GPU on a phone. As long as it works fine and the battery last long enough (and honestly this phone have plenty of battery, I recharge every 2 or 3 days), why?
Click to expand...
Click to collapse
Because he used to do that on older device, and thinks this is some kind of a must function lol. I also have no clue why on earth you would need to underclock pro 3, it doesnt overheat, and it has probably best battery life of all snapdragon 821 devices. Undervolting this device would gain you absolutely nothing, nonsense.

Categories

Resources