[O3D] Overclock/Downclock guide/tutorial?
- can someone explane safe way to downclock(or overclock) GPU/CPU for O3D, I want to downclock to safe some battery life.
Thanks
SetCPU (search xda-developers for free download or market for paid updatable version) works for me, detected cpu speeds and allowed me to change them from 300 to 1008 Mhz, also there are a few options how the processor freq change when needed. For now you can only downclock until a new kernel arrives (not 100% sure what kernel is and if it really enables overclocking - just saying). I didn't try anything with setcpu but if you do please post your feedback
i have installed but i cant set the clock, with setvsel for defy i can define 3 speed for the principal status, in set cpu i see only the maximum rate (1008).
help me tks
Have you rooted your device, before you run setcpu?
what about downclocking, is it really giving extra life for battery?
I use Antutu CPU Master to downclock, it has a cool widget.
wan0eve said:
I use Antutu CPU Master to downclock, it has a cool widget.
Click to expand...
Click to collapse
to what numbers you downclocking and how is battery life after downclocking?
I just need thermal config+init.qcom.post_boot-1.sh with some modification...
My requirements are as follows...
1) dont care about heating.
2) cpu governor- interactive
3) min clock frequency- 100 mhz for all cpu
4) maximum clock frequency- no limit
5) camera app not depends on temperature ( hang or slow at high temperature).
6) remove all cpu throttling...(must need)
7) remove cpu offline algorithm... (Must need)
Anyone here which is capable of doing this thing,please help...
my thermal config has it all. have you check ?
only the cpu freq I don't set as low as 200 in interactive. (the minimum) you'll get lag and slow respon. believe me.
but I can change if you want.
http://en.miui.com/thread-140563-1-1.html
thanks...
Thanks dude for your advice but i tested your procedures,after that still some cores shut down according to temperature...
i know your skill,so lets join my algorithm and your skill to make best config files...
1) dont care about heating.
2) cpu governor- interactive
3) min clock frequency- 200 mhz for all cpu
4) maximum clock frequency- no limit
5) camera app not depends on temperature ( hang or slow at high temperature).
6) remove all cpu throttling...(must need)
7) remove cpu offline algorithm... (Must need)
and dont confuse between hotplug and throttling(hotplugging is turn unused CPU cores off during periods of low CPU utilization and throttling is turn CPU cores off according to temperature)...
also if you can do then set first 4 core(1.65 mhz x 4) at interactive and others (1.1 mhz x 4) at ondemand...
believe me...this makes best algorithm to control heating and increase performane
Rockmee said:
Thanks dude for your advice but i tested your procedures,after that still some cores shut down according to temperature...
i know your skill,so lets join my algorithm and your skill to make best config files...
1) dont care about heating.
2) cpu governor- interactive
3) min clock frequency- 200 mhz for all cpu
4) maximum clock frequency- no limit
5) camera app not depends on temperature ( hang or slow at high temperature).
6) remove all cpu throttling...(must need)
7) remove cpu offline algorithm... (Must need)
and dont confuse between hotplug and throttling(hotplugging is turn unused CPU cores off during periods of low CPU utilization and throttling is turn CPU cores off according to temperature)...
also if you can do then set first 4 core(1.65 mhz x 4) at interactive and others (1.1 mhz x 4) at ondemand...
believe me...this makes best algorithm to control heating and increase performane
Click to expand...
Click to collapse
if you're talking about cpu2 & cpu3 still offline then I can't help.. it's because of the kernel.
they are active as per need though , not totally offline.
thermal config should be good for your need (if you want can remove all the SS-CPU in there )
https://drive.google.com/file/d/0B7YlmAzhAoSxanpPNTdPSlgxZG8/view
post_boot.sh later.. ( i think Keasby has one with mix interactive/ondemand)
Explain
thanks for your hard work but can you tell me changelog of this config files according to my requirement...
Thanx but there is a problem
Yes you here right,i just checked your config file,i think this is perfect mod but it does not support miui 6.7.2... After some time frequency of first four core set to 1651 mhz and rest at 800 mhz...please fix this issue,it makes heating issue...
The Introduction
I'm about to tell you how to get buttery smooth, lag free performance with insanely good battery life, using an old school governor featured in practically every kernel... This tweak is applicable to every phone with any ROM or kernel--stock or custom--that provides the Interactive Governor.
Yeah, yeah... everyone promises good battery with great performance, but who actually delivers? Maybe it isn't as smooth as you want, or maybe it requires something your kernel or ROM don't support. Or maybe the battery life promises just aren't what you expected. There's always some awful compromise. Not here!
This isn't a guide to get 36 hour battery life... provided you never use your phone. That's deep sleep optimization, which is lovely and all, but what good is the phone if you can never use it?! And with the new Marshmallow Doze feature, this strategy is becoming a think of the past. What I'm talking about is 7-14 hour screen on, actual hands-on usage times! Without compromising anything, you can get 7-8 hour screen on usage with regular, no-compromise usage habits: daytime visible screen brightness, both radios on, sync on, network location on, all the regular usage features, the whole kit and kaboodle... all smooth as a baby's butt and snappy as a Slim Jim! (Up to 14+ hours if you can stand minimum brightness and WiFi-only with a custom ROM and other stuff turned off! And this is with stock voltages and full frequency range--you'll likely get even more if you choose to optimize those as well!)
However, it should be noted that this does not apply to gaming, heavy camera use, etc. Anything that is an automatic battery killer in and of itself. There's nothing that can be done about anything that forces the phone to utilize its maximum resources all the time. But you should know that by now. Further, this guide is about optimizing the CPU as much as possible. It does not cover things like eliminating wakelocks so your phone sleeps well, removing unnecessary and battery draining stock apps, keeping your screen brightness down*, and all that stuff that's been covered in other posts ad infinitum. Those optimizations are up to you.
*At least on the Mi4i, you shouldn't be turning your screen brightness above about 50%. It should be more than viewable in sunlight at that brightness, and keep in mind that the brightness power requirements increase exponentially, so a 100% bright LCD screen will use about 3.5-4.5x more power than a 60% bright screen. I don't see that fact brought up often, so I thought I'd mention it here.
After a bit of tweaking and experimenting, I developed some settings that provide absolutely incredible battery life, buttery smooth performance, and a lag free experience. And you don't need a fancy governor, or a custom kernel, custom clock rates, or even a Mi4i. This will work on any ROOTed phone with the Interactive governor!
The Nitty Gritty
Before I lay out all the settings so you can blindly enter them into your governor control, I should to explain some of the principals I employed to get the results I did. The primary thing to understand before I do is: little might you know, the settings in the Interactive governor can be tweaked on a clock range basis. That is to say, you can finely control how the governor responds at a variety of clock rates, thus better dictating how it should operate under various loads. This is integral to the configuration, because it means the difference between jumping from the slowest speed to the highest speed under load and sustaining lower clock speeds for tasks that don't really require higher clock speeds.
By default, the Interactive governor will jump from lowest speed to a "nominal" speed under load, and then scale up from that speed as load is sustained. That is lovely, but still too twitchy to provide serious efficiency and power savings. It spends most of its time at 2 or 3 clock speeds and barely hits other clock speeds that are ideal for other tasks or usage patterns.
Instead, what we want to do is configure it to handle different types of loads in different ways. A load suited for scrolling through a webpage is not the same as a load suited for downloading/processing streaming video is not the same as a load suited for snappy loading of an app is not the same as a load suited for high performance gaming. Every kind of load has different tolerances at which their minimal speed is indistinguishable from their maximal speed.
Nominal Clock Rates
Nominal clock rates are the minimum CPU clock rates that perform a given task smoothly and without stuttering or lag. To find the nominal clock rate for a given task, turn on only the first CPU using the Performance governor and turn them both down incrementally until you find the minimum clock rate that works best for what you're trying to do, without introducing hiccups. (If you have a CPU or kernel that hotplugs individual cores, multiply that clock speed by your number of cores.) Keep the 2nd CPU on the Powersave governor with the lowest frequency your kernel supports. (Or turn it off completely if hotplugging allows.)
(Note: If your device supports per-core hotplugging, you might be better off using the old guide to determine your nominal clock rates. The Mi4i and all current kernels only support hotplugging entire CPUs, so your results may vary if you use any other device.)
For example, on my Mi4i, scrolling (not loading, simply scrolling) through a large webpage smoothly will occur when the second CPU clock rates are no less than 460Mhz. (This is on mine without background tasks taking any CPU. Yours may be different depending on services running, the browser you use, your ROM, kernel, etc.) Thus, the nominal clock rate for scrolling a webpage on my Mi4i is 460Mhz.
To understand what's best under a variety of tasks, we have to identify two types of load profiles: nominal clock rates and efficient clock rates.
Efficient Clock Rates
Efficient clock rates are CPU clock rates that are unique in that they are the most optimal frequency given the range of voltage requirements. If you map out the frequency jump and the voltage requirement jump between each of the available clock rates, you will find that occasionally the voltage requirement will jump significantly without the frequency jumping proportionally to the previous differentials. For example, using stock voltages, the EvoLTE's msm8960 chipset clock/voltage ratios jump significantly higher from 702Mhz to 810Mhz than the ratios from 594Mhz to 702Mhz.
This section is INCOMPLETE! If you know the voltages, please post and I can update this guide to include the Mi4i's Efficient Clock Rates.
Clock Rate Biases
Using the information provided above, figure out both your nominal clock rates for the tasks you perform most often and your efficient clock rates depending on your kernel/custom voltage settings. For me, since I cannot determine the efficient clock rates, I use the nominal clock rates listed above. For the tasks I generally perform on my phone, my nominal clock rates are as follows:
Idle - 345Mhz
Page Scrolling - 533Mhz
Video -800Mhz
App Loading - 960Mhz
High Load Processing - 1612Mhz
(Note that you must calculate the values that are optimal for your phone for best battery and performance! Each phone is different because of the ROM, kernel, background tasks, etc!)
With this done, you will want to start the fine tuning phase! Correlate the efficient clock rates with their closest nominal clock rates, similar to below:
(This section of the guide is INCOMPLETE because I do not know the clock rate voltages for the Mi4i. If you know these, please post in the comments and I will update the guide!)
Idle - ???Mhz efficient / 345Mhz nominal
Page Scrolling - ???Mhz efficient / 533Mhz nominal
Video - ???Mhz efficient / 800Mhz nominal
App Loading - ???Mhz efficient / 960Mhz nominal
High Load - ???Mhz efficient / 1651Mhz nominal
Keep these handy, as they're going to be necessary for...
The Set Up
Now that we know what are the most efficient nominal clock rates we want to focus on and what the most optimal are for what we want to do, we will start low and scale up as necessary. It's always better to begin with underperforming and tweak the settings upward until we're satisfied with the performance of our target tasks.
In its default state, the Interactive governor has a hair trigger that will raise and lower the clock rates, which means it spends too much time at unnecessary clock speeds, wasting power, and scales down too quickly, leading to stuttering performance. We will take advantage of a seldom used feature of the Interactive governor. Specifically, that with which it determines when it is okay to scale up to each higher clock rate, on a frequency by frequency basis.
We have two primary goals: respond as quickly as possible to each load request for a lag free experience and exceed the desired clock rate for a given task as little as possible. To do this, we will instruct the Interactive governor to trigger certain clock rates in different ways depending on our expected load.
I won't explain all of the settings of the Interactive governor--there are plenty of summaries all around. (Go search now if you don't know what any of the settings for Interactive governor do. I'll wait here.) However, I will explain an incredibly powerful feature of the Interactive governor that is rarely included in those summaries: multiple frequency adjustments.
The above_highspeed_delay setting, for example, defines how long the governor should wait before escalating the clock rate beyond what's set in highspeed_freq. However, you can define multiple different delays that the governor should use for any specified frequency.
For example, we want the above_highspeed_delay as low as possible to get the CPU out of the idle state as quickly as possible when a significant load is applied. However, we don't want it to jump immediately to the fastest clock rate once it's gotten out of idle, as that may be overkill for the current task. Our target trigger (which you will later adjust to suit your system and usage profile), will begin at 20000μs. That means 20,000μs (or 20ms) after our idle max load has been reached, we want to assume idle has been broken and we want to perform an actual task. (We want this value as low as possible without false positives, because it is one of a few factors that determine how snappy and lag free the CPU's response is.)
But at this point we're not ready to take on a full processing load. We may just be briefly scrolling a webpage and don't need the full power of the CPU now that we've allowed it to break out of idle. So we need it to reach a particular frequency and then hold it there again until we're sure the load is justified before we allow it to push the frequency even higher. To do that, rather than just setting
above_highspeed_delay - 20000
we will instead use the format "frequency:delay" to set
above_highspeed_delay - 20000 460000:60000 600000:20000
"Waaaait... What does that do?!"
This tells the Interactive governor to hold out 20ms after our target load when it's at our highspeed_freq (which we're actually using as our idle frequency--not a burst frequency as originally intended), but then it tells the governor to hold for 60ms after it's reached 460Mhz. Once it has exceeded 460Mhz, it then has free reign to scale up without limitation. (This will be optimized with the target_loads setting in a minute. And if you don't know what I'm talking about when I say "highspeed_freq" then you didn't go search for the basic Interactive governor settings and read about it! Go do that before you read any further, because I will not explain the basics of this governor!)
These settings are among the most important, because they limit the phone's clock rates when you are not interacting with it. If it needs to do something in the background, chances are it does not need to run full throttle! Background and idle tasks should be limited to the lowest reasonable clock rate. Generally speaking, if you're just looking at your phone (to read something, for example), you want the phone to use as little CPU power as possible. This includes checking in with Google to report your location or fetching some pull data or... whatever. Things that you don't need performance for.
So now that we know how to specify different settings for different frequency ranges, let's finish it all up with...
What About Touchboost?
Touchboost is a nifty feature in a lot of kernels (including stock on Mi4i) that jumps up the frequency so that you experience minimal lag. However, with all the above settings, touchboost is usally detrimental to the efficiency of the device!
We generally want to keep the CPU on the lowest possible frequency as much as possible, and touchboost interferes with that. Further, because we've set up the maximal and minimal efficient clock rates, as well as burst processing from the 1st CPU core, we don't need touchboost!
If your kernel allows you to shut it off, try to do so and see if the responsiveness of your device is acceptable. On the Mi4i, touchboost adds no perceptual performance gain and only hurts efficiency and battery life. If your kernel doesn't allow you to turn off touchboost, try another one, like the excellent Sensei.
Your battery life will thank you!
The Setup
In the "CPU" section, turn off "Touchboost". (This is crucial!! YOU MUST TURN OFF TOUCHBOOST OR ELSE YOU WILL NOT SEE ANY BATTERY SAVINGS!!!) Make sure the "Max CPU Frequency" is set to the maximum possible value for each CPU. Make sure the "Min CPU Frequency" is set to the minimum possible value for each CPU. Under "CPU Boost", set "input boost milliseconds" to "0". Then set the following values for each CPU under "Governor options" for each CPU respectively:
CPU #1 (aka "Big", aka "has 4 cores", aka "maxes out at 1665Mhz")
target_loads - 1 960000:80 1113600:85 1344000:90
timer_slack - 80000
hispeed_freq - 1113600
timer_rate - 20000
above_hispeed_delay - 20000 1113600:50000
go_hispeed_load - 85
min_sample_time - 50000
CPU #2 (aka "little", aka "has 4 cores", aka "maxes out at 1113Mhz")
target_loads - 1 800000:80
timer_slack - 80000
hispeed_freq - 998400
timer_rate - 40000
above_hispeed_delay - 10000
go_hispeed_load - 90
min_sample_time - 40000
The Conclusion
I have achieved unprecedented performance, smoothness, snappiness, and battery life with the default settings I outlined above. However, your mileage may vary, as every phone, ROM, kernel, installed applications, etc are different. This is a very sensitive governor profile and must be tweaked to just meet the requirements of your system and your usage patterns!
If it is not optimally tuned, performance and battery life will suffer! If you're not seeing buttery smooth, snappy performance, you have not correctly tuned it for your system!! However, if you do have superb performance (and you tweaked the values conservatively and not in large steps), then you will also get the aforementioned battery life.
I will be happy to answer any questions, or provide any guidance I can. However:
You must otherwise optimize your phone first! This will not "fix" a poorly optimized system and will, in fact, reduce performance and battery life without further optimization and proper tweaking.
I will not answer questions about "what is a governor?" There are plenty of resources available already, so search for them.
I will not answer questions about "how can I tweak [some other] governor?" This is about the Interactive governor only.
I will not respond to "nuh uh! show proof!" posts. The fact that I spent 12 hours writing this up should be proof enough that I am satisfied with the results. You can take it or leave it; makes no difference to me. The default settings should work with any fully optimized Mi4i running any kernel, so just try them on your own. If you're not absolutely satisfied (and trust me, either it'll work out-of-the-box with flying colors and you'll know it works for your system, or it'll be an awful experience which means you must tweak it), then you haven't adequately adjusted the settings to suit your system.
Lemme know what you think, and good luck!
Thanks to @soniCron for the original thread here : http://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557
Woah, Will try it soon. Thanks for the awesome thread and work.
The interactive governor from your Sensei kernel already had all these settings tuned.
I will come back in 24-48 hours with results.
One question that I have is: will something like Amplify (deals with wakelocks) interfere with this?
mandarin91 said:
The interactive governor from your Sensei kernel already had all these settings tuned.
I will come back in 24-48 hours with results.
One question that I have is: will something like Amplify (deals with wakelocks) interfere with this?
Click to expand...
Click to collapse
I've dealt with a few wakelocks in the kernel, Amplify won't disturb anything I guess.. Also this is just for future refs for users who are either on stock or any other kernel...
How exactly does this target load list work - why the loads are not progressive, but 85 - 90 - 80? set target to 90% load at 1.1ghz, but then we want 80% at 1.3ghz? Shouldn't the target loads only go up?
target_loads - 1 960000:85 1113600:90 1344000:80
are you sure that above_highspeed_delay for CPU#2 is correct?
danb1974 said:
How exactly does this target load list work - why the loads are not progressive, but 85 - 90 - 80? set target to 90% load at 1.1ghz, but then we want 80% at 1.3ghz? Shouldn't the target loads only go up?
target_loads - 1 960000:85 1113600:90 1344000:80
Click to expand...
Click to collapse
Exactly. And where are the lower frequencies?
The lower frequencies are left untouched. I've been testing this for some time now. Look at the screenshots.
mandarin91 said:
Exactly. And where are the lower frequencies?
The lower frequencies are left untouched. I've been testing this for some time now. Look at the screenshots.
Click to expand...
Click to collapse
bump (?)
Will we get an answer?
I've fixed the settings, target load will now go up rather than up-up-down... Also these settigs are a WIP, right now this is the optimal settings I have that will provide battery life and performance. I will update the settings each time an improvement is made.
Lower frequencies aren't doing much fr me but I'll try to include them into the formula...
haikalizz said:
Lower frequencies aren't doing much fr me but I'll try to include them into the formula...
Click to expand...
Click to collapse
I am talking about these:
Idle - 345Mhz
Page Scrolling - 533Mhz
Video -800Mhz
App Loading - 960Mhz
High Load Processing - 1612Mhz
Click to expand...
Click to collapse
If these "aren't doing much" then there will be only five frequencies: 200, 960, 1113, 1344, and 1651.
And most of the time is spent on 200 or 960. Won't the frequencies between 200 and 960 give better battery life?
How can an awesome thread like this die?
mandarin91 said:
I am talking about these:
If these "aren't doing much" then there will be only five frequencies: 200, 960, 1113, 1344, and 1651.
And most of the time is spent on 200 or 960. Won't the frequencies between 200 and 960 give better battery life?
Click to expand...
Click to collapse
no it doesnt quite work that way. not all lower frequencies will give better battery life. it also depends on the SOC in question and the nature of the SOC. I think hakalizz has mentioned previously of several optimized voltages and frequencies which we don't know for the snapdragon 615. let's use the 615 and some hypothetical values
200mhz - 650mv
400mhz - 650mv
you would have thought that 200mhz would give better battery savings but that isnt the case over here. even though the 400mhz would use more power (even though it is rated the same as 200mhz), technically you get battery savings because 400mhz gets the job done in well, twice the speed of the 200mhz. So you need to either figure out which of your frequencies are optimized in such a way that it can take advantage of the race to idle factor too.
for now i'm still on zzmoove but only to a point where i figure out how to optimize interactive for my own usage (with hotplugging etc)
just to further the point on this advance interactive tweaks - theory-wise and practicality-wise it is sound, you use the best frequencies(Bare minimum that you can stand) and you enjoy battery savings as well. the only issue I see is if you use your phoen differently from the OP. that's why haikalizz says you need to tweak and adjust it on your own
davtse said:
no it doesnt quite work that way. not all lower frequencies will give better battery life. it also depends on the SOC in question and the nature of the SOC. I think hakalizz has mentioned previously of several optimized voltages and frequencies which we don't know for the snapdragon 615. let's use the 615 and some hypothetical values
200mhz - 650mv
400mhz - 650mv
you would have thought that 200mhz would give better battery savings but that isnt the case over here. even though the 400mhz would use more power (even though it is rated the same as 200mhz), technically you get battery savings because 400mhz gets the job done in well, twice the speed of the 200mhz. So you need to either figure out which of your frequencies are optimized in such a way that it can take advantage of the race to idle factor too.
for now i'm still on zzmoove but only to a point where i figure out how to optimize interactive for my own usage (with hotplugging etc)
just to further the point on this advance interactive tweaks - theory-wise and practicality-wise it is sound, you use the best frequencies(Bare minimum that you can stand) and you enjoy battery savings as well. the only issue I see is if you use your phoen differently from the OP. that's why haikalizz says you need to tweak and adjust it on your own
Click to expand...
Click to collapse
Dude, haikalizz mentioned those frequencies in the post but never implemented them in the settings. That is what I'm saying.
Idle - 345Mhz
Page Scrolling - 533Mhz
Video -800Mhz
App Loading - 960Mhz
High Load Processing - 1612Mhz
mandarin91 said:
Dude, haikalizz mentioned those frequencies in the post but never implemented them in the settings. That is what I'm saying.
Idle - 345Mhz
Page Scrolling - 533Mhz
Video -800Mhz
App Loading - 960Mhz
High Load Processing - 1612Mhz
Click to expand...
Click to collapse
dude, i was responding to your question, should these freq inbetween give better battery life
You must otherwise optimize your phone first! This will not "fix" a poorly optimized system and will, in fact, reduce performance and battery life without further optimization and proper tweaking.
Please tell me how to optimize my phone ?
rmusa06 said:
You must otherwise optimize your phone first! This will not "fix" a poorly optimized system and will, in fact, reduce performance and battery life without further optimization and proper tweaking.
Please tell me how to optimize my phone ?
Click to expand...
Click to collapse
Debloat, amplify, things like that...
haikalizz said:
Debloat, amplify, things like that...
Click to expand...
Click to collapse
Thank you sir
What app are you using to implement the changes?
Well I got some nice results applying this technique and have overall 1/2 hours more sot using interactive gov. The only profile that works and follows the normal rules is the Ghostpepper profile. I have a moto x play with the same soc so it should work for the mi4i to. First you must calculate the max and min target loads before you can do something power efficient using this technique.
My advice is try to translate the nexus5x ghostpepper profile and replace your min and max target_loads with the ones in the original profile.
And why is this thread just copied and pasted from the original nexus5 thread and only replaced some words with "mi4i". You also forgot the most important part: calculating the min and max target_loads.
I'm not a Dev. but for a while i was chasing the unicorn. I wanted to find a setting on my xperia M2 that gives battery and performance.. My phone got really hot after 20-30 min of usage on stock settings. So I thought there must be different ways to this. I use a custom rom Z5 style, it has the standard kernel as far as I know.
I studied some writings about governors like: http://forum.xda-developers.com/xperia-m2/general/ref-xperia-m2-cpu-governors-hotplugging-t3454006 and the main reason why I started tweaking with Interactive governor is this very useful thread: http://forum.xda-developers.com/showthread.php?t=2769899
As U can see I only used what was already on here I just wanted to share my current settings as i find them fast enough for daily use and quite battery friendly..
In the second thread you have a really good explanation on interactive and i find it to be a very versatile governor. MP decision is off with these settings.
Anyhow back to my settings.. I use Kernel Aduitor (an older mod version) to change my settings, it works for me the best.
1. setting is above_hispeed_delay I changed it to: 10000 787200:35000 998400:45000
2. boost : leave it at 0
3. boostpulse_duration: change to 0
4. go_hispeed_load: 95
5. hispeed_freq: 787200
6. io_is_busy_ 0
7. min_sample_time: 30000
8. sampling_down_factor:1
9. sync_freq:300000
10. target loads: 80 384000:85 600000:90 787200:95 998400:99
11. timer_rate: 30000
12. timer_slack: 50000
13. up_threshold_any_cpu_freq: 0
14 up_threshold_any_cpu_load: 0
If U try it, change it and find something that works better with less battery please write back!
Edit
I did some changes to the numbers, its a bit smoother and SOT with my type of usage is around 6-8% drop per hour on my phone.
This is a battery oriented setup with MP decision off. My usage profile involves a lot of reading so it is not that cpu intensive. Results may be different for You!
NOTE!
If U would like to have more performance try the Hawktail profile suggested by AutumQueen92 lower in the tread is the link
Awesome work bro...
Best battery backup!!!
semil said:
I'm not a Dev. but for a while i was chasing the unicorn. I wanted to find a setting on my xperia M2 that gives battery and performance.. My phone got really hot after 20-30 min of usage on stock settings. So I thought there must be different ways to this. I use a custom rom Z5 style, it has the standard kernel as far as I know.
I studied some writings about governors like: http://forum.xda-developers.com/xperia-m2/general/ref-xperia-m2-cpu-governors-hotplugging-t3454006 and the main reason why I started tweaking with Interactive governor is this very useful thread: http://forum.xda-developers.com/showthread.php?t=2769899
As U can see I only used what was already on here I just wanted to share my current settings as i find them fast enough for daily use and quite battery friendly..
In the second thread you have a really good explanation on interactive and i find it to be a very versatile governor.
Anyhow back to my settings.. I use Kernel Aduitor (an older mod version) to change my settings, it works for me the best.
1. setting is above_hispeed_delay I changed it to: 10000 998400:50000 1094400:30000
2. boost : leave it at 0
3. boostpulse_duration: change to 0
4. go_hispeed_load: 95
5. hispeed_freq: 787200
6. io_is_busy_ 0
7. min_sample_time: 30000
8. sampling_down_factor:0
9. sync_freq:0
10. target loads: 99 600000:95 998400:99
11. timer_rate: 20000
12. timer_slack: 40000
13. up_threshold_any_cpu_freq: 0
14 up_threshold_any_cpu_load: 0
If U try it, change it and find something that works better with less battery please write back!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=68223776&postcount=4203
You're linking to an old site, the newer one is here. Also, I get better SOT and performance with Hawktail. Set your sampling_down_factor to 1 (stock Android setting, not sure why Sony made it 0) and sync_freq to 787200 (sets all cores to this frequency depending on CPU load)
Hi thx for the reply sadly there is no kernel with Hawktail for the M2 as far as I know.. for sampling_down_factor ill try.
semil said:
Hi thx for the reply sadly there is no kernel with Hawktail for the M2 as far as I know.. for sampling_down_factor ill try.
Click to expand...
Click to collapse
???
Hawktail is the profile name, not governor. You just take all their values except the ones that needs our own CPU frequency like in the attachment.
Oh did not know sry. I will try those settings and compare.
Do you have MP decision on or off? I have it off. These hawktail settings shortened my SOT considerably today. Performance is crisp that is true, but better SOT? not for me.
semil said:
Do you have MP decision on or off? I have it off. These hawktail settings shortened my SOT considerably today. Performance is crisp that is true, but better SOT? not for me.
Click to expand...
Click to collapse
MPdecisions is turned on, because there are no other hotplugs. When mpdecision is turned off, all 4 of your cores are constantly turned on and locked at 787mhz. If your SOT shortened try the GhostPepper profile or experiment with your own profiles. Some people do have different times on profiles because of usage patterns
That was the case yes. I leave hotplug off. Actually all four cores are on all the time but when idling on 300 MHZ it does not use much juice really. I read somewhere that switching cores on/off actually uses a lot of battery. With my usage pattern SOT is better with hotplug off..
semil said:
That was the case yes. I leave hotplug off. Actually all four cores are on all the time but when idling on 300 MHZ it does not use much juice really. I read somewhere that switching cores on/off actually uses a lot of battery. With my usage pattern SOT is better with hotplug off..
Click to expand...
Click to collapse
I see, that sounds good. Then sync_freq should be set to to minimum frequency too, otherwise they lock up at higher freqs.
Can anyone provide with a "explain me like I'm five" post of what is this about? And if it is as good as it sounds?
Vadeinspace said:
Can anyone provide with a "explain me like I'm five" post of what is this about? And if it is as good as it sounds?
Click to expand...
Click to collapse
Hi, its about the governor that runs your cpu. Interactive is very easy to customize: it can be fast or it can be battery friendly but slower. These settings are a good compromise for me but might not be fast enough for You. The Hawktail settings are really fast, similar in fact to 6.0 settings. Your phone should be rooted and with a kernel that has interactive. With a kernel aduitor type of apk You can easily try out different settings.