[Q] CFS or BFS for battery life? - Nexus S Q&A, Help & Troubleshooting

Is there any difference in battery life between BFS and CFS?

From the research I've done CFS seems to be better but I'm not 100% sure so I could be wrong.
Sent from my Nexus S 4G

CFS (completely fair scheduler) usually handles all tasks "equally" where as BFS (brain f*ck scheduler) dedicates all its processing power to whatever task you are currently doing. in theory, CFS should produce bettery battery life, but like the above poster said, that could be completely 100% wrong. it really depends on how you use your device and what tasks you use the most, etc....at least this is the understanding I have of the difference between CFS and BFS. i am currently running a CFS kernel build and have exceptional battery life, but then again I am a "conservative" user. as in I turn off things when not using it, don't use live wallpapers often, etc. best thing you can do is nandroid backup and test both out for a reasonable time and see which works best for you. also keep in mind every single device is different too. some handle OC better than others, so the same reasoning can be applied to other things.

Personally like BFS more
But some rom like MIUI rom prefer CFS. Haha.

window7 said:
Personally like BFS more
But some rom like MIUI rom prefer CFS. Haha.
Click to expand...
Click to collapse
Correct.
10chars

Related

Most stable Kernel?

What's the most stable Nexus S kernel? Also what's the difference between BFS and CFS? How do I know which one is better?
I believe all the kernels in the dev section are all relatively stable. It really depends on the level of overclocking that you're trying to achieve. Different users get different stability per kernel so it seems. You really have to try your luck with each kernel.
As far as bfs and cfs, they are both different type of schedulers which determine how your phone prioritizes and operates. In short, bfs (brain **** scheduler) is a newer implementation which benefits user interactivity and UI responsiveness. It causes large peaks in performance on demand. CFS (completely fair scheduler) has more stable peaks and benefits background tasking, apps which run in the background. When it boils down, it really depends on what you're aiming for and which suits your needs. However, bfs tends to be less stable than cfs due to its peak nature.
Sent from my Nexus S using XDA App

[KERNEL][28 APR]LorDMod|SMARTASS|BFSv400|CFS|SLQB|UV|1.99GHz|VOL|V DD|SQ LITE3|

http://forum.xda-developers.com/showthread.php?t=1020637
DON'T USE THE ROM, IT IS OUTDATED AND HAS BEEN DISCONTINUED!
DO NOT USE THE "PUV" (Pinky UnderVolt) VERSION, IT WILL CAUSE YOUR DEVICE TO GET STUCK AT THE SPLASHSCREEN! (POSSIBLY)
I DID NOT MAKE THIS KERNEL, I'M JUST POSTING IT HERE FOR YOU ALL.
THIS IS NOT FOR ANY OTHER ROMS BESIDES CM7 (AND CM7-BASED ROMS) AND MIUI, SO DON'T ASK!
I'm using the UUV CFS version. It is very fast and smooth, I urge you not to have an OC past 1.3GHz as a daily driver, unless you want horrible battery life.
Any option below PUV is safe (UUV, -50mV, and -25mV all work, but every device varies).
i didnt think my phone could ever sh*t itself until i flashed this kernal.
dethpikil said:
i didnt think my phone could ever sh*t itself until i flashed this kernal.
Click to expand...
Click to collapse
i logged in just to ask you to decrypt that message. what does that mean? bad kernal?
vln004 said:
i logged in just to ask you to decrypt that message. what does that mean? bad kernal?
Click to expand...
Click to collapse
lol, iffy kernal. especially with two versions available, its kinda strange testing them and seeing whats best for your phone. flashed the cfs version, and as expected, things seemed evenly smother throughout the phone, yet even at 1.99, there was nothing special or over the top about performance. also, i had a very strange, completely indescribable hiccup after booting.
EDIT
tried the bfs version, and still nothing special. maybe its just me and my miui rom. the 1.99 is cool, but i think im just gunna stay away from this.
Been running his kernels for a couple of weeks, no issues. It is nice to be able to choose from different undervolt versions. Helps battery life a little, around 5%-10% in my experience.
NikolaiT, just FYI this kernel works with Ultimate Droid, which is based on CM7. In case you want to update the OP.
henrybravo said:
NikolaiT, just FYI this kernel works with Ultimate Droid, which is based on CM7. In case you want to update the OP.
Click to expand...
Click to collapse
+1. Running 4.2 cfs -25 version on UD now. 4.0 was the best battery life ever on any cm7 based roms. Haven't tried the puv version yet, but rest assured I will try and report results..
Sent from my Desire HD using Tapatalk
dethpikil said:
lol, iffy kernal. especially with two versions available, its kinda strange testing them and seeing whats best for your phone. flashed the cfs version, and as expected, things seemed evenly smother throughout the phone, yet even at 1.99, there was nothing special or over the top about performance. also, i had a very strange, completely indescribable hiccup after booting.
EDIT
tried the bfs version, and still nothing special. maybe its just me and my miui rom. the 1.99 is cool, but i think im just gunna stay away from this.
Click to expand...
Click to collapse
Hardly "iffy", the differences are stated in the thread or here.
I've been using this kernel with CM7 Final for quite some time now and it's been quite solid.
rasroygbiv said:
+1. Running 4.2 cfs -25 version on UD now. 4.0 was the best battery life ever on any cm7 based roms. Haven't tried the puv version yet, but rest assured I will try and report results..
Sent from my Desire HD using Tapatalk
Click to expand...
Click to collapse
Careful, the PUV version softbricked my device. Easily fixable through reflashing your ROM or just a new kernel.
It may not brick yours because some devices can handle it, some can't.
helushune said:
Hardly "iffy", the differences are stated in the thread or here.
I've been using this kernel with CM7 Final for quite some time now and it's been quite solid.
Click to expand...
Click to collapse
+1. Not "iffy" at all.
I've been using it for a while now. At the moment I'm using the latest CFS -25 UV version @ 1305 with the scaling set to Intelligent Donkey (lol) and I actually made it an entire day without charging. That's saying a lot for someone that gets about 12 hours max on a charge.
Sent from my GT-I9000 using XDA App
TheBassman369 said:
I've been using it for a while now. At the moment I'm using the latest CFS -25 UV version @ 1305 with the scaling set to Intelligent Donkey (lol) and I actually made it an entire day without charging. That's saying a lot for someone that gets about 12 hours max on a charge.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
I'm currently pulling two days at 64% with the same kernel but my CPU settings are 122 min - 1075 max.
So what's everyone recommendations for the best version of this Kernel in terms of both optimum battery and performance?
Additionally... what kinds of CPU governors and max-min frequencies are you using? I've seen a few post what their using in this thread, but I'd like to get some more opinions.
I've been using this Kernel for a few weeks now with no issues. The UUV had some slight hesitation when scrolling so now I'm running 4.3 CFS with the -50 UV and it's absolutely perfect. Fantastic battery life running at 122/1305 MHz with the -50 UV.
i'm using 4.2 and I didn't flash any scripts... is the default -25UV? I'm gonna try 4.3 and -50 script later tonight.
quick question to the group: what is eating up your battery? mine, oddly enough is cell standby and phone idle. i'm using stock radio. in the past (on froyo builds), it's always been screen time.
substance12 said:
i'm using 4.2 and I didn't flash any scripts... is the default -25UV? I'm gonna try 4.3 and -50 script later tonight.
quick question to the group: what is eating up your battery? mine, oddly enough is cell standby and phone idle. i'm using stock radio. in the past (on froyo builds), it's always been screen time.
Click to expand...
Click to collapse
Default is no undervoltage.
Cell Standby and Phone Idle are my two biggest "battery killers" but that's normal operation.
henrybravo said:
+1. Not "iffy" at all.
Click to expand...
Click to collapse
maybe all of you missed the whole miui thing. it says it works great with miui, but my phone seemed very buggy after switching from cattleprods kernel, but you tested it on very different roms than me. it addition, my quadrant score were crap on both types, cfs and bfs, which is completely contrary to the description of one over the other. so yes iffy.
Can anyone explain the difference between the scheduler flavors? I use cfs, but bfq or io?
dethpikil said:
maybe all of you missed the whole miui thing. it says it works great with miui, but my phone seemed very buggy after switching from cattleprods kernel, but you tested it on very different roms than me. it addition, my quadrant score were crap on both types, cfs and bfs, which is completely contrary to the description of one over the other. so yes iffy.
Click to expand...
Click to collapse
I sure did. Pardon.
sugardaddy1979 said:
Can anyone explain the difference between the scheduler flavors? I use cfs, but bfq or io?
Click to expand...
Click to collapse
Check these two posts: Post 1, Post 2. Looks like BFQ is the standard scheduler and VIO is quicker on paper (kind of like BFS vs CFS).
Thanks for the explanation. The bfqhs seems much smoother than the io. I am running it with the uuv.

Non Overclocked kernel

I want to make sure I'm not trippin', I've searched all thru the dev forum, and I don't see a non overclocked kernel. everyone complains about battery life but they are using a kernel that wasn't geared for battery life. oc kernels are for performance and bragging rights. we need a stock kernel with uv and ram optimization along with battery optimization mods
Sent from my Desire HD using XDA App
boimarc89 said:
I want to make sure I'm not trippin', I've searched all thru the dev forum, and I don't see a non overclocked kernel. everyone complains about battery life but they are using a kernel that wasn't geared for battery life. oc kernels are for performance and bragging rights. we need a stock kernel with uv and ram optimization along with battery optimization mods
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Why not just not overclock? Also, the kernel that comes in Inspired Ace isn't overclockable.
There are many battery saving options! If you have the Leedroid kernel, in setcpu you have the option of running your proccesor at Powersave, performance,smartass and so on...this is also in a few other kernels but I am not sure which ones at the moment.
And if you are really hyped up on saving battery, shutoff haptic feedback, turn of data when you are not using it, lower screen brightness, Use a task killer to kill stray apps(if you were playing angry birds kill it afterwards).
These are a few things you can do that will increase your battery life significantly...
With an overclock capable kernel, you can underclock. I run mine at 921 MHz and don't notice any performance hit. I've tweaked the undervolt to as low as I can get away with. I get pretty awesome battery life that way.
Before you ask, I'm using a kernel I compiled myself from HTC's latest linux source for the Inspire. It's essentially stock with only the addition of the frequency table and hooks for OC/UV.
Gene Poole said:
With an overclock capable kernel, you can underclock. I run mine at 921 MHz and don't notice any performance hit. I've tweaked the undervolt to as low as I can get away with. I get pretty awesome battery life that way.
Before you ask, I'm using a kernel I compiled myself from HTC's latest linux source for the Inspire. It's essentially stock with only the addition of the frequency table and hooks for OC/UV.
Click to expand...
Click to collapse
This.
Simply underclocking will solve your problems. I prefer to run @1.4 Ghz. I have everything optimized for speed & efficiency and still don't lose in battery performance.
Running CM7 with LordMod UE 2.6 kernel and smartass CPU governor, I can set the max speed to 768mhz with very little performance hit noticed. I might just keep it that way, haven't decided yet. Scrolling is still smooth, Angry Birds is still smooth. The cool thing about running max 768mhz with the pinky undervolt script is the CPU voltage never goes above 900mv.
I'm running CM7 with nightly 91 and on my Vibrant, they made a kernel that was stock uv no oc and u could use it all day, literally....
Sent from my Desire HD using XDA App

Stock Nexus 4G Kernel with BLN support

As the title states, I'm looking for just a stock kernel with BLN support. My phone seems to dislike the modded kernels like netarchy and matr1x. I've tried the cfs and bfs variants and my battery life plummets. I've tried netarchy kernel without using the bln and still getting the same battery life.
Stock kernel on stock 2.3.4 my phone has 30+ hours of battery life and running a modded kernel battery life drops to 12-15 hours. Still a decent amount of life compared to my old evo. I've played with compiling my own kernel but can't seem to find any threads or how-to's on putting bln support into a kernel.
sedracer said:
As the title states, I'm looking for just a stock kernel with BLN support. My phone seems to dislike the modded kernels like netarchy and matr1x. I've tried the cfs and bfs variants and my battery life plummets. I've tried netarchy kernel without using the bln and still getting the same battery life.
Stock kernel on stock 2.3.4 my phone has 30+ hours of battery life and running a modded kernel battery life drops to 12-15 hours. Still a decent amount of life compared to my old evo. I've played with compiling my own kernel but can't seem to find any threads or how-to's on putting bln support into a kernel.
Click to expand...
Click to collapse
Unfortunately, the 'Stock' kernel just doesn't support the added hooks which Netarchy and its peers have added into their core.
With regards to your experience - have you been flashing modded roms, or strictly kernels? I agree that I can't claim 30+ hours on any of the mods, but I didn't experience that with the stock either (maybe 20-25 hours of low usage).
Flashing Netarchy 1.3.7 (or higher, CFS), along with undervolting (via Proton), 2G communication only, and maybe using the 'Conservative' governor may help you with batterylife.
Cheers, and Good Luck!
I was flashing kernels on the stock rom. I honestly like the bare google experience, just wish this damn phone had a notification light lol.
Oddly enough i've figured out that chompsms for some reason is a resources hog on modded kernels and roms. I removed chomp and google maps before flashing netarchy and battery life increased to 22-25hours which is livable for better notifications.
What's wrong with the kernels? You can adjust the voltages for optimal conditions in proton and that should be good....
I got Jame Bond last week http://forum.xda-developers.com/showthread.php?t=949292 and it runs great. My batteries at 30 percent right now after 25 hours and bln's working fine. Definately recommend it.
mathkid95 said:
What's wrong with the kernels? You can adjust the voltages for optimal conditions in proton and that should be good....
Click to expand...
Click to collapse
honestly its have to adjust anything. i've been through multiple android devices from the g1 to the evo and 4-5 in between and i've loved tweaking every little thing. the nexus runs so well stock that fiddling with every little setting and mod just doesn't seem worth it to me.
I'm not trying to talk up my product, but have you tried the Matr1x kernel?
mathkid95 said:
I'm not trying to talk up my product, but have you tried the Matr1x kernel?
Click to expand...
Click to collapse
He won't talk up his product, but I will
I feel exactly the same as you do, sedracer. The phone is very good stock, and I see no reason to use anything other than the stock kernel.
Regardless, I gave matr1x kernel a try and I love it. It is exactly what I was looking for. I can OC if I want to, and it has BLN. No FCs, no random reboots, no freezing. As far as I'm concerned, it's stock with OC and BLN enabled. Battery life is about the same as stock, although I haven't used it for more than a week or so.
Oh cool, you are talking about v5.0, right?
mathkid95 said:
Oh cool, you are talking about v5.0, right?
Click to expand...
Click to collapse
Actually, no. When I first downloaded it, it was version 4.5. Only had it over clocked to 1.2 though, so stability wasn't a problem. I'm going to D/L the newest kernel right now.

[Q] Whate are the difference between..

What are the difference between matrix kernel bfs and matrix kernel cfs ?? Bfs and Cfs what is better and why?
Bfs seems to work with UI speed better. Meaning what you see directly on the screen will seem faster however when there alot of tasks the rom will lag alot as background tasks are not really concentrated on.
CFS is a completely fair scheduler and every process is treated equally. Everything will seem to be faster and even with lots of multitasking everything will remain smooth.
Its a choice. You choose.
I mighr\t be wrong, so everyone else correct me if i'm wrong
BFS works better when you are using mainly a single app like a game or the browser but CFS works better for most people as it is multitasking. Also BFS can be unstable at times.
Sent from my Nexus S using xda premium
BFS is for gamers. CFS is a more practical use. CFS saves battery, is more stable, and can run more than major apps without lag and choppyness.
Nexus S (GSM i9020a)
AOKP (Build 25)
Eugene's Kernel (Speedy 7)
OC 800/100 (Lionheart)
Live OC (105)
hi,
you will find the answer to your question in this post
http://forum.xda-developers.com/showpost.php?p=22134559&postcount=4
here is the entire thread if you want to read more about governors, etc.
http://forum.xda-developers.com/showthread.php?t=1369817
hope that helps

Categories

Resources