Difference between CFS & BFS - Droid Incredible Q&A, Help & Troubleshooting

What is the difference between the two in a kernel?
Sent from my ADR6300 using XDA App

the c & b?

BFS = Brain **** Scheduler
CFS = Completely Fair Scheduler
There are some real big differences between the two, but I don't completely know what all of it means, but read up on it
Source and Read more: http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler

I'm not going to answer this in depth, since you'll be reading either way. I've noticed, for me at least BFS lags the phone under high use, and CFS is generally thought to be better for phones, while the opposite is true for computers.
http://www.cs.unm.edu/~eschulte/data/bfs-v-cfs_groves-knockel-schulte.pdf
Sent from my ADR6300 using Tapatalk

Related

Kernels

There's a lot of kernels emphazing in battery conservation, my question is, are their any kernels where the performance is the objective, like speed and smoothness?
Sent from my PC36100 using XDA App
LoveisPeace2012 said:
There's a lot of kernels emphazing in battery conservation, my question is, are their any kernels where the performance is the objective, like speed and smoothness?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
For sense roms try out netarchys/toast kernel bfs with out havs, for aosp you could try snap turbo its super fast on cm6.
Sent from my PC36100 using Tapatalk
Edit; I forgot to add make sure if you have the new 0004 hardware like I do make sure the kernel supports the camera driver or it won't work.
LoveisPeace2012 said:
There's a lot of kernels emphazing in battery conservation, my question is, are their any kernels where the performance is the objective, like speed and smoothness?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
They are all built for what you ask for. The battery thing your seeing a lot of is just an add benefit for the already built kernels. I use Netarchy's 4.2 kernels as they seem to be best for speed and battery.
dirkyd3rk said:
For sense roms try out netarchys/toast kernel bfs with out havs, for aosp you could try snap turbo its super fast on cm6.
Sent from my PC36100 using Tapatalk
Edit; I forgot to add make sure if you have the new 0004 hardware like I do make sure the kernel supports the camera driver or it won't work.
Click to expand...
Click to collapse
Yes I actually do have the new 0004 evolution, does this mean the camera wont work?
Sent from my PC36100 using XDA App
LoveisPeace2012 said:
Yes I actually do have the new 0004 evolution, does this mean the camera wont work?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
You can use Netarchy's beta 4.3 and your camera will be fine. You can get the stock HTC kernel #15 with that SBC battery bit. Your choice. I think you would like Net's 4.3 IMO.
chogardjr said:
You can use Netarchy's beta 4.3 and your camera will be fine. You can get the stock HTC kernel #15 with that SBC battery bit. Your choice. I think you would like Net's 4.3 IMO.
Click to expand...
Click to collapse
I went to the netarchy thread but there's like ten different 4.3 versions (SBC, no SBC bfs, SBC cfs) what would be the smoothest?
Sent from my PC36100 using XDA App
I'm 0004 also my phone happen to like his cfs kernels I'm using the less havs with sbc must say battery life is getting better. The first few days are horrible with battery life but it adjust to your usage.
LoveisPeace2012 said:
I went to the netarchy thread but there's like ten different 4.3 versions (SBC, no SBC bfs, SBC cfs) what would be the smoothest?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Swyped From Eva Running Myn's RLS4.95 or My Rom!
I suggest to start out with Net's netarchytoastmod-4.3-cfs-nohavs-noUV-nosbc-universal (No Undervolting).
This is always the best way to start off. No undervolting, no havs, and CFS usually plays nicer than BFS with most evos.
Use for a few days, and then try the less aggressive UV kernel to see the comparison to nohavs.
Then use that a few days and try the aggressive UV kernel to see how your device likes it.
Then ... you get the idea!
Only way to find what works best for your device is trial and error.
Have fun!
ps. I am still using the CFS-noUV-noHAVS-noSBC with great results. No need for me to undervolt.
yeah its all trial and error... what will work for your evo might not work for mine and so on.
Check out my guide, it may help you out.
http://forum.xda-developers.com/showthread.php?t=894880

Can Undervolted Kernels hurt your phone?

Can undervolted kernels silently corrupt all the data on your phone? Is there a way to run stability tests to make sure your CPU can run with the lower voltage?
I'm running Lou's #8 and just want to make sure it's not damaging my phone
Lou's kernels aren't undervolted.
Sent from my Incredible using XDA App
Skrillex1 said:
Lou's kernels aren't undervolted.
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
Oh, well then I guess I don't understand what his kernels do if they aren't undervolted or overclocked, what is it helping???
In terms of speed...they're stock...you can check his kernel thread for what each supports and doesn't support and a more detailed description of what they do. They do give decent battery life though which equals ++++++
Sent from my Incredible using XDA App
Undervolting won't harm the phone physically, but it can make the phone more unstable, which could lead to data loss/corruption. Especially if you try to tax it too hard. If you notice your phone starting to hang up or restart a bit excessive could mean the undervolting was a little too extreme.
As stated in post 5, no not physically. Most undervolted kernels are based on clock speed, so it's more like scaling the voltage. The idea is, "Why feed it more than it needs? It's just a waste". On that note, I have never seen an issue with it on any kernel I have ever tried. Hope that helps!

(Q) CM7 Battery Kernel. Which one?

Hey guys, I'm just wondering which kernel gets better battery life in CM7. I wanna try SavagedZen but I'm hesitant about the SBC. I know there are non-SBC versions though. How do those stack up?
Also, I'm using the new Destroyer ROM by Magnus, is his stock kernel any good?
Sent from my PC36100 using XDA App
Well i think his kernel is the stock CM kernel, I personally use the Tiamat kernel and get nice battery life.
Thanks I've heard a lot of good things about SavagesZen, so I may try that. I'm still not sure if they were referring to the SBC version or not.
Sent from my PC36100 using XDA App
I use savagedzen cfs sbc. I love it. My phone does not agree with bfs kernels.
I get good performance and battery life
swyped from my cyanogenized and gingerbreaded EVO
gmap516 said:
Thanks I've heard a lot of good things about SavagesZen, so I may try that. I'm still not sure if they were referring to the SBC version or not.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Most likely the sbc version cuz that's all they talk about now. Though when I used the kernel I had great battery life on the non-sbc with cfs and bfs versions.
What are bfs and cfs and what's the difference between the two?
I would try the SBC kernel but I'm using a third-party insurance plan, not sprint's thing, so I'm afraid to ruin the phone using SBC kernels.
Sent from my PC36100 using XDA App
Update: OK, so I'm using savagedzen non-SBC CFS and so far my battery life seems great. does battery life vary greatly from one ROM to another if they're using the same kernel?
Sent from my PC36100 using XDA App
well atm i am running an evo 4g with cm7 and i just switched my kernel to savaged zen and it's running great. my phone was rebooting on its own w/ the regular cm7 kernel i think its b/c i was using setcpu and people are saying it messes up cm7.
i was also wondering if anyone knew if i can use setcpu with cm7 and savaged as the kernel or if it's possible to make profiles on the cpu settings on cm7 i saw some1 post somewhere that you can but they never explained how.
Congrats on joining the kernel-flashing world, hope it treats you well.
I run CM7, and have found that SavagedZen tends to be faster than Tiamats... it just depends on your personal opinion, experiment as much as you want (just don't flash a Sense kernel on an AOSP ROM )
If you're using SavagedZen-1.0.1 CFS HAVS noSBC (the most recent SavagedZen kernel) then you don't need to use SetCPU, the HAVS (hybrid adaptive voltage scaling) and SetCPU would work against each other. HAVS works to tone down your CPU as needed and such.
To change your governor (the thing that manages your CPU), go to Settings - CyanogenMod settings - Performance - CPU settings.
Oh, and CFS stands for "Completely Fair Scheduler". It means that it doesn't let one program use up the a huge chunk of the CPU. It is good for an overall system and is supposed to have better battery life. BFS stands for "Brain F*** Scheduler. It gives the priority to foreground tasks. Think about gaming and whatever demanding programs you may use.
I use both, but the most commonly downloaded one is CFS (at least for SavagedZen)
Here's a link to explain kernels, this guy does a great job of explaining: http://forum.xda-developers.com/showthread.php?t=894880
twiz0r said:
I use savagedzen cfs sbc. I love it. My phone does not agree with bfs kernels.
I get good performance and battery life
swyped from my cyanogenized and gingerbreaded EVO
Click to expand...
Click to collapse
SavagedZen, hands down. No competition. My phone hates BFS kernels too....
so right now im running the savage zen bfs kernel. if i want to switch to the cfs kernel do i have to do a full wipe or just a cache and dalvik?
gilbydakid said:
so right now im running the savage zen bfs kernel. if i want to switch to the cfs kernel do i have to do a full wipe or just a cache and dalvik?
Click to expand...
Click to collapse
I would recommend the Tiamat kernel personally.
Also, just make a backup, and just wipe the cache and dalvik, then flash.
teh roxxorz said:
I would recommend the Tiamat kernel personally.
Also, just make a backup, and just wipe the cache and dalvik, then flash.
Click to expand...
Click to collapse
thanx for the info.
ill give the bfs and the tiamat kernel a shot. i feel like im turning into a flash whore. lol
gilbydakid said:
thanx for the info.
ill give the bfs and the tiamat kernel a shot. i feel like im turning into a flash whore. lol
Click to expand...
Click to collapse
Lol naw, you're just experimenting. Trying not to get bored right now cuz I don't have my evo >>.
I've mainly used Tiamat. Running the current version right now...3.3.3 no SBC. It seems responsive and I'm getting pretty good battery life. I will have to try SavagedZen sooner or later to see how it stacks up.
BFS kernels theoretically are supposed to give you better battery life, I used the cfs sbc savage zen and it was pretty good for speed; the bfs sbc savage zen gave me the better battery life. The only thing I can say I definitely noticed about bfs/cfs is that scrolling on bfs seems to be VERY choppy compared to cfs. No matter what profile you use on bfs the scrolling was still super choppy. So to confirm this I got back on cfs and scrolling overall was smooth as butter in cfs. Just to put this out there, I recently switched to the tiamat kernel and I'm seeing about a 15% battery increase (sounds like a little but that's a big deal) lol.
Sent from my PC36100 using XDA Premium App
So I did as suggested...
Backup
Clear cache/data
Flash Savage
But I was under the assumption that it'd only change the kernel, not the rom? So when it booted it was a stock/default flash. I restored to my backedup rom. Did I just negate the kernel flash?
solidwater said:
So I did as suggested...
Backup
Clear cache/data
Flash Savage
But I was under the assumption that it'd only change the kernel, not the rom? So when it booted it was a stock/default flash. I restored to my backedup rom. Did I just negate the kernel flash?
Click to expand...
Click to collapse
Lol yes you did.
twiz0r said:
I use savagedzen cfs sbc. I love it. My phone does not agree with bfs kernels.
I get good performance and battery life
swyped from my cyanogenized and gingerbreaded EVO
Click to expand...
Click to collapse
How did you get Swype to work?
LeonDuhaney said:
How did you get Swype to work?
Click to expand...
Click to collapse
Swype works fine if you have beta access from the actual site. Most of the APK files of swype flying around have expired because they released another beta version not too long ago. I believe 2.29 is the latest. I could be wrong about the number.
Sent from my EVO ;-) XDA Premium App

I/O scheduler suggestions

So I have been delving into Rom toolbox, awesome app by the way,and I found an option under kernel tweaks to change the I/O scheduler, I have heard of these before in kernel descriptions,but I don't know what each one is,can anyone tell me which one is best or fastest, I know this is probably opinion but I just want people's two cents, thanks.
Sent from my ADR6350 using XDA App
I use simple, just because the way android works that one is the best for battery.
Sent from my mobile typewriter with tapatalk
If you can use sio that would be the one I would use.
Sent from my Sabotaged Droid Incredible 2.
Thanks guys, I did go with sio though it was hard to decide between it and noop
Sent from my ADR6350 using XDA App
Sio is much better than book in most cases. You won't score better on a quadrant with that scheduler though. That is irrelevant though because it does process better. A good way to find out which is best for your device and rom is to run zeppelinrocks kick ass kernelizer. It will suggest which scheduler is best for your device.
Sent from my Sabotaged Droid Incredible 2.

CPU governors.

Alright this will be short and to the point.
can you add governors to a ROM?
i prefer using "Scary" but most ROMs ive flashed only have a couple govenors, and non are the one i wish to use.
Question is. how can i add the "Scary" governor to my ROM.
i literally know nothing more about governors other than what each one does.
so if you can elaborate a bit.
No. The kernel has the govener. Find out which kernel has that, and flash it to your Rom. Make sure if your Rom is sense, only use sense kernels. Same for aosp
Sent from my PC36100 using xda app-developers app
Scary governor is WIP. It will give almost the same performance as conservative right now.
So if you prefer that governor, just select conservative. You won't notice the difference.

Categories

Resources