• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root CPU governors and schedulers

AndyOpie150

<strong> <a href="http://androidforums.com/optimus
Downloaded "No-frills CPU Control"
There are 4 governors available in the kernel:
ondemand
userspace
powersave
performance

There are 5 I/O schedulers available in the kernel:
noop
deadline
row
cfq
test-iosched

ondemand and cfq are the default settings.

I tried the powersave governor with the cfq scheduler, but that made everything slow and disjointed.

Has any body had this phone long enough to be able to tell what the best governor and I/O scheduler combo would be needed to get the best battery off charge times (aside from the powersave governor).
 
I'm using an app call, SetCPU. i set mine up 1190 MHz Max & 1190 MHz Min. govern performance, scheduler cfq. it's been 2 days without charging my battery @ currently 32%. & runs real smooth w/no lagor rebooting. i had this app on my LG Esteem.
 
I'm using an app call, SetCPU. i set mine up 1190 MHz Max & 1190 MHz Min. govern performance, scheduler cfq. it's been 2 days without charging my battery @ currently 32%. & runs real smooth w/no lagor rebooting. i had this app on my LG Esteem.

The min is where the cpu idles. Having that high of an idle will run thru the battery quicker. Try setting to 600MHz. You might find you get longer battery off charge times and less heat (use TempMonitor Lite).

Try monitoring the battery off charge times and heat for one week with your min and max setting. Then try my suggestion for one week.

Edit: Read this eye opener;
http://androidforums.com/xperia-mini-all-things-root/513426-android-cpu-governors-explained.html
 
After having done some serious research on the subject it would seem that the two best governors for our phone will be Performance and Userspace.
The two best I/O schedulers are the Row and Deadline.

I'm going to try each governor for a week with one scheduler then another scheduler the following week.

Will post results after testing is done. All test will be performed with the Max at 1.9GHz and the Min at 600MHz. Link2SD, with a 16GB class 4 Sandisk micro SD card, SD Speed Increase set to 2048, and just the Data connection (don't have WiFi here, but average battery off charge times will dramatically increase with the use of WiFi).

Will also post results of the Max Random Entropy Value and free RAM as well idle RAM measured just after reboot.
 
i set MHz 600 min, left the max @ 1190 still governon performance & it is staying stable. before it was was not now it is & running real smooth.

9tj2hk.png
 
Good deal!
What I/O scheduler are you using?
Have you tested with a Qslide app to see how well it can handle multitasking?

Edit: Just enlarged pic and it showed the scheduler
 
OK, I put setCPU on here two days ago. My phone had no lag and I bragged about how my battery was still at 100% two hours after taking it off the charger before putting setCPU on it. SetCPU seems to bring my phone down, I only installed it to see it I was gonna get warp speed or something but NOPE, I got a battery draining a bit quicker now. Two hours after taking it off the charger this morning I was at 75%, that's just too fast. Any suggestions?

I'm 1190/600 Performance cfq
 
It's a bummer.
I used No-Frills and CPU spy. Anything other than the default governor and I/O scheduler and the CPU would not ramp down at all.

Guess overclocking will have to wait for a custom recovery and kernel.
 
I purchased setcpu a while ago too. Quinceidentaly I just so happened to have the lg esteem as intrdrgn has. (Use to at least) The l70 is running quite well to have to put a CPU on it as of now, for me at least.
 
The point I was trying to make is the stock kernel will not allow changes to the governor and I/O scheduler and still work properly. It will not allow the CPU to ramp down to the min selected. This will drain battery faster and wear out CPU faster, as well as generate more heat than the rest of the hardware can handle.
Doesn't matter what app you use to change the governor and I/O scheduler with, the results will be the same. Set back to default values and delete app.

We will just have to wait for a custom recovery so a custom kernel can be installed.
 
300MHz min
1190MHz max
ondemand governor
cfq I/O scheduler

Install CPU spy.
You'll see that the governor is now working properly and ramping up to max when needed, and back down to min when not needed.
 
You all night want to do a little research into governors. The performance gov will always stay at what the max speed is. Conservative will always stay at the lowest clock speed. On demand will adjust according to CPU load. And if i remember right userspace will stay at max until the phone has been off and idle for a time, but i might be wrong on this one.
 
Back
Top Bottom