Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,522 Members 38,338 Now Online
XDA Developers Android and Mobile Development Forum

CPU and I/O Scheduler

Tip us?
 
kur1oso
Old
#1  
kur1oso's Avatar
Member - OP
Thanks Meter 5
Posts: 66
Join Date: Mar 2013
Default CPU and I/O Scheduler

Hello, i have the ROM ARHD Google Edition 4.4.2 with tbalden kernel (stable edition)

So I wanna ask before doing wrong things. I have installed CPU Master and I want to know what scaling must I use, now I have ondemand with deadline as I/O Scheduler.

Did I made it good? I have no profiles selected and won't. I wanna make my battery lives longer because I prefer battery instead performance. Not radical, but for me battery > performance.

Then, final question, I don't know what are for this things at I/O schedule: sampling rate, up threshold, ignore nice load and powersave bias. I have set deadline and:

Sampling rate: 50000
Up threshold: 90
Ignore nice load: 0
Powersave bias: 0

What should I do?
 
fenstre
Old
#2  
Senior Member
Thanks Meter 471
Posts: 1,045
Join Date: Jan 2012
First of all, how long have you been using Android 4.4? This version has huge battery improvements over any previous version. It's possible that no tweaking is necessary. Secondly, do you regularly disable gps and disable/enable Wi-Fi? The rule is that Wi-Fi saves battery during non-trivial data transfers (because 3g/4g hog power), but will cost battery if you leave it on all the time (because Location Services will likely be polling b frequently). How about turning Bluetooth on only when needed?
Lastly, have you determined which apps are battery hogs and uninstalled or greenified them?
How about putting screen brightness just a little bit lower than you might like? And closing background apps if you aren't gonna use them soon? (By sweeping them out of the multitasking screen.)
These tweaks will yield much more battery improvements than scheduler changes.
If I helped, click Thanks!
The Following User Says Thank You to fenstre For This Useful Post: [ Click to Expand ]
 
alray
Old
#3  
alray's Avatar
Senior Member
Thanks Meter 1011
Posts: 2,614
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by kur1oso View Post
Hello, i have the ROM ARHD Google Edition 4.4.2 with tbalden kernel (stable edition)

So I wanna ask before doing wrong things. I have installed CPU Master and I want to know what scaling must I use, now I have ondemand with deadline as I/O Scheduler.

Did I made it good? I have no profiles selected and won't. I wanna make my battery lives longer because I prefer battery instead performance. Not radical, but for me battery > performance.

Then, final question, I don't know what are for this things at I/O schedule: sampling rate, up threshold, ignore nice load and powersave bias. I have set deadline and:

Sampling rate: 50000
Up threshold: 90
Ignore nice load: 0
Powersave bias: 0

What should I do?
Quote:
Originally Posted by fenstre View Post
First of all, how long have you been using Android 4.4? This version has huge battery improvements over any previous version. It's possible that no tweaking is necessary. Secondly, do you regularly disable gps and disable/enable Wi-Fi? The rule is that Wi-Fi saves battery during non-trivial data transfers (because 3g/4g hog power), but will cost battery if you leave it on all the time (because Location Services will likely be polling b frequently). How about turning Bluetooth on only when needed?
Lastly, have you determined which apps are battery hogs and uninstalled or greenified them?
How about putting screen brightness just a little bit lower than you might like? And closing background apps if you aren't gonna use them soon? (By sweeping them out of the multitasking screen.)
These tweaks will yield much more battery improvements than scheduler changes.
Just to add you can also use Tasker to create Power friendly profile i.e:

when screen is off,

launch that profile:

Quote:
turn wifi off, turn mobile data off unless X app is running (i.e maps), turn cpu 1,2,3 off but keep cpu 0 running at X MHz and X voltage, set cpu governor to powersave. Create a loop to turn on wifi or mobile data once every X minutes and launch Synker to sync your phone (e-mail, facebook etc etc...) then turn back wifi/data off. Turn gps location off unless X app is running (ie maps). Turn off bluetooth unless X device is connected or X app is running. Use only X network type when screen is off
when screen is turned back on

lauch that profile:

Quote:
resotre cpu setting (governor ondemand, X voltage) Turn back on wifi/data, stop the ''sync loop'' etc etc...
that kind of thing will make you save a lot of battery before having to play with schedulers imo.
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
The Following User Says Thank You to alray For This Useful Post: [ Click to Expand ]
 
kur1oso
Old
(Last edited by kur1oso; 12th February 2014 at 07:47 PM.)
#4  
kur1oso's Avatar
Member - OP
Thanks Meter 5
Posts: 66
Join Date: Mar 2013
Quote:
Originally Posted by alray View Post
Just to add you can also use Tasker to create Power friendly profile i.e:

when screen is off,

launch that profile:



when screen is turned back on

lauch that profile:



that kind of thing will make you save a lot of battery before having to play with schedulers imo.
Yes to all: i never have gps ON until i need to use it (that 1 day per week) i never ever use bluetooth so always off, data always on 2g, sometimes 3g but never lte. Wifi only ON when i'm home. Of couhaveI have instGreenifyeeniloveIalwatsascreensbrightnesshisea lwaysasetytosetbut 0 but when in street I set 100%.

But i dont know how to set that profiles you told me, setting cpu 1,2,3 to off when screen off, etc.. how to?

Dont you recommend cpu master?
 
kur1oso
Old
#5  
kur1oso's Avatar
Member - OP
Thanks Meter 5
Posts: 66
Join Date: Mar 2013
Also, I wanna show you a picture of how I spend my battery life, it's from today:



Today my data has been always set to 2g except, perhaps, 15minutes to 3g only.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes