I see that several ROMs now have settings for "CPUfrec interactive, powersave, ondemand".
What do these do?
I am aware of SetCPU that was used to save battery, but how does this fit in with the above?
Do I need to use SetCPU on these ROMS, or is it automatic? Is it better with these new settings? What about Perflock?
An explanation of what all this is about would be useful.
Cheers.
Interactive is the one to toggle if you want performances with acceptable battery time. Ondemand is a little less reactive but saves more battery witout harming performances too much. Use powersave instead if you only care about battery time. That's it (i guess).
Sent from my HTC Desire using XDA App
Cheers, that explains it.
vnvman said:
Use powersave instead if you only care about battery time.
Click to expand...
Click to collapse
Keep in mind that Powersave keeps the phone running at 245 MHz. That is the very reason battery time becomes longer.
For me this is too low - the machine becomes too slow - and I did not buy a 1 GHz phone to only have it running at 245 MHz all the time.
Just play with the settings and see what works best for you.
An example of decent settings by people who know what there doing would be good.
Mine is set at screen off, 245min 245 max powersave.
Main profile is 998 max 245 min, interactive, with set on boot ticked.
Temp selected to 38 degrees, 245/245 powersave.
If battery becomes more or less important, what to change to in terms of govnor but also up threshold on advanced settings.
Thanks
Related
Does HTC DESIRE with stock FROYO use CPU THROTTLING by default or not?
If not the the SetCPU would really come in handy when the Desire is idle.
+1
I too would like to know this.
what do you mean throttling? you mean it drops speed at high temperature? or drops speed when idle?
by default the desire is set ondemand 998mhz when idle or at sleep it drops to 245mhz
hamdir said:
by default the desire is set ondemand 998mhz when idle or at sleep it drops to 245mhz
Click to expand...
Click to collapse
this is what I meant.
When you say sleep, does that mean that when the you press the power button once and the screen turns off.
Does this constitute as sleeping and thus lowers the clock to 245MHz?
ashrack0 said:
this is what I meant.
When you say sleep, does that mean that when the you press the power button once and the screen turns off.
Does this constitute as sleeping and thus lowers the clock to 245MHz?
Click to expand...
Click to collapse
yes when the screen turns off, unless a program is requesting cpu resources it will drop to 245 not only during screen off but during idle time too
you can improve all this by rooting ofcourse and installing kernel with different schedulers like interactive but ondemand is there in stock froyo
1.
So the stock HTC Froyo just uses 2 states.
When operating the phone it is at ~1GHz, but when the phone is idle it's at 245Mhz.
Correct?
2.
If the scheduler was Interactive but On Demand that would mean that the CPU clock would adapt to my usage. Such as this example:
- If I was browsing the net thru WIFI the clock would be ~1GHz.
- If I was just adding a calendar entry then the clock would probably be < 500 MHz.
Correct?
3.
Are there any slowdowns expected by using the On Demand schedular?
ondemand is in stock
schedulers like interactive, powersave and smartass can be added via root
no on demand also scales the frequencies not just two state
ondemand is good enough only sometimes late to respond to low latency like UI menus, for example interactive is more smart and responds faster there is another called smartass which is supposed to be a further modification
by the way you can notice ondemand sometimes late response while scrolling the default white messages widget in sense
HAMDIR
thx for the thorough explanation.
While browsing through this forum I noticed that the frame of mind is that interactive would give better battery life.
Why is that so?
Hamdir,
Thanks for your explanations Can I just ask you 1 more question. I have asked it on another thread but no-one took the time to give me an answer.
I have installed Richard Trip's svs V5e_1113 kernel but I do not have SetCPU installed. Which governor does this kernel use by default and is there a way (using a command from ADB shell) to use smartass governor instead? I really need to know this.
Thanks and I hope to get an answer this time.
Hi,
I've just noticed the Performance settings menu under the CyanogenMod Settings menu and I wanted to give overclock and other features a try...safely.
I'm looking for increasing my Wildfire's performance in a remarkable way but without harming or causing any trouble to the phone. So I'd like to start in a quite conservative way.
What governor should I choose? (default: smartass)
What max and min CPU frequency? (default 518 and 352 Mhz)
What about the VM heap size? (default 24m)
What do you guys use as your settings?
Thanks a lot!
Governor : Smartass
CPU Speeds : 264 Min, 652 Max
VM Heap Size : 32 M
Remember, don't expect miracles by OC'ing your CPU. You'll probably be disappointed.
Thanks for answering!
In the meanwhile I set up 264 as min and 691 as max...is that too much and potentially dangerous?
No miracles indeed but the phone felt a bit more snappy when playing games for example.
Do you know where I can find some info about the different governors?
Also, what is exactly the VM heap size?
Thank you!
No, wont harm it. Only if you experience instability, reduce it to the next (Or rather, Previous) level.
CPU Governors:
* ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
* conservative – Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
* performance – Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.
* powersave – Available in some kernels. It will keep the CPU running at the “min” set value at all times.
* userspace – A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.
(The above wall of text is lifted from SetCPU's site)
In addition to that , Smartass is really the smart one. When your screen is on, the minimum frequency will automatically be set to 518 MHz, making your phone seem it is flying, and, when the screen is off, then, it reverts back to the minimum set value, and saves battery - Best of both worlds!
As for VM Heap Size, it is the maximum amount of heap space (i.e. memory) a single instance of the Dalvik VM (application) can obtain. Technical concept, but, you can read it up more if you like.
Thanks a lot for the insigthful reply, everything's clearer now!
i put everything on max. but thats just me. phone works fine though :L
Hi,
What's the best setting for my battery? It drains so fast.
Mine is as following:
Min.: 245 Mhz
Max.: 537 Mhz
INTERACTIVE
I have to charge the Phone every evening, thats a bit annoying.
Thank you in advance
When using the cyanogenmod settings for the cpu speed,setcpu isn't required anymore right?
Sent from my HTC Wildfire using XDA App
FrydaeXIII said:
When using the cyanogenmod settings for the cpu speed,setcpu isn't required anymore right?
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Yes, you are right. Conflicting apps are never recommended.
thanks for the tip...
So many people on these forums ask about the best CPU tuner profiles to set on their Desire Z that I thought i'll make a thread here to refer to.
Note: I've been using and experimenting with CPU tuner for 5 months now, and i faced all the known issues before i came to these settings. Also, I have been listening to everyone's remarks. So i think it works the best. Now don't blame me if your phone turns into a fireball after you applied these settings (well, it's rare though...).
If you don't have it, you can download "cpu tuner" from the market. I'm using the 2.1.2 version.
Tips first:
You need a ROOTED phone to operate CPU tuner properly.
You'd better get a good kernel which allows a wide frequency range and the basic governors.
Read the help that's included with the program (Menu -> Help).
Unless you really need it, do not run the Check System Capabilities.
Not all phones can handle high CPU speed, just experiment. It's mostly a matter of luck.
The purpose of CPU tuner is to allow you to save battery life while getting the best of your phone when you need it. It allows you to change two important things in your phone, defined in "profiles":
Governor: the "brain" that decides when to lower or raise frequency, depending on what you do
Frequencies: the min/max frequencies the governor can choose between.
These profiles are applied depending on your battery status. Battery remaining life is the variable for "triggers", which fire the profile changes.
Usually, you want your phone to give you the best of its power, as long as possible, so i defined only two triggers: one for "Battery is fine, thanks" and one for "Battery is at agony, stop it now!" (below 20%).
Here we go:
Before you start, go to settings, and turn profiles off.
Virtual governors
In the virtual governors tab, we define the 3 ones we need:
VG: Screen Off: "interactive" governor
VG: Normal: "ondemand" governor, with threshold up at 95
VG: Powersave: "conservative" governor with thresholds up at 97 and down at 90
Profiles
Now, let's set 3 profiles for the different cases:
Screen off: Governor "VG: Screen Off", frequencies 691-806Mhz
Normal: Governor "VG: Normal", frequencies 806-1210Mhz
Powersave: Governor "VG: Powersave", frequencies 599-806Mhz
In all cases, let all services on "unchanged" unless you want some specific behavior.
Triggers
Ok, now that we have everything we need, let's say what to trigger, and when:
Let 2 triggers:
1.Battery Good
Level: 100
On Battery: Normal
Screen Locked: Screen off
On Power: Normal
(optional but advised) Call in progress: Normal
(optional) Battery hot: Powersave
2.Battery Low
Level: 20
On Battery: Powersave
Screen Locked: Screen off
On Power: Normal
(optional but advised) Call in progress: Normal (this is important for call stability)
(optional) Battery hot: Powersave
You're ready to go now! But we can check some options if you'd like to:
User interface:
Be sure not to enable the Calculate power usage.
Also, here you can remove the (annoying) notifications, just let the status bar icon.
Profiles and triggers
Remember this optional "Call in progress" option? Here you cna enable it.
Service Switches
It's a good idea to check the "Manual service change" box, not to be bothered when you manually turn some connection on and it goes because you run low on battery.
Buy me a beer
Honestly, you can buy him two ones...
And to thank me, just click on the "Thank" button on this forum
When you're done, turn profiles on again.
Tell me how you do with these settings!
hi. i have a desire z running virtuous 1.0.2 with advanced kernel 2.2.0.
i follow you settings and after 2 days of use i've got the screen wake up issue on incoming call.
there's something i missed?
Are you using the Call in progress settingon every trigger ?
yes, i've set both to the normal profile as in your guide.
now i've disabled the option in settings and hope that works...
Yeah, try without this setting.
If you keep having the issue, try to raise the min frequency of screenoff.
ok! now i've found a good config!
i've increased screen off min freq to 691 and enabled again the call in progress option.
if the call in progress option is disable, the phone locks during a call and the proximity sensor won't work anymore (for example if you wish to end a call).
i hope this will help some other users!
thank you for help and guide!
Please give again a feedback in some days, and then i'll add your findings in the 1st post.
Thanks
after 3 days of usage i can say that this is the right config.
no more wake up / in call locking / end call wake issues!
Alright and you're using interactive for screenoff, right? I'll edit my first post
You guys minimum frequencies look a bit too high, I have mine set to 245 minimum and it gets me much better battery life. I would also suggest using SetCpu (it's free for registered xda members). Just a thought though.
Edit: CPUTuner can also cause issues with any rom that isn't CM7; and also on CM7 under the right circumstances.
Sent from my HTC Vision using XDA App
@Ninj: yes, that's right!
@PaganAng3l: any suggestion is welcome! why don't you post an example of your settings?
Great little write up. I look forward to setting it up after work!
My profiles in SetCPU are pretty basic, but I get great preformance and around 30 hours of battery with moderate/heavy usage. Here are my profiles:
Temp > 42.0 C = 806 max / 245 min
Governor = Conservative Priority = 95
Charging = 1209 max / 245 min
Governor = On Demand Priority = 90
Battery < 25% = 806 max / 245 min
Governor = Powersave Priority = 85
Battery < 50% = 1017 max / 245 min
Governor = On Demand Priority = 80
Battery < 101% = 1209 max / 245 min
Governor = On Demand Priority = 75
That's it! I don't personally experience "wake lag" or a blank screen with incoming calls with these settings, but if you do simply bump up your minimum frequencies to above 300 mhz.
Sent from my HTC Vision using XDA App
PaganAng3l said:
[...]
Battery < 25% = 806 max / 245 min
Governor = Powersave Priority = 85
[...]
Click to expand...
Click to collapse
powersave? i can't find that governor...
i've set it on conservative.
i'm trying your settings but i still have the wake up issue.
now i'm going create a screen off profile.
if even this won't help, i'll try to increase the minimum freq to 300mhz.
however i have to say that this setup really help to increase battery life.
after 2 day of moderate usage i'm still at 66%!!
eFFeRaTuM said:
powersave? i can't find that governor...
i've set it on conservative.
i'm trying your settings but i still have the wake up issue.
now i'm going create a screen off profile.
if even this won't help, i'll try to increase the minimum freq to 300mhz.
however i have to say that this setup really help to increase battery life.
after 2 day of moderate usage i'm still at 66%!!
Click to expand...
Click to collapse
Your kernel may not support a "powersave" governor. I just flashed pershoot's kernel and I no longer have it. Try bringing all of your max frequencies to 1171mhz or lower. This helps solve the waking issue too.
Edit: having a screen off profile caused me no end of trouble. It may not be an issue for you but I thought I would share.
Sent from my shiny metal G2 w/ meXdroid V2
PaganAng3l said:
My profiles in SetCPU are pretty basic, but I get great preformance and around 30 hours of battery with moderate/heavy usage. Here are my profiles:
Temp > 42.0 C = 806 max / 245 min
Governor = Conservative Priority = 95
Charging = 1209 max / 245 min
Governor = On Demand Priority = 90
Battery < 25% = 806 max / 245 min
Governor = Powersave Priority = 85
Battery < 50% = 1017 max / 245 min
Governor = On Demand Priority = 80
Battery < 101% = 1209 max / 245 min
Governor = On Demand Priority = 75
That's it! I don't personally experience "wake lag" or a blank screen with incoming calls with these settings, but if you do simply bump up your minimum frequencies to above 300 mhz.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Going to give this a try. Hope I see an increase in battery life.
Why not just get the pyromod kernal and watch it do its magic?? but cool find
Sent from my HTC G2 PyroMod 2.0
Is it normal for CPU Tuner to give a "has been granted Superuser permission" message everytime the phone comes back from standby?
Sent from my T-Mobile G2 using XDA App
jankypr said:
Is it normal for CPU Tuner to give a "has been granted Superuser permission" message everytime the phone comes back from standby?
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
Yes that is normal. However since you're an xda member you can get the app SetCPU for free and I believe it's superior to cpu tuner. Just search the forum for "setcpu download" and it should turn up.
Sent from my shiny G2 w/ meXdroid V3
I bet there are some of you use either the setCPU or CPU tuner on your play..
I heard it will help save some valuable juice...
I tried setCPU/CPU tuner and i think the default setting have reduce the performance when batt go before 50% or temp over certain temperature, I get annoy when i trying to fight on a 3d game...
so I really hope any expert here can advise which is the best setCPu you have used on play, for a reference for me...
beside setCPU, i like CPU tuner for the ability to toggle 3g/2g when batt is low.. so if anyone using CPU tuner instead, please share your setting for your PLAY...
heres the profiles i have on mine, in order (setcpu)gives me tripple the battery life.
ScreenOff - max 368640, min 122880
Charging - max 1024000, min 122880
Battery <10% max 368640, min 122880
Battery <35% max 768000, min 122880
scaling is OnDemand for all of them!
looks simple... but just wonder, when it move to 368... on screen off, will it automatically switch back to 1024... when we turn on the screen?
yeah. unless its below 35% or 10%
been trying out for 1 day, havnt see much improvement, but does see the batt last longer in 20% below...
i think I will try to mimic this setting to CPU tuner, which can turn off 3G somemore on extreme batt save setting, it might help more tho..
Any new tests given to improve battery life? My xperia play is rooted and am hoping that someone out there has found the best settings\profiles to use.
Please post it here. Many thanks
Anyone else use this or a similar program, if so do you get good results ?.
mug2k said:
Anyone else use this or a similar program, if so do you get good results ?.
Click to expand...
Click to collapse
I noticed an improved battery usage after using 245 max/122 min (Powersave scaling) on Screen Off and then 1024 max/122 min (Ondemand scaling) as normal.
That combined with stopping all unnecessary services seems to work great so far (although I'm still looking for alternatives to improve things).
lagfree governor on main, min 122Mhz and 1.6Ghz on max
powersave governor, 122mhz min and max, screen off profile
performance governor, 600mhz max, 122 mhz min, on call profile
all priorities set on 100, using SETCPU
Except when gaming, I have it set to 768 conservative governor, stock ROM.
Also, I have screen off set to 245 max 122 min with powersave governor.
Edit/update: for some weird reason my battery life actually decreased when using setcpu, no matter how it was set. I've now disabled it, and the battery life went back to how it was before. Weird.
Sent from Silent Earth 3
excuse me; have question about this kernel; i couldn't post in the original thread;
by setting the min clock speed to 768MHZ & the max to 1407MHZ, How much voltage does it spend? by setting the min to 245MHZ & max to 1024MHZ how much? i overclocked to 1407MHZ , i saw more smoothness and speed; but i felt that its consuming more power!
is overclocking harmful to CPU? ( always overclocking )
Rom: MY One V RC4.0 FX
PrimoU GSM
Kernel: Latest Kiss Kernel
Hi
Political correct answer:
Of course OC "can" harm your device - like all OC´ing
Realistic answer:
Most One V devices can handle OCing up to 1.5 without problems
but since this may be specific to chip manifacturing there is no
guarantee that it is. Therefore before using any OC you should
test it very carefully.
And also - Of course running the chip at higher frequencies needs
more power. Simply physics .)
In "normal" daily use the difference is not big because the cpu will
not run at high frequencies most of the time. If you do things
like "heavy" gaming this is of course forcing the cpu to run faster.
To reduce the "effect" a little bit there is a kernel feature called
Undervolting (UV) with that you can reduce the voltage for
specific frequencies. Like OC this is device specific. So some
devices can run stable with more reduced voltage then others
BTW: why to you set the min frequency to 768?
This will limit that the frequency cannot go lower then that if the
device is idle. Running at 245 needs of course less power then 768
max
Thanks for the nice info, well, i heard that some users said that the best frequency for " My One V" rom:
Minimum: 768MHZ
MAX: 1407
I'm using "Set CPU" to OC
So setting the min frequency to 245MHZ will save more power, right?
Sent from my HTC One V using xda app-developers app
Satohiroshi said:
So setting the min frequency to 245MHZ will save more power, right?
Click to expand...
Click to collapse
Yes - especially for the time before the device can go into
"deep sleep" when beeing idle.
The only "disadvantage" is that depending on the govener that you use
there might be a small lag before the frequency scales up
Actually it depends if you notice it at all
If you use govener ondemand it should be no problem
if you use e.g. smartassV2 you might consider thinking about
using some tunables that will reduce that behaviour.
max
Thanks, yeah, i meant for normal activities, like checking Facebook,mail, watching movies ... So ondemand mode would be better
Sent from my HTC One V using xda app-developers app
maxwen said:
Yes - especially for the time before the device can go into
"deep sleep" when beeing idle.
The only "disadvantage" is that depending on the govener that you use
there might be a small lag before the frequency scales up
Actually it depends if you notice it at all
If you use govener ondemand it should be no problem
if you use e.g. smartassV2 you might consider thinking about
using some tunables that will reduce that behaviour.
max
Click to expand...
Click to collapse
What is your recommend governor to integrate with your Titanium-KISS kernel and what is your favourite I/O Scheduler tweaks, for daily use & heavy gaming?
I'm using smartassV2 & i set my I/O Scheduler to deadline until now, because it's peoples favourite
Should i change it to ondemmand to gain a better performance?
Hi
Actually there is already a lot of information about your question
in the KISS kernel thread.
Especially about how to tweak smartassV2 based on "profiles"
max
maxwen said:
Hi
Actually there is already a lot of information about your question
in the KISS kernel thread.
Especially about how to tweak smartassV2 based on "profiles"
max
Click to expand...
Click to collapse
uh, okay...i'll re-read the info once again :good: