What does Smartass scaling do? - HTC Sensation

I know this is probably a noob question and has been asked before (i've tried searching but to no avail). How does Smartass V2 go about setting cpu speeds? What is it comparable to?
Thanks in advance.
-Vin
Sent from my HTC Sensation Z710e using xda premium

Vineares said:
I know this is probably a noob question and has been asked before (i've tried searching but to no avail). How does Smartass V2 go about setting cpu speeds? What is it comparable to?
Thanks in advance.
-Vin
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
SMARTASS GOVERNOR - is based on the concept of the interactive governor.
I have always agreed that in theory the way interactive works - by taking over the idle loop - is very attractive. I have never managed to tweak it so it would behave decently in real life. Smartass is a complete rewrite of the code plus more. I think its a success. Performance is on par with the "old" minmax and I think smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Smartass will also cap the max frequency when sleeping to 245Mhz (or if your min frequency is higher than 245 - why?! - it will cap it to your min frequency). Lets take for example the 600/245 kernel, it will sleep at 245. No need for sleep profiles any more!
Thats the definition of SmarAss Gov, some kernels support smartass other dont, where smarass is not supported your choice is ONDemand its kind of the same with less tweaks

Hi, sorry for an even noobier question, but I just started with all this rooting and custom ROM stuff. How do I go about setting the kernel to use the SmartAss V2 algorithm?
I just flashed this kernel [Kernel]CM7/AOSP[2.6.35.14](v0.1.2)OC~1.78GHz/BFQ/SLQB[Sep-11]. The dev states I cant use setcpu, but then goes on to mention the use of SmartAss V2 among others. I tried to access the Performance tab in cyanogensettings->performance->cpu settings, but it FC. Tried looking around the forums, but can't find anything. Tried posting in that thread, but apparently i'm too much of a noob.
Edit: Kinda went digging through the root explorer, does /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand mean that its using SmartAss?

Related

Mytouch 4g Setcpu Optimization

So I've been searching the forums for a good thread on optimizing setcpu for specifically the Mytouch 4G. I couldn't find one so after i read up on it i created this profile. The tweaks that I've found make this run very fast and gets me easily 18 hours of battery life, and that is with moderate usage. These setting should work for most if not all devices. I don't get any real noticeable lag even when turning the screen on. I'm Using SetCPU 2.1.0 on a Grankin01 Kernel on a Stock ROM, and I'm also using "Autokiller Memory Optimizer" using moderate preset. Hopefully people will post there profiles anyway here it is.
Here is the thread for the Kernel I'm usinghttp://forum.xda-developers.com/showthread.php?t=876848
and here is a link for setcpu basics.
http://androidforums.com/evo-4g-all-things-root/210253-setcpu-guide.html
Alright here are my most recent setting I've been running.
I get around 20 hours of battery life on my phone with moderate use my set CPU settings are
Overclocked to 1.5 ghz minimum 245 ghz
Battery below 30% Max 1 ghz min 245 ghz
Screen off max 245 ghz min 245 ghz
Latest Cyanogen mod Alpha 7.0
I use max 1113 min 245 scaling on demand...screen off min 245 max 350
MT4G + CM7
Pretty sure this is in the wrong place. I guess you read up on everything except where would an appropriate place to post this be.
Sent from my MT4G running Gingerbread
I get 24hrs if I put my phone away! 6hrs on average lol. Cm7 stock kernel. Grankins breaks youtube everytime. Screen off 328 max 248 min. On demand.
Sent from my HTC Glacier using XDA App
With all the CM7 flashing, I get about 12-15hrs with 149760-245760
Sent from my Gridlocks' CM7 MT4G using XDA App
stlouie65 said:
With all the CM7 flashing, I get about 12-15hrs with 149760-245760
Sent from my Gridlocks' CM7 MT4G using XDA App
Click to expand...
Click to collapse
louie i dont know what to make of your preset here... Either you are running your phone incredibly slowly or you have forgotten a 0 on the end and are crazy OCing it...
Have mine set at 76800-1113600 on demand and I demand a lot and average about 8hrs. CM7, zinx kernel,with superpower.
I've been trying to get profiles and triggers down except I use CPU tuner inserted of setcpu. Is it possible to over clock yet still save battery? I doubt that somehow lol. If anyone can post full settings that save battery but still runs well I'd appreciate it. Ill copy one of you guys.
Questions though. What is all the governor stuff like performance, conservative, on demand, etc? What are the thresholds? What are the min max standards? Like if I have 300 and 1500, which does it user and why? Those are the only things I can't grasp
Sent from my HTC Glacier using XDA App
xFate said:
I've been trying to get profiles and triggers down except I use CPU tuner inserted of setcpu. Is it possible to over clock yet still save battery? I doubt that somehow lol. If anyone can post full settings that save battery but still runs well I'd appreciate it. Ill copy one of you guys.
Questions though. What is all the governor stuff like performance, conservative, on demand, etc? What are the thresholds? What are the min max standards? Like if I have 300 and 1500, which does it user and why? Those are the only things I can't grasp
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Check out this link it has all you'll need to know http://androidforums.com/evo-4g-all-things-root/210253-setcpu-guide.html
What you want is your device to throttle based on the load being put on it. When you aren't doing much i.e. reading a text it should be clocked at 245760 for example because that's not a demanding task. and versely when you play a graphics intensive app or something, it should use just over the maximum amount of cpu power needed to run the app so the app runs smooth. but wont waste battery by overclocking to 1708800 when only a speed of 1017600 is needed. For this i use "conservative" on SetCPU because it will allow more customization.
My advanced settings for SetCPU are as follow. i haven't use CPU Tuner but hopefully it's similar.
Sample Rate you want kinda low 200000 is what i have and i don't get much if any lag.
Up Threshold is at what percentage of processor usage that the clock speed is increased. for me its set to 60. in other words at 60% load on the processor it will start to increase the clock speed.
Down Threshold is the load percentage where the clock speed will be reduced. i have mine set to 33.
Ignore Nice Load will just ignore nice processes. This includes system i believe. i have mine set to 0.
Grabbed this from a mac forum but it should apply.
"A process's priority is determined with a complex formula that includes what the process is doing and how much CPU time the process has already consumed. A special number, called the nice number or simply the nice, biases this calculation: the lower a process's nice number, the higher its priority, and the more likely that it will be run."
Frequency Step is how much of a jump the CPU will take to meet the load. mine is set low, (12) because most processes and apps wont need a whole lot of boost to run smoothly. For my device on average it will be under 768000 which is what you want and is where the battery saving really comes in. Because the CPU is under-clocked most the time its using a lot less battery but is still running everything smoothly.
A lot of people set there devices to ondemand because it's, "very responsive." although true its responsiveness comes from big steps in clock speed as opposed to the small ones that will most likely get the same job done. i.e. a clock speed of 902400 is more then enough to run the process quickly ondemand will jump to 1708800 to handle the same task.
copied from the above link at android forums.
" * 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 the CPU load. This governor is recommended for stable benchmarking.
* 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."
Please post in General section, not dev.
Well i changed my setting a little to be a bit more responsive and i haven't noticed a increase in battery usage. I set my max speed to 1516800 and min to 368640 and its running quite nicely.
Anyone else getting good result with the conservative setting?
Keldarr said:
So I've been searching the forums for a good thread on optimizing setcpu for specifically the Mytouch 4G. I couldn't find one so after i read up on it i created this profile. The tweaks that I've found make this run very fast and gets me easily 18 hours of battery life, and that is with moderate usage. I don't get any real noticeable lag even when turning the screen on. I'm Using a Grankin01 Kernel and I'm also using "Autokiller Memory Optimizer" using moderate preset. Hopefully people will post there profiles anyway here it is.
Here is the thread for the Kernel I'm usinghttp://forum.xda-developers.com/showthread.php?t=876848
and here is a link for setcpu basics.
http://androidforums.com/evo-4g-all-things-root/210253-setcpu-guide.html
Edit: I've been using my phone for the last 12 hours I unplugged it this morning and have only plugged it in to pull a screen shots with android commander then unplugged it and my battery is at 53% I've watch youtube, txt, made calls, taken pictures ect, ect normal crap, and its running strong. I've made small adjustments on some of my thresholds but they are mostly similar.
Click to expand...
Click to collapse
What version of SetCPU are you using? In mine I don't have the threshold for down, and my sampling rates are way different. Mine is set as from install at 50000. Running cm7alpha.
Using 2.1.0 and I have all the mentioned settings Bob
bobsbbq said:
What version of SetCPU are you using? In mine I don't have the threshold for down, and my sampling rates are way different. Mine is set as from install at 50000. Running cm7alpha.
Click to expand...
Click to collapse
Sent from my stickie key HTC Glacier using XDA App
Is there a way to change voltage? Frequency rules saves are minumum on cellphones.
I'm using Setcpu 2.1.0 and I'm using a stock OC Kernel from Grankin01 and u have to set the profile to conservative.
NovoRei said:
Is there a way to change voltage? Frequency rules saves are minimum on cellphones.
Click to expand...
Click to collapse
Frequency rules saves do save a lot of battery. Combine with undervolting and memory optimizations and you'll get big saves. But no setcpu is solely for cpu settings.
Whats the most stable speed to run this at?
So far i haven't had any stability issues on the Grankin01 Kernel. They ironed out most the stability issues in the Kernel its self. I do however keep my main profile around 1708800 - 1516800, generally 1516800, and min is set to 368640 and I've had no problem not even a signal freeze or crash. I've also run at 1708800 for most of the day plugged in and no issues other then heat. So i think is up to mostly prefrence.
I'm using a stock rom with bloatware removed and as i mentioned the Grankin01 1.7 OC Kernel.
Here is what I'm talking about. Sometimes the auto detect or something is wrong and I get this screen instead of the one you get. I don't understand why. I change ROMS a lot and I don't know if it is ROM specific or not. I'm currently on the cm7 preview from Zinx. Although I have seen it on other ROMS also as I posted before. Here is a pic.
Ignore the dropcap2 as I had just used it to take the picture.
bobsbbq said:
Here is what I'm talking about. Sometimes the auto detect or something is wrong and I get this screen instead of the one you get. I don't understand why. I change ROMS a lot and I don't know if it is ROM specific or not. I'm currently on the cm7 preview from Zinx. Although I have seen it on other ROMS also as I posted before.
Click to expand...
Click to collapse
Looks like from your screen shot that the profile SetCPU is using is on On demand, interactive or some default. What Kernel are you using? that may be the issue. If not a kernel issue. Then it may be a issue with CM7 and how SetCPU interacts with it. try disabling all your profiles and make sure that your main profile is for sure set to conservative.
Nothing else make a backup and try a different Kernel. Grankin01 has a few great ones and even a CM7 kernel with tunes and tweaks. As well as Gorilla. but id try the CM7 Kernel Grankin01 has first my buddy is running it and hasn't had problems. Just make you do a full backup to avoid a FUBAR situation.
http://forum.xda-developers.com/showthread.php?t=876848 Grankin01
http://forum.xda-developers.com/showthread.php?t=846451 Gorilla
Keldarr said:
Looks like from your screen shot that the profile SetCPU is using is on On demand, interactive or some default. What Kernel are you using? that may be the issue. If not a kernel issue. Then it may be a issue with CM7 and how SetCPU interacts with it. try disabling all your profiles and make sure that your main profile is for sure set to conservative.
Nothing else make a backup and try a different Kernel. Grankin01 has a few great ones and even a CM7 kernel with tunes and tweaks. As well as Gorilla. but id try the CM7 Kernel Grankin01 has first my buddy is running it and hasn't had problems. Just make you do a full backup to avoid a FUBAR situation.
http://forum.xda-developers.com/showthread.php?t=876848 Grankin01
http://forum.xda-developers.com/showthread.php?t=846451 Gorilla
Click to expand...
Click to collapse
You are right it was the main profile was set to on demand and when set to on demand these available options change.
As far as kerenls go I have not had good luck with Grankin CM Gingerbread kernels but he is working on a fix.

[KERNEL AOSP] Thalamus 2.6.35.14 mod

This kernel uses AOSP camera driver so it's most likely compatible only with Redux 2.0 (tested) and Oxygen (not tested)
Before you do anything- make a backup
It's my lame attempt (I'm a modder, not a dev) to get more battery life without loosing stability of original kernel.
Kernel is based on current thalamus 2.6.35.14 sources
What is changed (mod8):
-Vdd levels sysfs interface is back, this time seems to be stable
-default voltages for CPU clocks <700 MHz are lowered a bit- keep this in mind when playing with UV
-headphone volume boosted a little- needs to be tested
-more optimized compilation- kernel should use CPU in more efficient way (and kernel is 500 bytes smaller )
-big thanks to paul8944 for testing
What is changed (mod7):
-removed sysfs Vdd levels interface- it seems that it was responsible for instability and FC's in mod6
-USB transfer speed is higher (was ~800kB/s, now ~2MB/s for write operations)
What is changed (mod6):
-added sysfs Vdd levels interface- VDD_MIN is set to 800 mV, VDD_MAX to 1300 mV, step is 25 mV (this works fine with IncrediControl)
-available governors: ondemand, powersave, conservative, performance and smartassV2
-conservative governor is tweaked a little (should be a little less conservative)
-USB transfer speed tweak- needs testing
-other fixes
What is changed (mod5)
-lowered minimum cpu clock to 128 MHz
-more clock speeds are available up to 1113 MHz
-added smartass and smartassV2 governors
-tinyRCU replaced with preemtive tinyRCU
-enabled call recording (not tested)
-many other fixes and improvements mainly form ch33kybutt's and elevendroids' sources
Note about smartass governor- after longer period of inactivity you have to press Power button for about 2 seconds to wake up the phone
Installation:
-make a nandroid backup (just in case)
-put zip on SD card and flash in recovery, I suggest also wiping dalvik-cache (just in case)
Download:
thalamus 2.6.35.14 mod8
md5: E526C99D4326F5B11D02DB60FEFA169F
Previous versions:
thalamus 2.6.35.14 mod7 (description above), md5: 7AB623BCC5E28D9BC8A012EDD9E9BBC7
Mod6 is not available due to instability
thalamus 2.6.35.14 mod5 (description above), md5: 7DC3E94E56FD00C49FEB5C713033DE33
thalamus 2.6.35.14 mod4 (128 MHz min cpu clock, default governors set, non-preemptive TinyRCU) md5: E7DD4637D8838A6E1A64E763C8A4D549
Kernel sources available on Github
I'll give it a try, seems good. I have one question and one suggestion:
the question is: what are the reasons to enable / disable the intermediate frequencies? I don't know if it can save battery, become more stable or what. But the original kernel with only 6 frequencies available works very fine for me
and the suggestion is to add the syscf interface for being able to change the voltages. It could save some battery life if our Desire stands it (mine does even at 800 mV )
i flashed mod5 over mod4, with the result of non working wifi, then switched back to mod4 -> turned wifi off (read your post in the redux2-thread, but i didn't use tb), flashed again, no wifi. now on mod4.
blackhawk_LA said:
what are the reasons to enable / disable the intermediate frequencies? I don't know if it can save battery, become more stable or what. But the original kernel with only 6 frequencies available works very fine for me
Click to expand...
Click to collapse
I was not satisfied with default cpu clock table
-128 MHz uses ~20 mA of current less than 245- it's about 10% saving for iddle not locked phone
-for me 691 MHz max clock is really enough for my needs, it was not available in stock version
-more speeds make governors able to better match cpu speed (and save some juice)
-there are some performance fans so why not enable also 1113?
soronk said:
i flashed mod5 over mod4, with the result of non working wifi, then switched back to mod4 -> turned wifi off (read your post in the redux2-thread, but i didn't use tb), flashed again, no wifi. now on mod4.
Click to expand...
Click to collapse
Looking what caused this, I'm not sure if it's wlan driver or preemtive tinyRCU (not present in mod4)
Download temporarily removed
EDIT:
It was wlan driver.
Corrected, reuploaded package
gen_scheisskopf said:
EDIT:
It was wlan driver.
Corrected, reuploaded package
Click to expand...
Click to collapse
testing now mod5 smartassv2
Sent from my HTC Desire using xda premium
soronk said:
testing now mod5 smartassv2
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Me too.....
Sent from my HTC Desire using XDA App
Apologies for this noob question as im a Desire HD user and spend all my time in there. But i installed MIUI rom on my brothers Desire yesterday. Will this kernel work with MIUI, which is an AOSP rom?
Tones1971 said:
Apologies for this noob question as im a Desire HD user and spend all my time in there. But i installed MIUI rom on my brothers Desire yesterday. Will this kernel work with MIUI, which is an AOSP rom?
Click to expand...
Click to collapse
I never touched MIUI kernel so I can't tell.
MIUI framework is quite heavily modified, I can't tell if drivers included in Thalamus kernel will work with it or not
gen_scheisskopf said:
I never touched MIUI kernel so I can't tell.
MIUI framework is quite heavily modified, I can't tell if drivers included in Thalamus kernel will work with it or not
Click to expand...
Click to collapse
Yes it work! But without camera. MIUI needs the 720p camera drivers.
Does this kernel include the conservative governor? I think you mentioned somewhere you removed it.
I find the conservative governor perfect for a screen off profile, that governor would be a reason to try it.
h_misc said:
Does this kernel include the conservative governor? I think you mentioned somewhere you removed it.
I find the conservative governor perfect for a screen off profile, that governor would be a reason to try it.
Click to expand...
Click to collapse
Yes, conservative was removed. IMO smartass replaces it's functionality but it is not as laggy when raising cpu clock.
Sent from my HTC Desire using Tapatalk
gen_scheisskopf said:
Yes, conservative was removed. IMO smartass replaces it's functionality but it is not as laggy when raising cpu clock.
Click to expand...
Click to collapse
Too bad, with screen off laggy behaviour when raising the CPU-clock is exactly what I want.
With the conservative governor reaction to the power button is instant, smartass was really irritating me when pushing the power button the days I tried it.
I used setcpu with a screen off profile with conservative and ondemand with screen on (on gingervillain) which was just perfect.
I think that the best settings for a screen off profile is to use the same governor as with screen on (it takes a few seconds to change the governor so it can be a bit laggy)
I use ondemand 245/245 with screen off and ondemand 768/245 with screen on.
And of course, if min and max are the same value, it doesn't matter what governor you are using.
blackhawk_LA said:
I think that the best settings for a screen off profile is to use the same governor as with screen on (it takes a few seconds to change the governor so it can be a bit laggy)
I use ondemand 245/245 with screen off and ondemand 768/245 with screen on.
And of course, if min and max are the same value, it doesn't matter what governor you are using.
Click to expand...
Click to collapse
I use the FTP server with screen off, a script that functions as webserver to name two examples. So I need it to be possible for the CPU to be at more than minimal speed.
Then conservative should be a good option, but still thinking that there must be no much difference if you use ondemand.
I also don't like smartass
blackhawk_LA said:
Then conservative should be a good option, but still thinking that there must be no much difference if you use ondemand.
I also don't like smartass
Click to expand...
Click to collapse
You're probably right, but isn't tweaking for 1% battery saving part of the fun?
So which governors do you think should be in kernel? I don't want to include all available
Sent from my HTC Desire using Tapatalk
gen_scheisskopf said:
So which governors do you think should be in kernel? I don't want to include all available
Click to expand...
Click to collapse
The ones I like to use are ondemand and conservative.
You should include what you like off course
h_misc said:
You're probably right, but isn't tweaking for 1% battery saving part of the fun?
Click to expand...
Click to collapse
I couldn't agree more
I think that the most used governors are conservative, ondemand, interactive and smartass (don't know about the new governos: smartass2 and others)
But for me, having ondemand it's enough
blackhawk_LA said:
But for me, having ondemand it's enough
Click to expand...
Click to collapse
Do you want a dedicated build?
So as for now governors will be ondemand, performance, conservative, powersave (even more conservative than conservative ) and smartass- more likely v2.
I plan to release mod6 when I'll implement SVS

[Q] HTC Desire S Daemon Controller Settings Help please!

I am new to all this, first Android phone I have had and first time I have installed custom roms etc... Anyways I installed a new ROM and it has Daemon Controller installed but I don't have a clue how is all works so I want to know what are the best settings to have. Obviously I want better battery life and good performance. Current settings are:
Wake Min: 122000
Wake Max: 1152000
Wake Gov: ondemand
Sleep Min: 122000
Sleep Max: 384000
Sleep Gov: conservative.
My phone has Android 2.3.5 HTC Sense 3.0.
Thank you.
xPeterJx
Desire S Q&A
For all of your questions relating to the HTC Desire S
Seeing as you seem to have trouble reading and understanding basic english, this is where this should have been posted.
In seriousness though, use smartass or smartassv2 as it scales the cpu up and down when needed and when the phone demands the extra processing power. Maybe decrease the max wake speed to something around the 1Ghz point.
Google is also your best friend when asking these sort of questions as there is almost about 100+ posts on this throughout the forum.
zeekiz said:
Desire S Q&A
For all of your questions relating to the HTC Desire S
Seeing as you seem to have trouble reading and understanding basic english, this is where this should have been posted.
In seriousness though, use smartass or smartassv2 as it scales the cpu up and down when needed and when the phone demands the extra processing power. Maybe decrease the max wake speed to something around the 1Ghz point.
Google is also your best friend when asking these sort of questions as there is almost about 100+ posts on this throughout the forum.
Click to expand...
Click to collapse
So would you suggest removing Daemon Controller and using smartass(v2) instead?
I have looked on Google and I found posts regarding other phones not Desire S, but I'm not too sure what I'm looking for.
P.S. Don't think there was any need for 'Seeing as you seem to have trouble reading and understanding basic english, this is where this should have been posted.' But thanks for your advice.
xPeterJx said:
So would you suggest removing Daemon Controller and using smartass(v2) instead?
I have looked on Google and I found posts regarding other phones not Desire S, but I'm not too sure what I'm looking for.
P.S. Don't think there was any need for 'Seeing as you seem to have trouble reading and understanding basic english, this is where this should have been posted.' But thanks for your advice.
Click to expand...
Click to collapse
Is there an option to change the on-demand governor in oc controller? Because it should atleast give you a few options.
Also which ROM/Kernel are you using?
Also there was plenty of need for what I said, probably not as sarcastic and blunt as it was put, but it gets the point accross as this is a question thread. Also due to the more aggressive nature of said sentence the point has been reacted to, hence you have spent more than a split second thinking about it, hence next time you post a thread similar your memory may retain and regress on what I've said ;-).
But if you wanted it to be a general thread you could have sneakily read worded what you said, I'm not offering any "tasters" though.
zeekiz said:
Is there an option to change the on-demand governor in oc controller? Because it should atleast give you a few options.
Also which ROM/Kernel are you using?
Click to expand...
Click to collapse
Yes there's a few options: SavagedZen, Scary, virtuous, smartass, interactive, conservative, userspace, ondemand, performance.
Should I presume that the smartass setting is what you meant?
Rom: Saga3D V3 http://forum.xda-developers.com/showthread.php?t=1230029
Kernal: HYPERION-V1.2.
(If you think there is better ROMS or Kernals I'm open to suggestions, I'm sure I'll be able to find the appropriate thread with instructions how to install etc.)
ROMs:
As for ROMs I would highly recommend Lowveld's Endymion Sense 3.5 Runnymede Port for the HTC Desire S. The ROM is excellent in all aspects, and gives the user exactly what they need for their daily demands. Battery life is excellent, 18 hours 30% remaining. Lowveld, the developer frequently answers questions and is very active in the development of his ROM.
Installation?
If you have 4EXTRecovery (If not I highly recommend either downloading the free recovery control application, which will install it for free, or if you wish to assist the developer, 4EXT Recovery Control it has a lot of additional features and benefits.)
Perform a full wipe; system/data/boot/cache.
Format to EXT4 (If you aren't already).
Flash the zip.
OC Daemon
Virtuous = Smartassv2
I use Virtuous for both wake/sleep and 460800/1075200 min/max frequency. I used to use 245000, but I found occasionally when the phone would wake, it would lag a little on the GUI (but that was me personally, so I increased it from 245000 to 460800, without any real damage to battery life).
More information on the different governors.
RJackson said:
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. - SetCPU website
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. - SetCPU website
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 the CPU load. This governor is recommended for stable benchmarking. - SetCPU website
powersave
Available in some kernels. It will keep the CPU running at the "min" set value at all times. - SetCPU website
userspace
A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor. - SetCPU website
interactive
The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down
to.
Click to expand...
Click to collapse
FerretAD said:
As explained by MDJ:
SMARTASS GOVERNOR - is based on the concept of the interactive governor.
I have always agreed that in theory the way interactive works - by taking over the idle loop - is very attractive. I have never managed to tweak it so it would behave decently in real life. Smartass is a complete rewrite of the code plus more. I think its a success. Performance is on par with the "old" minmax and I think smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Smartass will also cap the max frequency when sleeping to 245Mhz (or if your min frequency is higher than 245 - why?! - it will cap it to your min frequency). Lets take for example the 998/245 kernel, it will sleep at 245. No need for sleep profiles any more!
Click to expand...
Click to collapse
Information stolen from, http://forum.xda-developers.com/showthread.php?p=9277771#post9277771 information obtained by http://www.google.com.au/#sclient=p...,cf.osb&fp=be0328f6eeb3802d&biw=1920&bih=1060.
zeekiz said:
ROMs:
As for ROMs I would highly recommend Lowveld's Endymion Sense 3.5 Runnymede Port for the HTC Desire S. The ROM is excellent in all aspects, and gives the user exactly what they need for their daily demands. Battery life is excellent, 18 hours 30% remaining. Lowveld, the developer frequently answers questions and is very active in the development of his ROM.
Installation?
If you have 4EXTRecovery (If not I highly recommend either downloading the free recovery control application, which will install it for free, or if you wish to assist the developer, 4EXT Recovery Control it has a lot of additional features and benefits.)
Perform a full wipe; system/data/boot/cache.
Format to EXT4 (If you aren't already).
Flash the zip.
Click to expand...
Click to collapse
I really am stuck trying to format to EXT4, tried google'ing it but seriously I have not got a clue... Sorry if I seem stupid but really I just don't get it.
I really appreciate your help.
Thank you.
PJ
Have you got any recovery installed?
zeekiz said:
Have you got any recovery installed?
Click to expand...
Click to collapse
Yes I have.
4EXT recovery? Or clockwork?
I have clockwork.
Still got any ROM running on your phone?
Well I have just recovered to my old rom that came with the phone but I did put [Endymion V2.1|Sense 3.5|GB 2.3.5][Endymion kernel V1.1|OC|FFC on so can put it back if needs be?
Nah nah all good, just download that recovery control application that I posted in my previous post, you can use that application to easily "upgrade" clockwork mod to the 4EXT Recovery menu, which will add a lot more functionality to your recovery menu.
Wait did you put your stock ROM back on? Is it rooted? If it's not rooted, I think you have to do the previous steps in a rooted ROM like Endymion to ensure that it works properly.
I'll put the custom rom back on then but obviously I'd prefer to do it for free... lol. But I'll buy the control app if I need to?
The one I linked you to is free, there's just an optional paid applicatiob
Yeah thats my problem, how do I use the apk file? This is whats confusing me?
Use something like ES File Explorer to navigate to where the apk is located on your SDCard, then install it that way. Be sure to enable Unknown Sources in Settings > Applications.
gg .. my blanket just raped my phone by tearing off the screen protector -_-"
Actually .. do you know how to use adb at all?
No... Don't even know what that is tbh.
Damn .. just keep following what I'm saying ..

[Discussion][Q/A][INFO][25.6.12]Governers,OC,UC,I/O Schedulers,Kernel

So basically this is a general discussion or chit chatting for all of you about which governer is better ,best etc. I/O schedulers etc.
You can also ask question, queries about your current settings is it good and etc.
There are also three sections in this post too. Recommended settings by me, Tested ones. And also ones that I am testing. Those that I have tested have my remarks on them too
RECOMMENDED
Here are my recommended No-Frills CPU settings:
Max:1200
Min:300
Gov. InteractiveX(Gives a lot of performance boost and also battery friendly)
I/O: BFQ(Im now checking out other IO schedulers after found a good or better one i will update )(and also Because it fixes this issue.)
These are the setting that gives me the best/positive results on my unit. I do not OC as I see no obvious differences in speed as these settings are already more than good enough. And furthermore OC will decrease the life of the device so no point.
TESTED
I have tested these:
Max:1200
Min: 300
Gov: Smartassv2
IO: SIO
Remarks: I have tested these and I must say the performance and battery life was almost as good as those of the recommended settings These do perform almost the same as the recommended ones but battery wise is definitely an out for these if compared to the recommended one. I personally would still recommend and prefer those in the recommended section as both almost perform the same and this is more unbattery friendly.
TESTING
This are the settings that I am testing now:
Max: 1000
Min: 300
Gov: Conservative
IO: Noop
Remarks: So as usual, I will test and report back after about a week. As of now, performance wise, these really lose out to all the others that are present in this post. But battery wise its definitely a clear winner
SHORT VIDEO THAT I FOUND ON YOUTUBE
As usual, DO ANY CHANGES TO YOUR PHONE AT YOUR OWN RISK
Enjoy! And I hope that this thread has been helpful for you.
Reference: http://forum.xda-developers.com/showthread.php?t=1242323. Also, I believe many threads like this have been made . To me, everyone's experience is not entirely the same, therefore this would only help to a certain extend .
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
bscraze said:
Reference: http://forum.xda-developers.com/showthread.php?t=1242323. Also, I believe many threads like this have been made . To me, everyone's experience is not entirely the same, therefore this would only help to a certain extend .
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
Click to expand...
Click to collapse
Hmmm... havent really seen one around in I9003 forums tho. And seen alot of discussion about this in dev thread so...
crazbanditz said:
Hmmm... havent really seen one around in I9003 forums tho. And seen alot of discussion about this in dev thread so...
Click to expand...
Click to collapse
Just Google 'best governor'/best scheduler/best governor and scheduler.
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
first i have to say that there are big differences in CPU-Tools... i got myself cpumaster,nofrills and finally setcpu... cpumaster made my phone laggy even with lionheartgovernors and stuff...nofrills has no support for different profiles...so i highly recommend invest the little mlney for the incredible setcpu. basically i use smartassV2 at 1000mhz min 300mhz with sio scheduler...and then much profiles like change to vr scheduler when playing videos or in call 600mhz max or at night when i sleel keep the phone at 300mhz max; )
Sent from my GT-I9003 using XDA
Hi. I was just wondering... Do Kernel Govs and I/O selections match well with V6 Supercharger? Or is it better to supercharge with a stock kernel?
Sorry for the noob question. Im just concerned if its possible that all these mods im applying might be cancelling out each other at some point... Or worse might be contradicting each other too...
Sent from my Galaxy SL with CM9A6, Vurrut Kernel v17 & V6 Supercharged.
hpog said:
Hi. I was just wondering... Do Kernel Govs and I/O selections match well with V6 Supercharger? Or is it better to supercharge with a stock kernel?
Sorry for the noob question. Im just concerned if its possible that all these mods im applying might be cancelling out each other at some point... Or worse might be contradicting each other too...
Sent from my Galaxy SL with CM9A6, Vurrut Kernel v17 & V6 Supercharged.
Click to expand...
Click to collapse
Nope they don't they do different things . Supercharger manages minfree values while governors and schedulers manage the CPU speed
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
felixchris said:
first i have to say that there are big differences in CPU-Tools... i got myself cpumaster,nofrills and finally setcpu... cpumaster made my phone laggy even with lionheartgovernors and stuff...nofrills has no support for different profiles...so i highly recommend invest the little mlney for the incredible setcpu. basically i use smartassV2 at 1000mhz min 300mhz with sio scheduler...and then much profiles like change to vr scheduler when playing videos or in call 600mhz max or at night when i sleel keep the phone at 300mhz max; )
Sent from my GT-I9003 using XDA
Click to expand...
Click to collapse
Umm smart ass v2 has built in screen off profiles if I'm not wrong.
Cheers
Sent from my GT-i9003 powered by RemICS S III-looking rom!
bscraze said:
Umm smart ass v2 has built in screen off profiles if I'm not wrong.
Cheers
Sent from my GT-i9003 powered by RemICS S III-looking rom!
Click to expand...
Click to collapse
It does
Updated op with testing status
Does oc to 1.1 ghz drains the same amount of battery as oc to 1.3ghz ?? Can i use screen off profile in set cpu with conservative 300 mhz max and 300 mhz min ?? will it drain battery or improve battery ???
anuraagkochar said:
Does oc to 1.1 ghz drains the same amount of battery as oc to 1.3ghz ?? Can i use screen off profile in set cpu with conservative 300 mhz max and 300 mhz min ?? will it drain battery or improve battery ???
Click to expand...
Click to collapse
This is my recommendation for SetCPU max 1200 min 300 gov interactiveX io:BFQ When asleep profile: Max 600 min 300 gov and io same as above
Press thanks if this helped
Updated OP with alot of changes Including the new section guide and also the tested section as well as remarks to help people with choosing their settings
Gv smartassv2 Io sio
Sent from my GT-I9003 using Tapatalk
juanra88 said:
Gv smartassv2 Io sio
Sent from my GT-I9003 using Tapatalk
Click to expand...
Click to collapse
Ermmmm... Sorry why are you saying that all of a suddden?
Press Thanks if I helped
In my opinion, this topic is kinda useless.
I know and i respect your effort, but these settings really depend on the user and how they use the device.
If i try the same settings and try it myself, i will probably have another opinion and other results.
Benchmarks mean nothing.
Also many other threads all over XDA were made to explain governors and I/O schedulers, and users can simply Google it and read, then chose what suits them.
Skander1998 said:
In my opinion, this topic is kinda useless.
I know and i respect your effort, but these settings really depend on the user and how they use the device.
If i try the same settings and try it myself, i will probably have another opinion and other results.
Benchmarks mean nothing.
Also many other threads all over XDA were made to explain governors and I/O schedulers, and users can simply Google it and read, then chose what suits them.
Click to expand...
Click to collapse
Yea... but this is particularly for our device and I did do a remarks section to what is better for performance and battery. So that the user will better know which one suits them I didnt mention anything about benchmarks... right?
Press Thanks if I helped
crazbanditz said:
Yea... but this is particularly for our device and I did do a remarks section to what is better for performance and battery. So that the user will better know which one suits them I didnt mention anything about benchmarks... right?
Press Thanks if I helped
Click to expand...
Click to collapse
The benchmarks note was for other people, it's in another line
Also, it doesn't matter if it's for our device or not, the topic give YOU the best results, others will probably have to test themselves, so i still see no point in this.
However, i am just saying my opinion, good luck
Skander1998 said:
The benchmarks note was for other people, it's in another line
Also, it doesn't matter if it's for our device or not, the topic give YOU the best results, others will probably have to test themselves, so i still see no point in this.
However, i am just saying my opinion, good luck
Click to expand...
Click to collapse
Okay. But it will still save people from going off topic in devs thread...
which kernel r u using? bam v14 doesnt have interactivex !!

Governor, Scheduler and frequency on Fallout V5.0

I've searched the forums for a while now and read up on these topics. However, I cannot seem to come to a conclusion about what settings to apply.
I've messed about with them. When I selected Conservative as my governor and SIO as my Scheduler, any additional CPU work (playing a game) would cause my music player application to stop. So I'm guessing it was holding the CPU back a bit.
My current settings goes as follows:
Awake:
CPU Max: 1024000
CPU Min : 245760
Governor : SmartassV2
Asleep: Same as awake(asking for trouble?)
I/O : SIO( I have read in a post that this was one of the better ones)
ROM : Fallout V5.0
Kernel : Fallout 3.0.42
All changes were done using Fallout Tweaks
Now, my main question...
For day to day stable use, what settings would you recommend ? I don't mind over clocking to 1.2Mhz(That should be safe, right?) but I don't understand which Governor, Scheduler and frequencies to use. I understand that there is a specific way in which you pair Awake and Asleep Governors and that some combinations are bad but I have no clue what this is. I'm looking for something that will keep regular phone use smooth and avoid lag but battery consumption is important. I know that this is asking for the best of both worlds, but take into account that I'm not asking for any heavy duty processing... Just smooth scrolling, messaging, browsing, music playing etc. without them forcing the other not to work (As stated in the problem above)
Well, now that thats over I would also like to suggest someone write a post involving these issues, if possible. In my searches, I have found information detailing the Schedulers and Governors(For other phones) but these just explain how they work and not definitively explaining which is better for a specific use and how they should be paired in an awake+asleep state. One specifically for us Desire S owners would be nice.
As such, it would also be nice to understand what is the difference between these awake/asleep states and why a certain scheduler should be used in each.
I don't mean to sound demanding or rude but perhaps some of the gurus on here have the time and would like to help noobs like myself or guide me to the correct post. Thank you !
DieLyn said:
I've searched the forums for a while now and read up on these topics. However, I cannot seem to come to a conclusion about what settings to apply.
I've messed about with them. When I selected Conservative as my governor and SIO as my Scheduler, any additional CPU work (playing a game) would cause my music player application to stop. So I'm guessing it was holding the CPU back a bit.
My current settings goes as follows:
Awake:
CPU Max: 1024000
CPU Min : 245760
Governor : SmartassV2
Asleep: Same as awake(asking for trouble?)
I/O : SIO( I have read in a post that this was one of the better ones)
ROM : Fallout V5.0
Kernel : Fallout 3.0.42
All changes were done using Fallout Tweaks
Now, my main question...
For day to day stable use, what settings would you recommend ? I don't mind over clocking to 1.2Mhz(That should be safe, right?) but I don't understand which Governor, Scheduler and frequencies to use. I understand that there is a specific way in which you pair Awake and Asleep Governors and that some combinations are bad but I have no clue what this is. I'm looking for something that will keep regular phone use smooth and avoid lag but battery consumption is important. I know that this is asking for the best of both worlds, but take into account that I'm not asking for any heavy duty processing... Just smooth scrolling, messaging, browsing, music playing etc. without them forcing the other not to work (As stated in the problem above)
Well, now that thats over I would also like to suggest someone write a post involving these issues, if possible. In my searches, I have found information detailing the Schedulers and Governors(For other phones) but these just explain how they work and not definitively explaining which is better for a specific use and how they should be paired in an awake+asleep state. One specifically for us Desire S owners would be nice.
As such, it would also be nice to understand what is the difference between these awake/asleep states and why a certain scheduler should be used in each.
I don't mean to sound demanding or rude but perhaps some of the gurus on here have the time and would like to help noobs like myself or guide me to the correct post. Thank you !
Click to expand...
Click to collapse
I use new amida's kernel with this settings:
Awake:
CPU Max: 1497 Mhz
CPU Min : 768 Mhz
Governor : Brazilianwax or reaper if you use the fallout kernel
Asleep:
CPU Max: 768 Mhz
CPU Min : 245 Mhz
Governor : SmartassV2
With this you can get a great performance for gaming and save battery during sleep
Sorry for my bad English
DieLyn said:
I've searched the forums for a while now and read up on these topics. However, I cannot seem to come to a conclusion about what settings to apply.
I've messed about with them. When I selected Conservative as my governor and SIO as my Scheduler, any additional CPU work (playing a game) would cause my music player application to stop. So I'm guessing it was holding the CPU back a bit.
My current settings goes as follows:
Awake:
CPU Max: 1024000
CPU Min : 245760
Governor : SmartassV2
Asleep: Same as awake(asking for trouble?)
I/O : SIO( I have read in a post that this was one of the better ones)
ROM : Fallout V5.0
Kernel : Fallout 3.0.42
All changes were done using Fallout Tweaks
Now, my main question...
For day to day stable use, what settings would you recommend ? I don't mind over clocking to 1.2Mhz(That should be safe, right?) but I don't understand which Governor, Scheduler and frequencies to use. I understand that there is a specific way in which you pair Awake and Asleep Governors and that some combinations are bad but I have no clue what this is. I'm looking for something that will keep regular phone use smooth and avoid lag but battery consumption is important. I know that this is asking for the best of both worlds, but take into account that I'm not asking for any heavy duty processing... Just smooth scrolling, messaging, browsing, music playing etc. without them forcing the other not to work (As stated in the problem above)
Well, now that thats over I would also like to suggest someone write a post involving these issues, if possible. In my searches, I have found information detailing the Schedulers and Governors(For other phones) but these just explain how they work and not definitively explaining which is better for a specific use and how they should be paired in an awake+asleep state. One specifically for us Desire S owners would be nice.
As such, it would also be nice to understand what is the difference between these awake/asleep states and why a certain scheduler should be used in each.
I don't mean to sound demanding or rude but perhaps some of the gurus on here have the time and would like to help noobs like myself or guide me to the correct post. Thank you !
Click to expand...
Click to collapse
u might want to read above this http://forum.xda-developers.com/showthread.php?p=19846297
nazri5363 said:
u might want to read above this http://forum.xda-developers.com/showthread.php?p=19846297
Click to expand...
Click to collapse
Ah, thank you. I did read that and it was the one I was referring to in my post. "Other phones" as it is for the SGS II.
DieLyn said:
Ah, thank you. I did read that and it was the one I was referring to in my post. "Other phones" as it is for the SGS II.
Click to expand...
Click to collapse
i am on fallout also...currently i am using intellidemant min/ max 245-1024 awake and 245-768 smartassv2 in asleep....basically the governor are the same i guess no matter from which device....my current setting quite good with no lag...btw i am using noop i/o scheduler...
DieLyn said:
Ah, thank you. I did read that and it was the one I was referring to in my post. "Other phones" as it is for the SGS II.
Click to expand...
Click to collapse
That is relative, you need one governor or other depend if you want performance, battery duration or a balanced combination...try one and another to get your best combination of them :fingers-crossed:
jos3ang3l said:
That is relative, you need one governor or other depend if you want performance, battery duration or a balanced combination...try one and another to get your best combination of them :fingers-crossed:
Click to expand...
Click to collapse
agreed....perhaps u should try to flash amidabuddha latest kernel...3.0.43 is the latest kernel....
nazri5363 said:
agreed....perhaps u should try to flash amidabuddha latest kernel...3.0.43 is the latest kernel....
Click to expand...
Click to collapse
Of course, I flashed it too
Sent from my HTC Desire S using xda premium

Categories

Resources