[Q] Best CPU Governnor and I/O Scheduler for Live with Walkman(WT19i)

Search This thread

T3sla

Senior Member
Jan 14, 2012
497
128
Thessaloniki
kindly read this thread:
Q. "I'm going to set scaling min freq as 100 mhz because my kernel supports it. Hope there's nothing wrong in doing that."
A. Wait! You may want to stay away from using 100mhz during screen-off or screen-on states for three reasons 1) It seems 100 mhz uses more power than 200 mhz. According to tests, 100 mhz accounted to 1 W / GHz and 200 mhz to 0.7 W / GHz, when both the cores were online. 2) 200 mhz can finish same task faster compared 100 mhz and thus hit deep idle soon. 3) 200 mhz is the 'sweet spot' of frequency in SGS II. ie, the frequency used in the calculations based on the optimal energy to run (Ex: In Milestone it's 550 MHz). So , 'energetically efficient' frequency for our CPU is 200 mhz.

That's maybe true for SGS II, i'm not sure about xperias so propably the best way to know is testing;)I'll try different settings when i have time and post the results.
 

dumraden

Senior Member
Feb 18, 2008
825
401
This is SPARTAAAA!!
Exactly What T3sla said. All links above are for devices other than our Xperia's. We use different boards, different, CPU's blah blah blah.

Unless someone does an extended test on our devices, making judgments based on other devices is silly.
 
  • Like
Reactions: kevincaja
Exactly What T3sla said. All links above are for devices other than our Xperia's. We use different boards, different, CPU's blah blah blah.

Unless someone does an extended test on our devices, making judgments based on other devices is silly.

your probably right gonna test if making the min freq. to 122mhz does really save battery on my WT19i. thanks anyway :)
 
Thank you again for the very detailed explanation...
Currently trying out your recommendations...

oh and btw, hybrom v15 does not include a Stk.apk(SIM Toolkit app), you must integrate it via WinRAR, or via Root Explorer(if you dont want to reflash), you can customize any ROM to your liking, just search the forum for tutorials :)
 
Last edited:
So guys, lets talk about undervolting, i installed SetXperia and Stability test on my WT19i, will post result soon :)

current SetXperia voltages:

122Mhz = 750mV
245Mhz = 850mV
368Mhz = 850mV
460Mhz = 900mV
576Mhz = 900mV
652Mhz = 900mV
768Mhz = 950mV
806Mhz = 950mV
921Mhz = 1000mV
1024Mhz = 1000mV

checked the stability of every freq. and seems stable for me, and boot friendly :)

can you share yours? :)
 
Last edited:

melander

Senior Member
Dec 31, 2011
441
123
Parañaque
oh and btw, hybrom v15 does not include a Stk.apk(SIM Toolkit app), you must integrate it via WinRAR, or via Root Explorer(if you dont want to reflash), you can customize any ROM to your liking, just search the forum for tutorials :)

what is STK used for?, I do not use my phone for a 3G connection, mainly just for calls and text
integrate it via WinRar? you mean like at it to the hybroman rom zip file?
can i just install those as apks?
havent tried root explorer yet also, haha
Thanks Kabayan!
My wife is from LC, Quezon.
 
what is STK used for?, I do not use my phone for a 3G connection, mainly just for calls and text
integrate it via WinRar? you mean like at it to the hybroman rom zip file?
can i just install those as apks?
havent tried root explorer yet also, haha
Thanks Kabayan!
My wife is from LC, Quezon.

STK is used to access your simcard's menu.

e.g.
Pasaload
Smart Money Padala
Smart Buddy Balance
etc.

STK is only needed if you use your simcard menu to do money transfers, check remaining balance etc, in a much easier way, without manually texting codes and memorizing special numbers :)

(SAFE AND EASY METHOD)
download root explorer lite in market
Use root explorer to copy paste stk.apk to this location:
/system/apps/

or you can manually add Stk.apk to the ROM via WinRAR and wipe all data and cache(you loose your settings and apps), you have to download apps again or you can backup apps via Astro filemanager or Titanium Backup.


EDIT: you can install Stk.apk as an app so no root explorer or WinRAR required. If you ever run into errors, you really have to install it via root explorer or integrate it via WinRAR :)
enjoy :)
 

Attachments

  • Stk.apk
    83.5 KB · Views: 18
Last edited:

melander

Senior Member
Dec 31, 2011
441
123
Parañaque
STK is used to access your simcard's menu.

e.g.
Pasaload
Smart Money Padala
Smart Buddy Balance
etc.

STK is only needed if you use your simcard menu to do money transfers, check remaining balance etc, in a much easier way, without manually texting codes and memorizing special numbers :)

(SAFE AND EASY METHOD)
download root explorer lite in market
Use root explorer to copy paste stk.apk to this location:
/system/apps/

or you can manually add Stk.apk to the ROM via WinRAR and wipe all data and cache(you loose your settings and apps), you have to download apps again or you can backup apps via Astro filemanager or Titanium Backup.


EDIT: you can install Stk.apk as an app so no root explorer or WinRAR required. If you ever run into errors, you really have to install it via root explorer or integrate it via WinRAR :)
enjoy :)

oh is see now,
i actually went ahead and look for that stk.apk file and i found one under the hybrom rom thread stk.apk and install it directly like any other application.
is this any different from the one you attached here?

i installed rage kernel. i like the default sony erricson logo at startup.
flashed the boot animation from v13 and stock font.
im seeing a big improvement with battery life when screen off, around 1% - 2 hours, before it was just 1% - 1 hour
i set the cpu governor to smartassv2, 122MHz for the screen off, 245-1024MHz setting
and i/o to noop, 2048 cache

any other suggestions?
do you overclock yours?:D
 
oh is see now,
i actually went ahead and look for that stk.apk file and i found one under the hybrom rom thread stk.apk and install it directly like any other application.
is this any different from the one you attached here?

i installed rage kernel. i like the default sony erricson logo at startup.
flashed the boot animation from v13 and stock font.
im seeing a big improvement with battery life when screen off, around 1% - 2 hours, before it was just 1% - 1 hour
i set the cpu governor to smartassv2, 122MHz for the screen off, 245-1024MHz setting
and i/o to noop, 2048 cache

any other suggestions?
do you overclock yours?:D

well the one I attached here came for the original WT19i stock ROM, other Stk.apk apps have problems so I extracted mine from the original ROM(WT19i).

At first, I did overclock my WT19i to 1.2Ghz max then went up to 1.6Ghz, stable and no overheating, but again, less battery life, so i went back to 1Ghz, since i don't have that much apps on my phone :)

You can try undervolting the CPU via SetXperia(available on Market for free) and Stability test(which is also available in the market for free) to check the stability of your phone


So probably the easiest way to speedup your phone's CPU performance is to overclock around 1.2 to 1.4 ghz without undervolting(for stability), or if you really want to undervolt and just to be safe with your CPU temps, just experiment with SetXperia and Stability test, and find the sweet spot for your phone.

NOTE:
-make sure to backup of your apps, settings etc before doing any undervolting.

-just don't keep your max freq. to 1.6Ghz or 1.8Ghz for very long time, specially when you have alot of background apps and you constantly ramp up the CPU to max, there's a risk of damaging the CPU's BGA connections to the board due to overheating which will make your phone useless.



Oh and btw, I did make a test of setting my min freq to 122Mhz, results are quite good but with small problems in MP3 playback, sure it gives me the best standby time(screen sleep) around the same as yours 1% per 2 to 2.5hrs but when I play high bitrate MP3(192kbps), it stutters. So I reconvert it again and made it 128kbps, so for now stuttering is gone. I did try converting MP4 to AAC(.m4a) using Winamp(didn't try iTunes yet) to convert it to AAC but the bass is distorted, even in original stock firmware, probably a bug in sony ericsson's firmware. Call seems to be stable, no drop calls at all when screen is off, probably because I don't install alot of apps :)

so enjoy and goodluck, for now, I'm contented with the 1Ghz freq :)
 
Last edited:
BTW melander, what brand of micro sd you're using? I just bought a Kingston MicroSDHC 8GB Class 4 card and I'm really disappointed with the write performace, :/ but the read performace is good though :)

take a look at the attached pics :)

some forums say that new SanDisk MicroSD Class 4 or Class 6 gives better write and read performance.
 

Someguyfromhell

Senior Member
Feb 2, 2012
4,148
1,828
BTW melander, what brand of micro sd you're using? I just bought a Kingston MicroSDHC 8GB Class 4 card and I'm really disappointed with the write performace, :/ but the read performace is good though :)

take a look at the attached pics :)

some forums say that new SanDisk MicroSD Class 4 or Class 6 gives better write and read performance.

That has nothing to do with this topic...
MicroSD cards are all fast enough, music should be no problem.

Now, on topic....I have kept minimum on 134 Mhz for the last 3-4 months, never had a problem. Governor is mostly smartassV2, maximum is 1Ghz, sometimes I use 1,2 Ghz.
 
That has nothing to do with this topic...
MicroSD cards are all fast enough, music should be no problem.

Now, on topic....I have kept minimum on 134 Mhz for the last 3-4 months, never had a problem. Governor is mostly smartassV2, maximum is 1Ghz, sometimes I use 1,2 Ghz.

sorry for the post about the microSD :/

anyway what's your battery life at 1.2Ghz?
 

Someguyfromhell

Senior Member
Feb 2, 2012
4,148
1,828
I reload my battery every night anyway, even though some days I use phone more, some days less.

Will do a test in the following days.
 

melander

Senior Member
Dec 31, 2011
441
123
Parañaque
well the one I attached here came for the original WT19i stock ROM, other Stk.apk apps have problems so I extracted mine from the original ROM(WT19i).

At first, I did overclock my WT19i to 1.2Ghz max then went up to 1.6Ghz, stable and no overheating, but again, less battery life, so i went back to 1Ghz, since i don't have that much apps on my phone :)

You can try undervolting the CPU via SetXperia(available on Market for free) and Stability test(which is also available in the market for free) to check the stability of your phone


So probably the easiest way to speedup your phone's CPU performance is to overclock around 1.2 to 1.4 ghz without undervolting(for stability), or if you really want to undervolt and just to be safe with your CPU temps, just experiment with SetXperia and Stability test, and find the sweet spot for your phone.

NOTE:
-make sure to backup of your apps, settings etc before doing any undervolting.

-just don't keep your max freq. to 1.6Ghz or 1.8Ghz for very long time, specially when you have alot of background apps and you constantly ramp up the CPU to max, there's a risk of damaging the CPU's BGA connections to the board due to overheating which will make your phone useless.



Oh and btw, I did make a test of setting my min freq to 122Mhz, results are quite good but with small problems in MP3 playback, sure it gives me the best standby time(screen sleep) around the same as yours 1% per 2 to 2.5hrs but when I play high bitrate MP3(192kbps), it stutters. So I reconvert it again and made it 128kbps, so for now stuttering is gone. I did try converting MP4 to AAC(.m4a) using Winamp(didn't try iTunes yet) to convert it to AAC but the bass is distorted, even in original stock firmware, probably a bug in sony ericsson's firmware. Call seems to be stable, no drop calls at all when screen is off, probably because I don't install alot of apps :)

so enjoy and goodluck, for now, I'm contented with the 1Ghz freq :)

OK, i will download that stk.apk that you have uploaded. thanks.
i actually changed my kernel from rage to X.
tried to install the zram script and got stuck at the bootanimation.
had to reflash again X kernel and ROM.
All is well now, at least i was able to reconfigure the rom much faster now with my desired settings, :D

Tried to run it on 1.6GHz just to run a benchmark, was really impressed with the improvement, but would not stick to that setting since the battery drain is massive and for reliability reasons.
Currently testing out it on 1.2GHz, ondemand and bfq via no-frills.
Just a question, about deep sleep, i checked my battery status after 4-5 hours on standby/screen off. i noticed that there was no awake and screen on times so i think, thats good. however, phone signal is steady red line, is that normal? <<< it was just at home that the signal was red, here at work it was all green, hehe

Will probably just go back to 1.0GHz after testing out the phone on 1.2GHz.
I currently have the phone on 134 mininum, have not checked out the playback performance yet. Most of my mp3s are 320kbps, so that would be a good test scenario.
Here is just some apps that I use.
Alarm Clock Plus
GO SMS
GO Contacts
Antutu Benchmark
Simi Clock Widget and Simi Folder
Facebook
Hopefully none of these add up to the battery drain while on standby.


BTW melander, what brand of micro sd you're using? I just bought a Kingston MicroSDHC 8GB Class 4 card and I'm really disappointed with the write performace, :/ but the read performace is good though :)

take a look at the attached pics :)

some forums say that new SanDisk MicroSD Class 4 or Class 6 gives better write and read performance.

I bought my SD card last December from Micro Valley Pacific Mall.
Got tired of waiting in line at CD-R King.
Ended up buying a Microdia 8GB Class 4.
Indicated on the packaging is that is used on most Samsung phones.
Also says 66x on it, maybe write, not sure.
The performance is quite unpredictable, im getting as low as 3MB to 9M write.
Not sure why it is fluctating...
I thought Kingston was a good brand, i am currently using a Kingston dt101 16gb g2 flash drive. Based on the reviews it gets faster speed with large files.
Sandisk is definitely one of the best brands, but for a price.
 
Last edited:
OK, i will download that stk.apk that you have uploaded. thanks.
i actually changed my kernel from rage to X.
tried to install the zram script and got stuck at the bootanimation.
had to reflash again X kernel and ROM.
All is well now, at least i was able to reconfigure the rom much faster now with my desired settings, :D

Tried to run it on 1.6GHz just to run a benchmark, was really impressed with the improvement, but would not stick to that setting since the battery drain is massive and for reliability reasons.
Currently testing out it on 1.2GHz, ondemand and bfq via no-frills.
Just a question, about deep sleep, i checked my battery status after 4-5 hours on standby/screen off. i noticed that there was no awake and screen on times so i think, thats good. however, phone signal is steady red line, is that normal? <<< it was just at home that the signal was red, here at work it was all green, hehe

Will probably just go back to 1.0GHz after testing out the phone on 1.2GHz.
I currently have the phone on 134 mininum, have not checked out the playback performance yet. Most of my mp3s are 320kbps, so that would be a good test scenario.
Here is just some apps that I use.
Alarm Clock Plus
GO SMS
GO Contacts
Antutu Benchmark
Simi Clock Widget and Simi Folder
Facebook
Hopefully none of these add up to the battery drain while on standby.




I bought my SD card last December from Micro Valley Pacific Mall.
Got tired of waiting in line at CD-R King.
Ended up buying a Microdia 8GB Class 4.
Indicated on the packaging is that is used on most Samsung phones.
Also says 66x on it, maybe write, not sure.
The performance is quite unpredictable, im getting as low as 3MB to 9M write.
Not sure why it is fluctating...
I thought Kingston was a good brand, i am currently using a Kingston dt101 16gb g2 flash drive. Based on the reviews it gets faster speed with large files.
Sandisk is definitely one of the best brands, but for a price.

changed my kernel too from rage to X kernel, sleep performance is quite good, no more mp3 playback stuttering at 192kbps :)

and the benefits of zram is quite noticeable(since it uses the free RAM as a swap, instead of the flash memory), i didn't install V6 supercharger, since i have lots of free RAM and i don't install a lot of apps.

the CPU governor is still at SmartAssv2 and Noop for I/O, 1.018Mhz max and 134Mhz min. I also set the read_ahead_kb to 2048kb and i noticed immediately that my SD card read speed increased from 14MB/s to 17MB/s (average from 5 times of test using SD Tools and AnTuTu)though write speed is still the same(4-4.2MB/s) :/
think I'm gonna buy those SanDisk 16GB class 4, badly needed fast write speeds, specially at 4K to 512K write. :/

I also noticed that when in deadline I/O, my SD read speed decreased from 17MB/s to 15MB/s, SIO managed 15-16MB/s read speed on my Kingston MicroSDHC 8GB class4 card, hadn't test the internal memory performance though.

about the phone signal, is your network set to use WCDMA/GSM or GSM only?
 
Last edited:

melander

Senior Member
Dec 31, 2011
441
123
Parañaque
changed my kernel too from rage to X kernel, sleep performance is quite good, no more mp3 playback stuttering at 192kbps :)

and the benefits of zram is quite noticeable(since it uses the free RAM as a swap, instead of the flash memory), i didn't install V6 supercharger, since i have lots of free RAM and i don't install a lot of apps.

the CPU governor is still at SmartAssv2 and Noop for I/O, 1.018Mhz max and 134Mhz min. I also set the read_ahead_kb to 2048kb and i noticed immediately that my SD card read speed increased from 14MB/s to 17MB/s (average from 5 times of test using SD Tools and AnTuTu)though write speed is still the same(4-4.2MB/s) :/
think I'm gonna buy those SanDisk 16GB class 4, badly needed fast write speeds, specially at 4K to 512K write. :/

I also noticed that when in deadline I/O, my SD read speed decreased from 17MB/s to 15MB/s, SIO managed 15-16MB/s read speed on my Kingston MicroSDHC 8GB class4 card, hadn't test the internal memory performance though.

about the phone signal, is your network set to use WCDMA/GSM or GSM only?

i am not seeing zram in terminal app sir, how about you?,
i actually got problems when i tried to flash the zram script from x kernel thread.
getting boot loops, had to reflash the rom to fix it.

still finding the right combination on mine, tried ondemand and bfq, using no frills
i think i have a problem with my sdcard, just gonna save up for a 16GB or higher, hehe

network was set to wcdma/gsm, will just switch it to gsm...

doing some backups now thru titanium and cwm, just in case...
 
Last edited:
i am not seeing zram in terminal app sir, how about you?,
i actually got problems when i tried to flash the zram script from x kernel thread.
getting boot loops, had to reflash the rom to fix it.

still finding the right combination on mine, tried ondemand and bfq, using no frills
i think i have a problem with my sdcard, just gonna save up for a 16GB or higher, hehe

network was set to wcdma/gsm, will just switch it to gsm...

doing some backups now thru titanium and cwm, just in case...

Procedure:

1. flash kernel via flashtool or yung SE Bootloader Unlocking v1.6 by quangnhut123(easy and fast to download)
2. power on your phone and enter CWM
3. clear and wipe mo yung data/reset
4. wipe partition cache
5. install hybrom v15.zip
6. install wlan module(if your using X Kernel)
7. then install zram.zip
8. go to advance and click wipe dalvik cache.
9. reboot your device :)

after setting up everything, check if your using swap:

1. open terminal emulator
2. type "su" to enter superuser mode(a superuser prompt should appear for the first time use.)
3. then type "free" to check if your using swap.


you can also type:
cat /proc/swaps
to check your zram partition.


NOTE: some people may not benefit in using swap. And take note also that zram uses some CPU cycles in compressing and decompressing data to zram partition to the ram, which may slightly decrease battery life.

enjoy :)

EDIT: i tested BFQ I/O scheduler and I see a little improvement in read speeds on my Kingston 8GB MicroSD class 4 card, take a look at the attached pictures :)

performance is quite similar to noop if not, sometimes worse than noop when repeating test. I still choose noop since it gives me a stable 19 to 20MB average reads, and performs better in 4k and 512k read and write, noop also loads my pics and vids fast on my gallery :)
 
Last edited:

melander

Senior Member
Dec 31, 2011
441
123
Parañaque
will probably do the reflash on my phone once Hybroman V16 comes out....
will test out current settings, update SU and try to run some test on my SD card also.
thanks sir!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Wow, thanks so much for the very detailed guide!
    Will try it out now!:)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Running Hybrom V15 now with Rage Kernel.
    So far so good.
    Now, how do I set the CPU frequency?

    you can download No Frills CPU Control in the Google Play Store(Market) for beginners, i suggest using SmartAssv2 for the CPU governor and Noop or SIO for the I/O Scheduler. as i remember, Noop or SIO provides the fastest throughput and best suitable for flash storage :)

    here's the list of the advantages and disadvantages of those I/O Schedulers:
    Q. "What purposes does an i/o scheduler serve?"
    A.
    Minimize hard disk seek latency.
    Prioritize I/O requests from processes.
    Allocate disk bandwidth for running processes.
    Guarantee that certain requests will be served before a deadline.

    So in the simplest of simplest form: Kernel controls the disk access using I/O Scheduler.

    Q. "What goals every I/O scheduler tries to balance?"
    A.
    Fairness (let every process have its share of the access to disk)
    Performance (try to serve requests close to current disk head position first, because seeking there is fastest)
    Real-time (guarantee that a request is serviced in a given time)

    Q. "Description, advantages, disadvantages of each I/O Scheduler?"
    A.

    1) Noop

    Inserts all the incoming I/O requests to a First In First Out queue and implements request merging. Best used with storage devices that does not depend on mechanical movement to access data (yes, like our flash drives). Advantage here is that flash drives does not require reordering of multiple I/O requests unlike in normal hard drives.

    Advantages:
    Serves I/O requests with least number of cpu cycles. (Battery friendly?)
    Best for flash drives since there is no seeking penalty.
    Good throughput on db systems.
    Disadvantages:
    Reduction in number of cpu cycles used is proportional to drop in performance.

    2) Deadline

    Goal is to minimize I/O latency or starvation of a request. The same is achieved by round robin policy to be fair among multiple I/O requests. Five queues are aggressively used to reorder incoming requests.

    Advantages:
    Nearly a real time scheduler.
    Excels in reducing latency of any given single I/O.
    Best scheduler for database access and queries.
    Bandwidth requirement of a process - what percentage of CPU it needs, is easily calculated.
    Like noop, a good scheduler for solid state/flash drives.
    Disadvantages:
    When system is overloaded, set of processes that may miss deadline is largely unpredictable.

    3) CFQ

    Completely Fair Queuing scheduler maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests. Each per-process queue contains synchronous requests from processes. Time slice allocated for each queue depends on the priority of the 'parent' process. V2 of CFQ has some fixes which solves process' i/o starvation and some small backward seeks in the hope of improving responsiveness.

    Advantages:
    Considered to deliver a balanced i/o performance.
    Easiest to tune.
    Excels on multiprocessor systems.
    Best database system performance after deadline.
    Disadvantages:
    Some users report media scanning takes longest to complete using CFQ. This could be because of the property that since the bandwidth is equally distributed to all i/o operations during boot-up, media scanning is not given any special priority.
    Jitter (worst-case-delay) exhibited can sometimes be high, because of the number of tasks competing for the disk.

    4) BFQ

    Instead of time slices allocation by CFQ, BFQ assigns budgets. Disk is granted to an active process until it's budget (number of sectors) expires. BFQ assigns high budgets to non-read tasks. Budget assigned to a process varies over time as a function of it's behavior.

    Advantages:
    Believed to be very good for usb data transfer rate.
    Believed to be the best scheduler for HD video recording and video streaming. (because of less jitter as compared to CFQ and others)
    Considered an accurate i/o scheduler.
    Achieves about 30% more throughput than CFQ on most workloads.
    Disadvantages:
    Not the best scheduler for benchmarking.
    Higher budget assigned to a process can affect interactivity and increased latency.

    5) SIO

    Simple I/O scheduler aims to keep minimum overhead to achieve low latency to serve I/O requests. No priority quesues concepts, but only basic merging. Sio is a mix between noop & deadline. No reordering or sorting of requests.

    Advantages:
    Simple, so reliable.
    Minimized starvation of requests.
    Disadvantages:
    Slow random-read speeds on flash drives, compared to other schedulers.
    Sequential-read speeds on flash drives also not so good.

    6) V(R)

    Unlike other schedulers, synchronous and asynchronous requests are not treated separately, instead a deadline is imposed for fairness. The next request to be served is based on it's distance from last request.

    Advantages:
    May be best for benchmarking because at the peak of it's 'form' VR performs best.
    Disadvantages:
    Performance fluctuation results in below-average performance at times.
    Least reliable/most unstable.

    7) Anticipatory

    Based on two facts
    i) Disk seeks are really slow.
    ii) Write operations can happen whenever, but there is always some process waiting for read operation.

    So anticipatory prioritize read operations over write. It anticipates synchronous read operations.

    Advantages:
    Read requests from processes are never starved.
    As good as noop for read-performance on flash drives.
    Disadvantages:
    'Guess works' might not be always reliable.
    Reduced write-performance on high performance disks.

    Q. "Best I/O Scheduler?"
    A.There is nothing called "best" i/o scheduler. Depending on your usage environment and tasks/apps been run, use different schedulers. That's the best i can suggest.
    However, considering the overall performance, battery, reliability and low latency, it is believed that
    SIO > Noop > Deadline > VR > BFQ > CFQ, given all schedulers are tweaked and the storage used is a flash device.

    Q. "How do i change I/O schedulers?"
    Voltage Control or No Frills from market.



    And here's the list and explanations for all CPU Governors for a custom android kernel:
    These are the 18 governors we're talking about.

    1) Ondemand
    2) Ondemandx
    3) Conservative
    4) Interactive
    5) Interactivex
    6) Lulzactive
    7) Smartass
    8) SmartassV2
    9) Intellidemand
    10) Lazy
    11) Lagfree
    12) Lionheart
    13) LionheartX
    14) Brazilianwax
    15) SavagedZen
    16) Userspacce
    17) Powersave
    18) Performance


    1) Ondemand:
    Default governor in almost all stock kernels. One main goal of the ondemand governor is to switch to max frequency as soon as there is a CPU activity detected to ensure the responsiveness of the system. (You can change this behavior using smooth scaling parameters, refer Siyah tweaks at the end of 3rd post.) Effectively, it uses the CPU busy time as the answer to "how critical is performance right now" question. So Ondemand jumps to maximum frequency when CPU is busy and decreases the frequency gradually when CPU is less loaded/apporaching idle. Even though many of us consider this a reliable governor, it falls short on battery saving and performance on default settings. One potential reason for ondemand governor being not very power efficient is that the governor decide the next target frequency by instant requirement during sampling interval. The instant requirement can response quickly to workload change, but it does not usually reflect workload real CPU usage requirement in a small longer time and it possibly causes frequently change between highest and lowest frequency.

    2) Ondemandx:
    Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.

    3) Conservative:
    A slower Ondemand which scales up slowly to save battery. The conservative governor is based on the ondemand governor. It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization. However, the conservative governor increases and decreases CPU speed more gradually. Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle. Conservative governor aims to dynamically adjust the CPU frequency to current utilization, without jumping to max frequency. The sampling_down_factor value acts as a negative multiplier of sampling_rate to reduce the frequency that the scheduler samples the CPU utilization. For example, if sampling_rate equal to 20,000 and sampling_down_factor is 2, the governor samples the CPU utilization every 40,000 microseconds.

    4) Interactive:
    Can be considered a faster ondemand. So more snappier, less battery. Interactive is designed for latency-sensitive, interactive workloads. Instead of sampling at every interval like ondemand, it determines how to scale up when CPU comes out of idle. The governor has the following advantages: 1) More consistent ramping, because existing governors do their CPU load sampling in a workqueue context, but interactive governor does this in a timer context, which gives more consistent CPU load sampling. 2) Higher priority for CPU frequency increase, thus giving the remaining tasks the CPU performance benefit, unlike existing governors which schedule ramp-up work to occur after your performance starved tasks have completed. Interactive It's an intelligent Ondemand because of stability optimizations. Why??
    Sampling the CPU load every X ms (like Ondemand) can lead to under-powering the CPU for X ms, leading to dropped frames, stuttering UI, etc. Instead of sampling the CPU at a specified rate, the interactive governor will check whether to scale the CPU frequency up soon after 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 very busy between exiting idle and when the timer fires, then we assume the CPU is underpowered and ramp to max frequency.

    5) Interactivex:
    This is an Interactive governor with a wake profile. More battery friendly than interactive.

    6) Lulzactive:
    This new find from Tegrak is based on Interactive & Smartass governors and is one of the favorites.
    Old Version: When workload is greater than or equal to 60%, the governor scales up CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step. When screen is off, frequency is locked to global scaling minimum frequency.
    New Version: Three more user configurable parameters: inc_cpu_load, pump_up_step, pump_down_step. Unlike older version, this one gives more control for the user. We can set the threshold at which governor decides to scale up/down. We can also set number of frequency steps to be skipped while polling up and down.
    When workload greater than or equal to inc_cpu_load, governor scales CPU pump_up_step steps up. When workload is less than inc_cpu_load, governor scales CPU down pump_down_step steps down.
    Example:
    Consider
    inc_cpu_load=70
    pump_up_step=2
    pump_down_step=1
    If current frequency=200, Every up_sampling_time Us if cpu load >= 70%, cpu is scaled up 2 steps - to 800.
    If current frequency =1200, Every down_sampling_time Us if cpu load < 70%, cpu is scaled down 1 step - to 1000.

    7) Smartass:
    Result of Erasmux rewriting the complete code of interactive governor. Main goal is to optimize battery life without comprising performance. Still, not as battery friendly as smartassV2 since screen-on minimum frequency is greater than frequencies used during screen-off. Smartass would jump up to highest frequency too often as well.

    8) SmartassV2:
    Version 2 of the original smartass governor from Erasmux. Another favorite for many a people. The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq (500 mhz for GS2 by default) when screen is on. There's no upper limit for frequency while screen is off (unlike Smartass). So the entire frequency range is available for the governor to use during screen-on and screen-off state. The motto of this governor is a balance between performance and battery.

    9) Intellidemand:
    Intellidemand aka Intelligent Ondemand from Faux is yet another governor that's based on ondemand. Unlike what some users believe, this governor is not the replacement for OC Daemon (Having different governors for sleep and awake). The original intellidemand behaves differently according to GPU usage. When GPU is really busy (gaming, maps, benchmarking, etc) intellidemand behaves like ondemand. When GPU is 'idling' (or moderately busy), intellidemand limits max frequency to a step depending on frequencies available in your device/kernel for saving battery. This is called browsing mode. We can see some 'traces' of interactive governor here. Frequency scale-up decision is made based on idling time of CPU. Lower idling time (<20%) causes CPU to scale-up from current frequency. Frequency scale-down happens at steps=5% of max frequency. (This parameter is tunable only in conservative, among the popular governors )
    To sum up, this is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling, and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such. Intellidemand does not jump to highest frequency when screen is off.

    10) Lazy:
    This governor from Ezekeel is basically an ondemand with an additional parameter min_time_state to specify the minimum time CPU stays on a frequency before scaling up/down. The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand. Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state on a step overriding sampling interval. Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always select the maximum frequency while the screen is off.

    11) Lagfree:
    Lagfree is similar to ondemand. Main difference is it's optimization to become more battery friendly. Frequency is gracefully decreased and increased, unlike ondemand which jumps to 100% too often. Lagfree does not skip any frequency step while scaling up or down. Remember that if there's a requirement for sudden burst of power, lagfree can not satisfy that since it has to raise cpu through each higher frequency step from current. Some users report that video playback using lagfree stutters a little.

    12) Lionheart:
    Lionheart is a conservative-based governor which is based on samsung's update3 source. Tweaks comes from 1) Knzo 2) Morfic. The original idea comes from Netarchy. See here. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.

    To 'experience' Lionheart using conservative, try these tweaks:
    sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
    up_threshold:60
    down_threshold:30
    freq_step:5
    Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.

    13) LionheartX
    LionheartX is based on Lionheart but has a few changes on the tunables and features a suspend profile based on Smartass governor.

    14) Brazilianwax:
    Similar to smartassV2. More aggressive ramping, so more performance, less battery.

    15) SavagedZen:
    Another smartassV2 based governor. Achieves good balance between performance & battery as compared to brazilianwax.

    16) Userspace:
    Instead of automatically determining frequencies, lets user set frequencies.

    17) Powersave:
    Locks max frequency to min frequency. Can not be used as a screen-on or even screen-off (if scaling min frequency is too low).

    18) Performance:
    Sets min frequency as max frequency. Use this while benchmarking!

    So, Governors can be categorized into 3/4 on a high level:
    1.a) Ondemand Based:
    Works on "ramp-up on high load" principle. CPU busy-time is taken into consideration for scaling decisions. Members: Ondemand, OndemandX, Intellidemand, Lazy, Lagfree.
    1.b) Conservative Based:
    Members: Conservative, Lionheart, LionheartX
    2) Interactive Based:
    Works on "make scaling decision when CPU comes out of idle-loop" principle. Members: Interactive, InteractiveX, Lulzactive, Smartass, SmartassV2, Brazilianwax, SavagedZen.
    3) Weird Category:
    Members: Userspace, Powersave, Performance.


    You can read all of these form this thread.
    2
    I bought a new android phone which is the Live with Walkman(WT19i) here in the Philippines, and I'm loving it, except for the battery life :)


    Live with Walkman is known for its poor battery life(which i found here in xda forums), probably because of the crapware software installed in stock ROM and battery which is the EP500 rated at 3.7v 1200mAh. Some users, like me, have a battery capacity of 1160mAh which really suck(probably country/region specific), especially when running with the stock ROM from Sony. So I unlocked my bootloader flashed my kernel to Rage kernel v2.6, wipe all data and cache partitions and installed HYBROM v15 from CWM, so far so good. I installed No frills CPU Control but I'm having a hard time which CPU governor and I/O scheduler to choose. Some people say that I should choose SmartAssv2 and Noop, some say I should choose Conservative and Noop or SIO.

    Installed Applications:
    Angry Birds(RIO, Seasons, Space)
    ASTRO File manager
    AdFree
    MapDroyd
    Facebook(auto sync is OFF)
    YouTube
    Skype(auto sync is OFF)

    oh, and BTW, I integrate these two apps via WinRAR which does not exist in HYBROM v15.
    Google Maps
    Google Search Widget

    -Screen Brightness = 40%(I only set it to max when outdoors)
    -Mobile Data network = OFF (using GSM only, I'm using WiFi for browsing, downloading and updating apps)
    -AutoSync is off
    -I only turn on WiFi when needed :)

    No Frills CPU (My configuration):
    Min:122Mhz
    Max:1.024Ghz
    Governor:SmartAssv2
    I/O Scheduler:Noop
    Apply on boot: checked


    So my question is whats the best CPU Governor and I/O Scheduler combination for the Live with Walkman(assuming your using Rage kernel ang hybrom ROM) providing a balanced cpu performance and battery life for any casual user?
    2
    thanks for the reply sir,
    can you please share the steps you did to install the kernel and rom???
    im really interested in installing a custom rom on mine...

    First, download all the necessary files:
    this thread contains all the necessary files to unlock your bootloader, at the same time flash a custom kernel that contains ClockWorkMod(CWM) and root.
    they also include download for the stock kernel with CMW and root but no overclocking, extra cpu governors and I/O scheduler features:
    http://xdaforums.com/showthread.php?t=1560613


    if you want to overclock your phone, or improve battery life, download rage kernel:
    http://xdaforums.com/showthread.php?t=1398910


    then download hybrom v15:
    http://xdaforums.com/showthread.php?t=1373435


    well that's about it, be careful when flashing as you can easily brick your phone.
    follow the instruction in the threads I've given to you.

    You install custom ROMs via the ClockWorkMod, the only thing you flash via your computer is the kernel. In case your stuck in bootloop, you can always reflash to the stock ROM of sony ericsson.
    Stock ROM for WT19i:
    http://dl.dropbox.com/u/17122099/Sony Tools/WT19i_4.0.2.A.0.62__1254-1889.ftf
    then flash it with flashtool or using the sofware on this thread.

    NOTE:
    -Rage kernel has a different way of entering in ClockWorkMod, turn your phone on. As it boots up, as soon you see the LED indicator turns blue or as soon as the boot logo brightens up, immediately press the home key to enter ClockWorkMod.

    -in the stock kernel with CMW and root, the LED indicator is always off. Turn your phone on. Press the on-off key once or twice as soon as the b logo gets brighter, to enter in ClockWorkMod.
    1
    For your CPU config, I suggest increasing the minimum frequency to 320-480ish; because around that frequency it consumes more or less the same voltage. If you set it too low, you may end up using more power because your phone may struggle to process services (caused by low frequency). Reference here -it may be on another device forum but that's applicable on other phones-

    IIRC smartassv2 will be defaulting to a low frequency when the phone's screen is off so I think it's good to use it, for your brightness it's ok but I use around 20-30% brightness when outdoors
    1
    use either scary governor or ondemand and about the i/o bfq or sio.
    buy a system tuner pro then config your startups and auto kill. mine is -1% / 4 hours deepsleep. min. 122Mhz - max. 1.5Ghz..