hmm, may i ask about :
CM7.1 performance settings:
CPU Settings :
Available Governors
1.hotplug
2.ondemand
3.userspace
4.performance
as i know performance is keep the CPU run at maximum. how about hotplug, ondemand(default) and userspace, which one should i select??
-----------------------------------------------------------------------------
And what the best Min CPU Frequency set ?? 300Mhz (default) or 600Mhz???
Thank you~~~~~
I leave mine set to ondemand set max to 1300 and set the min. to 600 because when I set my min. to 300 I would get the sleep of death.
So far with my min. set to 600 I have gone a full 24 hrs. with no SOD and it seems to have not had any ill effects on battery life.
if you want to know more about the specific governor options you can read the cpufreq configs, for example
https://github.com/intersectRaven/kindle-kernel/blob/master/drivers/cpufreq/Kconfig
will show you the configs for intersectRaven's kernel.
honestly until someone tests each of these on an array of frequencies it's hard to know which is actually best. obviously the previous statements regarding sod are more than valid points.
Related
Hello together,
first of all i would say that im completely new to this rooting and flashing stuff so dont be too hard to me. Lets start with my story: last year ive buyed my wildfire and used it for 2 months without rooting it. fast i've seen that it would be much more easier for me if i start rooting and flashing it with a custom ROM. Wildpuzzle was the first ROM i've ever used on this phone and i didn't updated it for a long time because i thought i can do anything bad to my phone. 3 days ago i've felt very bored so i read myself once again through all of the tutorials and FAQs. I decided to search the forum for a new ROM without sense so i picked CyanogenMod 6.1 because i wanted a stable ROM which dont reboot 4 times a day(like my old Wildpuzzle one). Today I wanted to speed um my phone and read through some posts and found out that I can overclock my wildfire with SetCPU. I've never overclocked a phone or a pc so i dont know what setup is good for it or which is not.
And thats my question: HOW should i do this and with what cpu setup(min/max) for a stable working phone.
PS: as i've read through the overclock posts i've found out that my phone is already flashed with a overclocking kernel(2.6.32.21-HCDRJacob)
PPS: i'm excuse myself for my bad english and hope you all can understand what i mean
Depends on your preferences really. For me, on my SetCPU Normal Profile, I have set it as 614 MHz Max and 245 MHz on Min, Interactive Scaling. Apart from that, I have also set the following profiles:
1: Screen Off - Max 352, Min 245
2: Temp >46C - Max 352 Min 245
3: Battery <20% - Max 480 Min 245
I had set the minimum earlier to 122, while it gave me awesome battery life, the phone would hang whenever I got an incoming call / message (CPU too slow to handle it), hence, after several experiments, I have found it to be stable at 245. For Max, you can keep it upto 710 MHz, but, I wont recommend a speed beyond that for 24x7 usage. For short purposes (like playing a game, benchmarking etc.), you can go till 768, or the max your phone is stable at.
Amazingly my set up is nearly identical to 3xeno but my max in normal profile is 691 MHz
3xeno said:
Depends on your preferences really. For me, on my SetCPU Normal Profile, I have set it as 614 MHz Max and 245 MHz on Min, Interactive Scaling. Apart from that, I have also set the following profiles:
1: Screen Off - Max 352, Min 245
2: Temp >46C - Max 352 Min 245
3: Battery <20% - Max 480 Min 245
I had set the minimum earlier to 122, while it gave me awesome battery life, the phone would hang whenever I got an incoming call / message (CPU too slow to handle it), hence, after several experiments, I have found it to be stable at 245. For Max, you can keep it upto 710 MHz, but, I wont recommend a speed beyond that for 24x7 usage. For short purposes (like playing a game, benchmarking etc.), you can go till 768, or the max your phone is stable at.
Click to expand...
Click to collapse
so what is exactly the interactive scaling ??
what is the difference between ondemand, userspace, performance, interactive...
while searching for the answer ... i also saw pple tlking about powersave and conservative scaling ... i dont have these options ... :s
Sorry to butt in but since we are on the subject of overclocking etc and I dont want to make another thread. Is that setcpu app from the market any use on my wildfire? its not rooted.
No you need rout access to change frequencies mate.
Sent from my HTC Desire using Tapatalk
3xeno said:
Depends on your preferences really. For me, on my SetCPU Normal Profile, I have set it as 614 MHz Max and 245 MHz on Min, Interactive Scaling. Apart from that, I have also set the following profiles:
1: Screen Off - Max 352, Min 245
2: Temp >46C - Max 352 Min 245
3: Battery <20% - Max 480 Min 245
I had set the minimum earlier to 122, while it gave me awesome battery life, the phone would hang whenever I got an incoming call / message (CPU too slow to handle it), hence, after several experiments, I have found it to be stable at 245. For Max, you can keep it upto 710 MHz, but, I wont recommend a speed beyond that for 24x7 usage. For short purposes (like playing a game, benchmarking etc.), you can go till 768, or the max your phone is stable at.
Click to expand...
Click to collapse
What, your settings are extractly like me, lol
are you referring to old wildpuzzle 8.0.11, i got freezes with that, but after changing to new wildpuzzle, i have not had one freeze or reboot with settings below.
set on performance
3xeno said:
Depends on your preferences really. For me, on my SetCPU Normal Profile, I have set it as 614 MHz Max and 245 MHz on Min, Interactive Scaling. Apart from that, I have also set the following profiles:
1: Screen Off - Max 352, Min 245
2: Temp >46C - Max 352 Min 245
3: Battery <20% - Max 480 Min 245
I had set the minimum earlier to 122, while it gave me awesome battery life, the phone would hang whenever I got an incoming call / message (CPU too slow to handle it), hence, after several experiments, I have found it to be stable at 245.
Click to expand...
Click to collapse
Thank you for sharing this information, I changed mine to this too. Can I ask if you 'Set on Boot' on the main profile? I think you would, but I thought i better check!
alfanhui said:
Thank you for sharing this information, I changed mine to this too. Can I ask if you 'Set on Boot' on the main profile? I think you would, but I thought i better check!
Click to expand...
Click to collapse
Yes, I do have the 'Set At Boot' option enabled
3xeno said:
Depends on your preferences really. For me, on my SetCPU Normal Profile, I have set it as 614 MHz Max and 245 MHz on Min, Interactive Scaling. Apart from that, I have also set the following profiles:
1: Screen Off - Max 352, Min 245
2: Temp >46C - Max 352 Min 245
3: Battery <20% - Max 480 Min 245
I had set the minimum earlier to 122, while it gave me awesome battery life, the phone would hang whenever I got an incoming call / message (CPU too slow to handle it), hence, after several experiments, I have found it to be stable at 245. For Max, you can keep it upto 710 MHz, but, I wont recommend a speed beyond that for 24x7 usage. For short purposes (like playing a game, benchmarking etc.), you can go till 768, or the max your phone is stable at.
Click to expand...
Click to collapse
I usually set my speed to Max 710, Min 480 Ondemand, no profile. I think it's interesting to try your setting. Thanks for sharing.
Does anyone do undervolting here? What kind of settings have you been able to use?
I myself have managed to use the following stable profiles:
I'm using fugumod beta kernel which has different sets of frequencies, in case you're wondering.
Quick guide for anyone wanting to use pimpmycpu
(I offer no warranty if something happens to your phone, but I can assure you, nothing will happen. Worst case scenario is that your phone hangs and you have to reboot it.)
1. Download PimpMyCpu (You must have a kernel that supports undervolting, eg. fugumod)
2. Open it, press on the max MHz frequency you use (for me it is 780mhz, I don't use higher then that)
3. Lower the voltage with 25-50mv steps
- If your phone hangs immediately upon saving, you have reached the max voltage for that frequency and have to use a higher one
- If you succesfully manage to change your voltage, do a stress test or use your phone for a while for eg. gaming
4. When you go to lower MHz (eg. 390MHz) frequencies, I suggest you open SetCPU and from there set the min\max to that frequency. Close and open SetCPU once to see if it hangs. You can also use PimpMyCpu to do this, but I myself use SetCPU. This should be done for all frequencies.
Notice that different phones can get different results, so don't get upset if your phone hangs at voltage X al thought your friend can reach it
Why undervolt?
- It can greatly improve your battery life. Especially if you use a 'screenoff' profile in setcpu. I myself have gained about 10 hours of additional battery life with medium usage.
I ventured into undervolting this week.
The results are simpy amazing. I get about double the battery life, to about 60hrs.
I'm using the standard 2.4b3 kernel with these voltages, from low to high all minus :
125 125 125 150 150
I still need to test more, but haven't taken the time to do it properly. Setting min/max to the same freq is a good tip. Why are you using setcpu for this ? You can do it PMCpu as well, no ?
Your profiles are not displaying though.
Yeah, thanks for pointing that out. Should be displaying now.
And yeah, you can use pimpmycpu for changing frequencies (added that to the guide now) but I personally use setcpu. Mainly cause I have a ScreenOff profile in setcpu for 195 max\156 min and I don't want it to conflict.
After I undervolted my PC for years I just started with my G3. I am using the prereleased FuguMod Ultra Kernel and it's running in conservative profile with 156-1366 MHz.
- for 1366 MHz my deepest working Voltage is -95 (1430 mv).
- for 156 MHz I am currently getting lower and lower. At this time a Stress test with -400 (600 mV) is running (for about 1 minute now).
- When the lowest working Voltage for 156 MHz is found I will analyze one between highest and lowest, and scale all the others equably.
I will post my working settings as soon as I found it.
-400Mv? How did you even get an option to get it that low (Thought PimpMyCpu goes only upto -250Mv. Also for me the stress test in pimpmycpu causes a crash to the program immediately upon trying to use it.
I myself use SmartAss scaling, which seems like a real nice option. Though I'm not entirely sure what's it about.
I'm using 800Mhz with 1125mv, Its stable sofar, but i cant save the Profile, it shows boot settings not saved, when i want to save as boot, It shows Save boot settings? but i cant decide between Yes or No...
can someone help me?
Thom47 said:
-400Mv? How did you even get an option to get it that low (Thought PimpMyCpu goes only upto -250Mv.
Click to expand...
Click to collapse
If you do undervolting in the latest version of SetCPU you can undervolt by up to 500 mv.
Alright, as promised here are my final settings. Its running smooth without crashes for two days now.
Code:
freq / mV relative/mV absolute
156 / -500 / 500
195 / -500 / 500
260 / -500 / 550
390 / -500 / 550
780 / -500 / 700
975 / -225 / 1275
1170 / -175 / 1350
1366 / -75 / 1450
While searching for the right Voltages I discovered that the Stresstest in SetCPU almost never made the Phone crash - even on Voltages that were really instable. The Phone mostly crashed right at the moment when I switched into the frequency. So I tested the Voltages by switching into the frequency, out again, in again, and so on. If it didn't crash for about a hundred times, I ran a 20 minute stresstest to be sure.
Hello,
I've flashed cyanogenmod 7.1 RC1 and immediately switched to using the smartass governor. However, I've noticed that the apps that can detect CPU speed (like SetCPU or OS Monitor) always detect frequency as 480 MHz. I've set the Max freq to 748 MHz and min to 245 MHz, but whatever I do, the frequency stays at 480 MHz. I've also seen in the messages section of OS Monitor errors about setting to 768000 from 480000, so I guess there is some kind of a problem there.
So is there a problem or does this governor work in a completely different way - if so, how? ;-)
Thanks a lot.
Cheers...
Smartass caps the frequency when screen on to 480 MHz to ensure responsiveness. This also helps with video playback being smooth, as it otherwise will begin to stutter when the frequency is lower than this.
OK, but how does it behave during screen off and battery low scenarios? Does it put the freq to to minimum value which is selected in the freq options of cyanogenmod setup?
I just want to understand if indeed the smartass governor can replace setcpu with profiles using the ondemand governor and keep the battery usage at optimal values.
Thanks...
When screen off smart ass governor sets the minimum CPU frequency to the value you entered (even below 480 which is to conserve the battery).
Sent from my HTC Wildfire using XDA App
I need suggestions to setup good config in SetCPU i have kyrilos rom 7.5 beta and Galaxy 3 phone of course. thanks
There is option to automatically detect optimized setting.You can create profiles and enable them.Setting speed to powersave mode while charging and while screen off saves lot of battery.You can still experiment and see what suits for you.By the way setting some extreme values might affect life of your phone so be careful.
It is strange but in setcpu on my galaxy 3 conservative mod is not working. So ichoose userspase
Sent from my GT-I5800 using XDA App
Try latest version it works for me.Maybe you can try rebooting phone see if it works then.
Use 400Mhz-800Mhz on demand for battery.
Go to full 1300Mhz for performance but this will drain battery
darkokic said:
I need suggestions to setup good config in SetCPU i have kyrilos rom 7.5 beta and Galaxy 3 phone of course. thanks
Click to expand...
Click to collapse
I have g3mod 2.0 OC kernel
My config its
Main 400-800 Mhz Ondemand Set on boot
Profiles
Temp >45°C 200-500 Mhz priority 100 Ondemand
time 2am-6am 83-83 Mhz priority 95 powesave
screen off 83-500 Mhz priority 90 Ondemand
Battery <20% 200-600 Mhz priority 80 Ondemand
Greetings
What voltages can I set for frequencies from 2457 MHz? For now I have such voltage settings.
You must've spent a lot of time perfecting that. Can you remind me of your SoC's PSV value? Boeffla's app lists it in the Overview section as ASV/PSV.
I tried your 600 mV idle voltage on my PSV 9 phone. Didn't work, got a soft reboot. 625 mV seems to work. Seems crazy this is possible when the stock idle voltage is around 775 mV.
https://forum.xda-developers.com/htc-one-m8/general/guide-snapdragon-801-clocking-voltage-t2807173
edit: Tested for a few hours. Currently using
990 mV - 2534 MHz
1010 mV -2611 MHz
1030 mV - 2764 MHz
1045 mV - 2841 MHz
1075 mV - 2899 MHz
Seems stable in stability tests, haven't tried in daily use yet. If you want to increase the max speed the sweet spot is probably 2764 or 2841.
If you haven't seen this chart yet it has estimated voltages for each PVS binning on speeds above stock, maybe it's what you're looking for. According to the table the "worst" voltage a terrible PVS stock phone will use is 1120 mV. If you do not exceed that while overclocking your phone will probably be okay.
Thanks for the voltage references, I'll use them to tweak some more!
I came up with a stability test that hopefully tests phone stability without causing it to burn up. You just need the Boeffla app and Termux.
-Make a separate Boeffla profile
-Manually select and apply the new profile every time you're testing the undervolt
-Add some extra startup delay in the Boeffla settings
-In the Boeffla app change the Tuned governor's profile to "Performance". The normal profiles don't really care about using high CPU states so you need this.
-Don't change the hotplugger, default is "Tuned"
-Reduce your max charging speed for AC and USB to 1200 mA if you want to do testing with a charger plugged in
-Try to start on 100% charge so less heat is generated charging
-Lock the GPU to 27 MHz. Why not? The screen will be off anyways.
-Make undervolting adjustments to your CPU states' voltages. Only tweak the values of one or two states at a time.
-Adjust the minimum and maximum CPU speeds with the sliders so your phone is more likely to hit the states you just tweaked. If you just tweaked a low CPU state set it to the minimum speed, and if you just tweaked a high CPU state set it to the maximum speed etc.
-Launch Termux and then "Acquire Wakelock" in the menu or in the notification bar
-Run this one-liner:
while true; do openssl speed -evp aes-256-gcm; sleep 15s; done
Click to expand...
Click to collapse
Explanation: No real reason to do it this way. Openssl's speed benchmark with AES is a cheap way to test CPU stability on many computer systems. This runs a benchmark on 1 thread, sleeps for 15s to let the phone cool off for a bit, and repeats. If the phone isn't throttling it will typically max out the CPU clock of the core the thread's running on. Sometimes you can spot anomalies when the benchmark scores deviate a lot. You can also add -multi [# of cores you want to test on] to run the test on more cores but this may heat up the phone too much and cause anomalies.
-Give your phone some cooling with a fan or something or put it on top of something that dissipates heat.
-Turn the screen off to keep heat down or keep it on low brightness.
-Check the phone once in a while to see if it's still stable
-If you are happy continue adjusting other values
-This test isn't perfect because it's not representative of real-world use but hopefully it's close enough :silly:
-The battery generally doesn't like it when it goes above 40C just pointing this out :silly:
-Possible alternative stress test: dim the screen to minimum brightness and play a video the phone doesn't really like such as webms
-If your phone is looping from bad settings just hold power + vol down + home to force a hard reboot
Boatshow said:
You must've spent a lot of time perfecting that. Can you remind me of your SoC's PSV value? Boeffla's app lists it in the Overview section as ASV/PSV.
I tried your 600 mV idle voltage on my PSV 9 phone. Didn't work, got a soft reboot. 625 mV seems to work. Seems crazy this is possible when the stock idle voltage is around 775 mV.
https://forum.xda-developers.com/htc-one-m8/general/guide-snapdragon-801-clocking-voltage-t2807173
edit: Tested for a few hours. Currently using
990 mV - 2534 MHz
1010 mV -2611 MHz
1030 mV - 2764 MHz
1045 mV - 2841 MHz
1075 mV - 2899 MHz
Seems stable in stability tests, haven't tried in daily use yet. If you want to increase the max speed the sweet spot is probably 2764 or 2841.
If you haven't seen this chart yet it has estimated voltages for each PVS binning on speeds above stock, maybe it's what you're looking for. According to the table the "worst" voltage a terrible PVS stock phone will use is 1120 mV. If you do not exceed that while overclocking your phone will probably be okay.
Thanks for the voltage references, I'll use them to tweak some more!
I came up with a stability test that hopefully tests phone stability without causing it to burn up. You just need the Boeffla app and Termux.
-Make a separate Boeffla profile
-Manually select and apply the new profile every time you're testing the undervolt
-Add some extra startup delay in the Boeffla settings
-In the Boeffla app change the Tuned governor's profile to "Performance". The normal profiles don't really care about using high CPU states so you need this.
-Don't change the hotplugger, default is "Tuned"
-Reduce your max charging speed for AC and USB to 1200 mA if you want to do testing with a charger plugged in
-Try to start on 100% charge so less heat is generated charging
-Lock the GPU to 27 MHz. Why not? The screen will be off anyways.
-Make undervolting adjustments to your CPU states' voltages. Only tweak the values of one or two states at a time.
-Adjust the minimum and maximum CPU speeds with the sliders so your phone is more likely to hit the states you just tweaked. If you just tweaked a low CPU state set it to the minimum speed, and if you just tweaked a high CPU state set it to the maximum speed etc.
-Launch Termux and then "Acquire Wakelock" in the menu or in the notification bar
-Run this one-liner:
Explanation: No real reason to do it this way. Openssl's speed benchmark with AES is a cheap way to test CPU stability on many computer systems. This runs a benchmark on 1 thread, sleeps for 15s to let the phone cool off for a bit, and repeats. If the phone isn't throttling it will typically max out the CPU clock of the core the thread's running on. Sometimes you can spot anomalies when the benchmark scores deviate a lot. You can also add -multi [# of cores you want to test on] to run the test on more cores but this may heat up the phone too much and cause anomalies.
-Give your phone some cooling with a fan or something or put it on top of something that dissipates heat.
-Turn the screen off to keep heat down or keep it on low brightness.
-Check the phone once in a while to see if it's still stable
-If you are happy continue adjusting other values
-This test isn't perfect because it's not representative of real-world use but hopefully it's close enough :silly:
-The battery generally doesn't like it when it goes above 40C just pointing this out :silly:
-Possible alternative stress test: dim the screen to minimum brightness and play a video the phone doesn't really like such as webms
-If your phone is looping from bad settings just hold power + vol down + home to force a hard reboot
Click to expand...
Click to collapse
I have PSV 10. My current undervolting.