Question regarding Setcpu scaling - EVO 4G Q&A, Help & Troubleshooting

The speed is scaling from min to max constantly, even if I am not touching the phone. Is this normal?
I am currently on CM6.
Also, I just came from a Sprint Hero with CM6 and Setcpu and the speed would stay at the min setting until I touched the screen, in which it would scale upwards.
Any help on this will be greatly appreciated.
Thank you!!

If you are using a scaling governor like ondemand or interactive, then yes, your CPU speed will dynamically adjust based on workload. As for the governor not adjusting until you click on it, that's a bug with SetCPU. SetCPU 2.0.3 just came out which should fix that.
Sent from my PC36100 using Tapatalk

Related

CPUfrec interactive, powersave, ondemand?

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

Desire's CPU throttling

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.

CPU Tuner

Hi there. Wanna check here, can we set the CPU power(minimum) to the lowest? I mean will there be any "side effects"?
Because previously before I update my CPU Tuner to the latest, the minimum CPU i can check them(by Default) is minimum 422MHz. But after updating to the latest, I realised now I can make it lower to 245MHz in this custom ROM of LeeDroid that I am previously and currently using. Same ROM before and after the updates.
Any possible side effects? =)
No side effects I'm running on 245max and powersave governor profile when screen off.
Tapatalked with Tapatalk from my Desire HD using Tapatalk.
Alright. Thanks dude!
Oh yes, those governors seems to changed. No more Smartass etc.
Only Full Speed, Normal, Save Battery and Extreme Save Battery. If for interactive, day to day usage, I suppose we use "Normal" governor? Is Normal similar to that of Smartass?

Kernel Settings Question

Just out of curiosity, I always just use the default whenever i flash a new kernel, since Sense based ROMS don't come with the ability to change Governors, but OS Moniter gives you that ability.
What IS the difference between smartass, ondemand, powersave, conservative (what I'm on) and performance?
I guess I just never bothered to wonder about it before.
Sense roms can't change the governor stock, but if you install SetCPU then you can change it.
Each governor changes the frequency at a different type.
Performance will increase it faster when needed compared to the rest.
Conservative and powersave will scale up at a slower rate.
Smartass is like ondemand but should also automatically change the frequency when the screen is off and uses other variables to determine clock speed.
HipKat said:
Just out of curiosity, I always just use the default whenever i flash a new kernel, since Sense based ROMS don't come with the ability to change Governors, but OS Moniter gives you that ability.
What IS the difference between smartass, ondemand, powersave, conservative (what I'm on) and performance?
I guess I just never bothered to wonder about it before.
Click to expand...
Click to collapse
Nice read: http://www.mjmwired.net/kernel/Documentation/cpu-freq/governors.txt
surrealmethod said:
Sense roms can't change the governor stock, but if you install SetCPU then you can change it.
Each governor changes the frequency at a different type.
Performance will increase it faster when needed compared to the rest.
Conservative and powersave will scale up at a slower rate.
Smartass is like ondemand but should also automatically change the frequency when the screen is off and uses other variables to determine clock speed.
Click to expand...
Click to collapse
Thanks and I know Sense ROMS can't change the governor, but if you use OS Monitor, you can change it there, like I posted.
surrealmethod said:
Sense roms can't change the governor stock, but if you install SetCPU then you can change it.
Each governor changes the frequency at a different type.
Performance will increase it faster when needed compared to the rest.
Conservative and powersave will scale up at a slower rate.
Smartass is like ondemand but should also automatically change the frequency when the screen is off and uses other variables to determine clock speed.
Click to expand...
Click to collapse
Wrong.
Performance locks the cpu speed at the max freq. Powersave locks the cpu speed at the min freq. Ondemand scales to the max freq whenever a load is detected and slowly scales down according to the load. Smartass is not like ondemand. Smartass scales to the highest freq needed to accomodate a load and then scales down immediately when that load has been completed. Interactive is the inspiration for smartass. Interactive takes over the idle loop and scales to the highest freq needed to complete the load. The difference from smartass is that interactive must see that the load has changed from the first value for a certain amount of time before it decides to scale.
Op, this information could have easily been found in the forums by searching. However most people don't word it the way I have just done. Also, sense or aosp has nothing to do with changing governors. You can change the governors using terminal emulator. The apps just make it easier for users to do it without typing command lines.
Actually, I should have said, I did search, but all I found were maxi-technical terms and definitions, nothing in layman's terms

Deck's settings 1.3

I am running Decks 1.3 with the SZ 2.2.1 CFS HAVS kernel and am wondering about the performance settings, not understanding what effects changing certain aspects will have. If I go into the performance settings, which is the best governor for combination of battery life/performance? Also, I don't understand how this correlates at all to the max cpu frequencies right below. Is the governor separate from the max cpu frequency? So if I change one, what impact will it have on the other. Right now I have it set to Conservative and the min cpu is 245, max is 499. Any input on this would be terrific!
The governor determines how the cpu scales between min and max frequency. While setting the min and max cpu frequency does exactly what it sounds like. So, the governor manages what speed the cpu is running at within the confines you put on it.
The different governors (smartass, conservative, savagedzen, performance, etc) will manage the scaling from min to max and max to min differently. If I remember correctly, performance scales up to max frequency very quickly when you use the phone, smartass takes into account what you are doing with the phone and scales the frequency more intelligently, savagedzen is specific to sz kernels and is based off smartass (just smarter), and conservative takes a while to scale up.
As for going from max to min frequency, I would assume the governors work the same way except for performance taking much longer to scale down (relatively).
I could be wrong, it has been a while since I changed my governor.

Categories

Resources