[Benchmark][osprey] Testing custom kernels - performance & battery life - Moto G 2015 General

As a CM13 osprey user I found myself a little confused about the usefulness of custom kernels compared to the kernel bundled with cyanogenmod releases. There are many custom kernels available for the osprey, compatible with CM13. They mainly boast better performance & battery life and usually a lot of other features.
The purpose of this test is to measure the performance benefits and battery life benefits of the most popular custom kernels, if any. I want to find out if I should bother to use them myself, since the bundled kernel comes with the natural advantages of an easier install, better testing by the cyanogenmod devs and is updated, or has the potential to be updated, in line with the nightly releases. Perhaps some others will find the results interesting.
Setup
I'm testing on my 1 year old well used osprey running cyanogenmod 13.0-20160901-NIGHTLY-osprey.
All tests are single runs unless stated otherwise, phone in airplane mode. No special configuration is done to any kernel, so we're looking at their default settings.
Kernels
CM Bundled kernel
Squid r17
AGNi pureMOTO 3.2
FireKernel 5.6
Optimus R14
Shield r4
Explosion Reborn R24
Features
Custom kernels invariably come with many new features, sometimes a dizzying amount of stated improvements. I've highlighted some of the interesting differences that could affect performance, and a count of the bullet point features the kernels advertise.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Only Squid & Explosion (based on Squid) deviate from the linux base version of 3.10.49. All custom kernels except Squid & Shield provide higher max CPU clock states. AGNi pureMOTO, Explosion and FireKernel provide a higher GPU max clock.
FireKernel boasts an impressive 91 feature worth bullet pointing, while AGNi pureMOTO doesn't feel the need to advertise any feature or even a mission objective. Well I'm assuming better performance, battery life and stability is at least a concern of all kernels.
Tests
PCMark emulates real phone usage, and is the performance test I'm most interested in to indicate general performance.
AGNi pureMOTO, FireKernel and Shield perform noticably worse than the bundled kernel. The other kernels are roughly in-line or a little lower than the bundled kernel, with only Explosion providing a hint of better performance.
It seems the kernels are providing higher max CPU clocks don't appear to be using them by default.
I didn't expect much difference in internel nand performance, but wanted to check for regressions. No kernels provide real storage i/o performance benefit. AGNi pureMOTO and Optimus have small performance regressions on sequential writes.
With 2D graphics mostly covered by PCMark, I'm simply checking 3D performance with a test provided by PassMark. Running at around 20fps on the bundled kernel, it seemed a good performance to spot any differences.
I was surprised to see poor performance from AGNi pureMOTO, FireKernel & Explosion. The other kernels are in-line with the bundled kernel. Kernel GPU clock differences seem to have no effect, certainly no good one.
To isolate processing performance I used a blend of multicore tests provided by Vellamo. All custom kernels performed worse than the bundled kernel, although Squid, Optimus and Explosion are very close. It's a disappointing showing from AGNi pureMOTO, FireKernel and Shield. As before higher CPU clock states do not seem to be used.
Looking at the figures I can't help but conclude that no custom kernel provides a worthwhile performance improvement over the bundled cyanogenmod kernel at their default settings. While this is somewhat disappointing, performance stats have little meaning without looking at battery life. This brings me to the most important and time consuming test, do custom kernels improve battery life?
Update: Battery tests completed 6-Sep-2016
Finally, after many hours of testing I have the battery test results. I used PCMark's battery test which runs the work usage test continuously until the battery reaches 20%. The test includes lots of emulated real world usage & lots of idle time. It also provides a geometric mean score for the entire run.
From the results we can see all kernels performing roughly similarly, but no custom kernel convincingly surpasses the bundled kernel for performance and battery life. Only Squid actually ends up with better average performance over the run, and at a small battery life cost.
Interestingly on viewing the CPU clock stats I saw the bundled, Squid, Optimus & Shield clocked between 800-1363MHz, whilst AGNi pureMOTO, FireKernel & Explosion clocked between 400-1363Mhz, and made more use of intermediate clock states. However, the lower clocks just haven't translated into battery life increases.
Concluding thoughts
All the kernels have performed decently, and without any stability issues during my testing. But it's the CyanogenMod bundled kernel that has surprised me by being front runner in speed & battery life.
For those of you enjoying unique features offered by custom kernels, you can take heart that the custom kernels aren't that much worse. But for me, considering the natural advantages of using the CyanogenMod's kernel, I'll be switching back to the bundled.

nice research its weird that firekernel isn't #1

HelpMeruth said:
nice research its weird that firekernel isn't #1
Click to expand...
Click to collapse
no its not weird
Great work @alexheretic

alexheretic said:
Kernel GPU clock differences seem to have no effect, certainly no good one.
Click to expand...
Click to collapse
So this really does mean that going from 465 MHz to 720 MHz makes 0 difference, when it should considering it's supposed to be delivering a 50% performance boost.

sticktornado said:
So this really does mean that going from 465 MHz to 720 MHz makes 0 difference, when it should considering it's supposed to be delivering a 50% performance boost.
Click to expand...
Click to collapse
That is the case for me yes. The higher clocks are stated as features, and max gpu clock is observable as a setting using Kernel Adiutor. However, looking at the results I'd guess the gpu & cpu just aren't actually being clocked to max.

great work.. waiting for battery life...i think some other roms gives good battery life other than cm13

alexheretic said:
That is the case for me yes. The higher clocks are stated as features, and max gpu clock is observable as a setting using Kernel Adiutor. However, looking at the results I'd guess the gpu & cpu just aren't actually being clocked to max.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2765469
https://www.reddit.com/r/Android/comments/26tqck/overclocking_possibly_dead_for_currentpast_gen/
It might be just a placebo

I think best kernel was Chriszuma Kernel. It was the first OC kernel. I also had make some test in antutu benchmark app.
Cm 13 kernel 28000 score
Firekernel 31000 score
Chriszuma Kernel 35000 score
@alexheretic can you also try Chriszuna kernel please (forum.xda-developers.com/2015-moto-g/orig-development/osprey-chriszuma-kernel-v4-t3400303)
Sorry for bad english

Nikos dima said:
@alexheretic can you also try Chriszuna kernel please (forum.xda-developers.com/2015-moto-g/orig-development/osprey-chriszuma-kernel-v4-t3400303)
Click to expand...
Click to collapse
I'm going to test the battery life performance of these kernels over the next few days, after that I can take a look at more kernels.

Nikos dima said:
I think best kernel was Chriszuma Kernel. It was the first OC kernel. I also had make some test in antutu benchmark app.
Cm 13 kernel 28000 score
Firekernel 31000 score
Chriszuma Kernel 35000 score
@alexheretic can you also try Chriszuna kernel please (forum.xda-developers.com/2015-moto-g/orig-development/osprey-chriszuma-kernel-v4-t3400303)
Sorry for bad english
Click to expand...
Click to collapse
you had 31000 with firekernel ? that's strange i tested yesterday an got 34897

pmjferreira said:
you had 31000 with firekernel ? that's strange i tested yesterday an got 34897
Click to expand...
Click to collapse
Maybe the new version of firekernel 5.6 is beter.

Very interesting. Overall it seems stock cm kernel is a better choice. Would be interesting to see how stock Moto stacks against stock cm on these tests.

I'm onto the 3rd kernel battery test. The good news is PCMark provides a nice geometic mean performance score of the entire run, so I should end up with pretty good figures for performance vs battery life.

so whats the best kernel right now

alexheretic said:
As a CM13 osprey user I found myself a little confused about the usefulness of custom kernels compared to the kernel bundled with cyanogenmod releases. There are many custom kernels available for the osprey, compatible with CM13. They mainly boast better performance & battery life and usually a lot of other features.
The purpose of this test is to measure the performance benefits and battery life benefits of the most popular custom kernels, if any. I want to find out if I should bother to use them myself, since the bundled kernel comes with the natural advantages of an easier install, better testing by the cyanogenmod devs and is updated, or has the potential to be updated, in line with the nightly releases. Perhaps some others will find the results interesting.
Setup
I'm testing on my 1 year old well used osprey running cyanogenmod 13.0-20160901-NIGHTLY-osprey.
All tests are single runs unless stated otherwise, phone in airplane mode. No special configuration is done to any kernel, so we're looking at their default settings.
Kernels
CM Bundled kernel
Squid r17
AGNi pureMOTO 3.2
FireKernel 5.6
Optimus R14
Shield r4
Explosion Reborn R24
Features
Custom kernels invariably come with many new features, sometimes a dizzying amount of stated improvements. I've highlighted some of the interesting differences that could affect performance, and a count of the bullet point features the kernels advertise.
Only Squid & Explosion (based on Squid) deviate from the linux base version of 3.10.49. All custom kernels except Squid & Shield provide higher max CPU clock states. AGNi pureMOTO, Explosion and FireKernel provide a higher GPU max clock.
FireKernel boasts an impressive 91 feature worth bullet pointing, while AGNi pureMOTO doesn't feel the need to advertise any feature or even a mission objective. Well I'm assuming better performance, battery life and stability is at least a concern of all kernels.
Tests
PCMark emulates real phone usage, and is the performance test I'm most interested in to indicate general performance.
AGNi pureMOTO, FireKernel and Shield perform noticably worse than the bundled kernel. The other kernels are roughly in-line or a little lower than the bundled kernel, with only Explosion providing a hint of better performance.
It seems the kernels are providing higher max CPU clocks don't appear to be using them by default.
I didn't expect much difference in internel nand performance, but wanted to check for regressions. No kernels provide real storage i/o performance benefit. AGNi pureMOTO and Optimus have small performance regressions on sequential writes.
With 2D graphics mostly covered by PCMark, I'm simply checking 3D performance with a test provided by PassMark. Running at around 20fps on the bundled kernel, it seemed a good performance to spot any differences.
I was surprised to see poor performance from AGNi pureMOTO, FireKernel & Explosion. The other kernels are in-line with the bundled kernel. Kernel GPU clock differences seem to have no effect, certainly no good one.
To isolate processing performance I used a blend of multicore tests provided by Vellamo. All custom kernels performed worse than the bundled kernel, although Squid, Optimus and Explosion are very close. It's a disappointing showing from AGNi pureMOTO, FireKernel and Shield. As before higher CPU clock states do not seem to be used.
Looking at the figures I can't help but conclude that no custom kernel provides a worthwhile performance improvement over the bundled cyanogenmod kernel at their default settings. While this is somewhat disappointing, performance stats have little meaning without looking at battery life. This brings me to the most important and time consuming test, do custom kernels improve battery life?
Battery Life - In Progress: 4/7 kernels tested
I'm currently testing battery life using PCMark, since these test take hours and I have 7 kernels to test and 1 phone, this could take some time...
While we're waiting for the battery tests, please let me know if I'm missing out any important tests.
Performance tests conducted: 3-Sep-2016
Click to expand...
Click to collapse
it really matters how the kernel is set up.
i have conducted similar tests, (but more real world tests) and have concluded differently.

Acidfire.TM said:
it really matters how the kernel is set up.
i have conducted similar tests, (but more real world tests) and have concluded differently.
Click to expand...
Click to collapse
Great reply, no not just great, stunningly epic reply mate backed with nothing. Nice, you totally dismissed all evidence here, great job.

here the backing on my statement.
it's just some simple benchmark etiquette
don't benchmark kernels using their max oc frequency as not everyones device Will be able to perform well on the specific custom kernels defaults
(due to minor cpu/gpu quality inconsistency)
also custom kernels usually have different io,
cpu, hotplugging and zram settings and parameters set by default.
it's better practice to set the cpu and gpu to the same frequency and governor, Same Io scheduler
and readahead etc. same zram settings.
then test these settings across the kernels to see which kernel has more efficient system management+ Performance
otherwise it's just a case of which kernel has the best default parameters and settings.

Hey Guys I Have A Big Issue With Custom Kernels Every Time I Flash Any Custom Kernel My Phone Gets So Laggy

youssef0789 said:
Hey Guys I Have A Big Issue With Custom Kernels Every Time I Flash Any Custom Kernel My Phone Gets So Laggy
Click to expand...
Click to collapse
can you be more specific
: technique used for flashing (clean flash? etc)
: your kernel adiutor settings
: any extras you have installed (eg. xposed)
and then what do you mean exactly by laggy, what s the situation in which this happens

it will be great if u add the best rom too. like performance and battery life withits stock kernal

Related

Best Kernel out there?

which kernel out there is the best right now? in battery life and speed
theres only one that fits best battery and fastest.. trinity kernel.
I like Trinity but Motley also did very well for me.
Sent from my Nexus 7 using Tapatalk 2
simms22 said:
theres only that fits best battery and fastest.. trinity kernel.
Click to expand...
Click to collapse
This^ look at it this way. The nexus allready has great performance, it will handle any game you throw at it. (Unless not optimized for tegra 3) so wht else do you need? A kernel that gives amazing battery life. And what kernel is that..... \l/ TRINITY \l/
Sent from my Nexus 7 using xda premium
TRINITY without a doubt!!! Fast as hell and almost unbelievable battery life!
Sent from my Trinity powered Nexus 7 using Xparent Blue Tapatalk 2
Trinity IMHO....
Sent from my Nexus 7 using xda premium
battery right now..
speed..
Ill say motley. I tried trinity kernel. Its good. But I getbetter performance,stability, and battery life with motley. All these battery screen shots really mean nothing. Why? Because none show real heavy use. I can easily get the same stats or better with light to moderate use. Show me some stats showing 8-10+ hrs of screen on time. With some heavy app or game usge. Anyone can use device for a few hours. Then leave it in deep sleep and show the same or better stats.
I've tried all the kernels out so far. They are all good. Its a matter of personal preference of features you want. Some pack things others don't. MOTLEY 'S ATM is the only linaro based kernel. So its using new additions/components. Better optimized. Benchmarks are cool but its real world performance that matters most.
I'm running stock rom with motley latest linaro based kernel with Zram, then CPU overclock @ 1.624ghz and gpu overclock @ 520mhz. I'm also undervolted -75mV across the board. So my temps stay low. Which equates to my device running at a higher performance speed longer.
The best thing about stock rom is I can measly flash different kernels and not have to worry about flashing a rom and setting my apps n all THST all over again. I can flash a kernel with no wipes and be good. Plus stock rom is the most stable ATM. Can't lie though, I am anxious to flash some roms. THST paranoid Android one looks really good. Along with the pure linaro based rom. That's the great thing about choices.
Its not a matter of who has the best kernel. Its more about what you looking for in features and personalizing your device to cater to our needs.
Asking who has the best kernel is like asking who is the best developer on xda. I don't think that's fair to the developers as they ALL work hard on roms or kernels. Forget the popularity contests.
THEY ALL THE BEST lol. Some are just more seasoned than others. Which is OK. I love the fact we have variety of things to choose from. I've been impressed with trinity kernel, based on scores I've been seeing. But I'm also impressed with faux kernel and its a more straight forward one with lots of new Linux commits and additions. All the kernels have a personality of their own. I love the fact that twrp makes it very easy n simple to try out any kernel I want for nexus7. No matter who makes it. Every developer has its followers. You also have people who like to try out different setups.
Choice is a good thing! That's what I love about Android.
I've got to say for me trinity is the best kernel for the Nexus 7, updated daily and great communication with the dev makes this an awesome kernel. The trinity toolbox app is the icing on the cake.
demandarin said:
Ill say motley. I tried trinity kernel. Its good. But I getbetter performance,stability, and battery life with motley. All these battery screen shots really mean nothing. Why? Because none show real heavy use. I can easily get the same stats or better with light to moderate use. Show me some stats showing 8-10+ hrs of screen on time. With some heavy app or game usge. Anyone can use device for a few hours. Then leave it in deep sleep and show the same or better stats.
I've tried all the kernels out so far. They are all good. Its a matter of personal preference of features you want. Some pack things others don't. MOTLEY 'S ATM is the only linaro based kernel. So its using new additions/components. Better optimized. Benchmarks are cool but its real world performance that matters most.
I'm running stock rom with motley latest linaro based kernel with Zram, then CPU overclock @ 1.624ghz and gpu overclock @ 520mhz. I'm also undervolted -75mV across the board. So my temps stay low. Which equates to my device running at a higher performance speed longer.
The best thing about stock rom is I can measly flash different kernels and not have to worry about flashing a rom and setting my apps n all THST all over again. I can flash a kernel with no wipes and be good. Plus stock rom is the most stable ATM. Can't lie though, I am anxious to flash some roms. THST paranoid Android one looks really good. Along with the pure linaro based rom. That's the great thing about choices.
Its not a matter of who has the best kernel. Its more about what you looking for in features and personalizing your device to cater to our needs.
Asking who has the best kernel is like asking who is the best developer on xda. I don't think that's fair to the developers as they ALL work hard on roms or kernels. Forget the popularity contests.
THEY ALL THE BEST lol. Some are just more seasoned than others. Which is OK. I love the fact we have variety of things to choose from. I've been impressed with trinity kernel, based on scores I've been seeing. But I'm also impressed with faux kernel and its a more straight forward one with lots of new Linux commits and additions. All the kernels have a personality of their own. I love the fact that twrp makes it very easy n simple to try out any kernel I want for nexus7. No matter who makes it. Every developer has its followers. You also have people who like to try out different setups.
Choice is a good thing! That's what I love about Android.
Click to expand...
Click to collapse
1. trinity kernel has been using linaro since april of 2011, on the nexus s, the gnex, and now the nexus 7.
2. zram is a placibo. theres nothing there
3. stock rom is good, but i prefer a pure aosp build. no, they are not the same.
4. and the last two paragraphs are the absolute truth.
5. really, you should try them all, let your device tell you which kernel it likes the best
simms22 said:
1. trinity kernel has been using linaro since april of 2011, on the nexus s, the gnex, and now the nexus 7.
2. zram is a placibo. theres nothing there
3. stock rom is good, but i prefer a pure aosp build. no, they are not the same.
4. and the last two paragraphs are the absolute truth.
5. really, you should try them all, let your device tell you which kernel it likes the best
Click to expand...
Click to collapse
Thing with zram is, its not for getting higher benchmark scores or immediate performance. Its more so for heavy multitasking. Is been proven to help. The placebo is on people who think its supposed to provide some immediate result. If someone is a heavy multitasker on their device, then zram would benefit them. If you not much of a multitasker, then zram will show no Bendix for you.
You are right though, about trying out different kernels and such. Pure aosp rom sounds good. I just hate having to reset up my apps n stuff. I know titanium good for that but me personally, I'm waiting for roms to mature more and have most things, of not everything working. All roms so far seem to have something not working yet. Which is fine. Nature of the beast.
I think I might give trinity kernel another try. I did buy the tkt app. But never used it in conjunction with the kernel. I bought it just for the automatic script it runs..lol plus to show support. I heard tkt app works best with trinity kernel plus allows you to tweak features only in trinity kernel.
Ill download the latest build Trinity has and see what's up. Performance and better battery life is always a good thing. Its gpu is overclocked to 520mhz also?
Trinity HANDS DOWN its been 3 hours on sleep and ITS still at 100%! + the ridiculous speed along with the power saving features. I may be new to the Nexus 7 scene but this is hands down to godly .
demandarin said:
Thing with zram is, its not for getting higher benchmark scores or immediate performance. Its more so for heavy multitasking. Is been proven to help. The placebo is on people who think its supposed to provide some immediate result. If someone is a heavy multitasker on their device, then zram would benefit them. If you not much of a multitasker, then zram will show no Bendix for you.
You are right though, about trying out different kernels and such. Pure aosp rom sounds good. I just hate having to reset up my apps n stuff. I know titanium good for that but me personally, I'm waiting for roms to mature more and have most things, of not everything working. All roms so far seem to have something not working yet. Which is fine. Nature of the beast.
I think I might give trinity kernel another try. I did buy the tkt app. But never used it in conjunction with the kernel. I bought it just for the automatic script it runs..lol plus to show support. I heard tkt app works best with trinity kernel plus allows you to tweak features only in trinity kernel.
Ill download the latest build Trinity has and see what's up. Performance and better battery life is always a good thing. Its gpu is overclocked to 520mhz also?
Click to expand...
Click to collapse
im not sure if gpus oc...but when u underclock..theres absolutely no performance difference..and saves battery too! 102mhz-1100mhz on demand/deadline..god like battery life. 4 hours screen time...still 45% left...shouldve been more if i didnt flash roms in between battery life. also under clocked, gta 3 and cs portable runs great and smooth still.
thanks to simms, I tried out trinity again. I flashed the latest builds. ran some benchmarks. for some reason, my device doesn't like the highest speed on benchmarks. it kept rebooting during them. so I stayed at 1.5ghz. governor I used was performance and on demand. for scheduler I ran with deadline. i forced cpu online and put fysnc on faster, thanks to TKT app. on quadrant, I was more concerned with seeing if I could achieve those crazy high I/O scores. which I did. my overall score was good but I've gotten higher on motley. it could be higher on this kernel if I get the 1.6ghz+ speed to stick. I was more impressed with my rl sqlite benchmark test. scored 18 seconds overall. which blows away the competition.
so I'm impressed with latest version of kernel. definitely better than the older build I ran of it from before. some things I've noticed though. where is the ability to undervolt at? no option in tkt app and the voltages tab disappeared from system tuner. also, this build gpu isn't overclocked. or might be better for me to say its definitely not running at 520mhz. I could tell this by the fps from quadrant. its running 59-60fps. on motley with 520mhz gpu I get 70-80+fps. just some things I noticed. not necessarily drawbacks. kernel runs very good. just got to figure how to make higher speed stick. since I can't seem to adjust voltages on this build, I can't increase voltage or undervolt it. if this can be done on trinity kernel, let me know how. its not showing voltages in tkt app or system tuner.
overall very good kernel. will run it for a while to see how battery life is. I will likely underclock it like above poster mentioned for best battery life. I noticed nexus 7 still runs great underclocked. no lag.,no matter what kernel I'm using.
I've attached screenshots of my benches on latest trinity overclocked @ 1.5ghz. I know my device can take 1.6ghz cuz on motley I can run the speed fine, even through benches. so have to see why its not taking on trinity kernel. maybe voltage needs to be increased.
so it doesnt matter if trinity is still in experimental? its that good? i guess ill try that one out
demandarin said:
thanks to simms, I tried out trinity again. I flashed the latest builds. ran some benchmarks. for some reason, my device doesn't like the highest speed on benchmarks. it kept rebooting during them. so I stayed at 1.5ghz. governor I used was performance and on demand. for scheduler I ran with deadline. i forced cpu online and put fysnc on faster, thanks to TKT app. on quadrant, I was more concerned with seeing if I could achieve those crazy high I/O scores. which I did. my overall score was good but I've gotten higher on motley. it could be higher on this kernel if I get the 1.6ghz+ speed to stick. I was more impressed with my rl sqlite benchmark test. scored 18 seconds overall. which blows away the competition.
so I'm impressed with latest version of kernel. definitely better than the older build I ran of it from before. some things I've noticed though. where is the ability to undervolt at? no option in tkt app and the voltages tab disappeared from system tuner. also, this build gpu isn't overclocked. or might be better for me to say its definitely not running at 520mhz. I could tell this by the fps from quadrant. its running 59-60fps. on motley with 520mhz gpu I get 70-80+fps. just some things I noticed. not necessarily drawbacks. kernel runs very good. just got to figure how to make higher speed stick. since I can't seem to adjust voltages on this build, I can't increase voltage or undervolt it. if this can be done on trinity kernel, let me know how. its not showing voltages in tkt app or system tuner.
overall very good kernel. will run it for a while to see how battery life is. I will likely underclock it like above poster mentioned for best battery life. I noticed nexus 7 still runs great underclocked. no lag.,no matter what kernel I'm using.
I've attached screenshots of my benches on latest trinity overclocked @ 1.5ghz. I know my device can take 1.6ghz cuz on motley I can run the speed fine, even through benches. so have to see why its not taking on trinity kernel. maybe voltage needs to be increased.
Click to expand...
Click to collapse
there are more features that are going to be added, theyre being added all the time. ask gnex owners how the options grew(same app btw, different devices running trinity see different features in the app. so you purchase it once, and use it on multi devices. btw, voltage adjustment will be added, remember how new development is on the n7. also, if other developers added the options into their kernels, theyed be able to use those features with their kernels
---------- Post added at 09:20 PM ---------- Previous post was at 09:11 PM ----------
azoller1 said:
so it doesnt matter if trinity is still in experimental? its that good? i guess ill try that one out
Click to expand...
Click to collapse
thats just trinitys method of rotating the kernels.. starts off in experimental(every kernel is tested to boot and run before it every appears here), then it graduates to prerelease if it makes the cut, and then if you guys like it it makes its way to release. its just that trinity development is so new here that there isnt a prerelease yet
jarjar124 said:
im not sure if gpus oc...but when u underclock..theres absolutely no performance difference..and saves battery too! 102mhz-1100mhz on demand/deadline..god like battery life. 4 hours screen time...still 45% left...shouldve been more if i didnt flash roms in between battery life. also under clocked, gta 3 and cs portable runs great and smooth still.
Click to expand...
Click to collapse
I've underclocked mines to 1.1ghz also. battery doesn't want to budge from 100% so far..lol. it's barley sipping battery. the UI and browser is fluid n smooth at this underclock. which is a good thing. the real test will come once I play nova3 shortly. if it plays lag free on this lower speed then underclocking is a winner. I set my governor to interactive though. you get better battery life than ondemand. using deadline also. with fsync set to faster.
simms22 said:
there are more features that are going to be added, theyre being added all the time. ask gnex owners how the options grew(same app btw, different devices running trinity see different features in the app. so you purchase it once, and use it on multi devices. btw, voltage adjustment will be added, remember how new development is on the n7. also, if other developers added the options into their kernels, theyed be able to use those features with their kernels
---------- Post added at 09:20 PM ---------- Previous post was at 09:11 PM ----------
thats just trinitys method of rotating the kernels.. starts off in experimental(every kernel is tested to boot and run before it every appears here), then it graduates to prerelease if it makes the cut, and then if you guys like it it makes its way to release. its just that trinity development is so new here that there isnt a prerelease yet
Click to expand...
Click to collapse
I understand nexus 7 is still infancy, developement wise. its cool. just wondering if those features were included since the option disappeared. I could undervolt or increase voltage on motley kernel. the tkt app would let me do it on THST kernel as the section shows for it. but I like using system tuner for undervolting when I was on motleys kernel. can't wait to see what new features get added. plus once I get my new phone, hopefully there'll be a trinity kernel out for it so I can use tkt app with it. the build is very good.
demandarin said:
thanks to simms, I tried out trinity again. I flashed the latest builds. ran some benchmarks. for some reason, my device doesn't like the highest speed on benchmarks. it kept rebooting during them. so I stayed at 1.5ghz. governor I used was performance and on demand. for scheduler I ran with deadline. i forced cpu online and put fysnc on faster, thanks to TKT app. on quadrant, I was more concerned with seeing if I could achieve those crazy high I/O scores. which I did. my overall score was good but I've gotten higher on motley. it could be higher on this kernel if I get the 1.6ghz+ speed to stick. I was more impressed with my rl sqlite benchmark test. scored 18 seconds overall. which blows away the competition.
so I'm impressed with latest version of kernel. definitely better than the older build I ran of it from before. some things I've noticed though. where is the ability to undervolt at? no option in tkt app and the voltages tab disappeared from system tuner. also, this build gpu isn't overclocked. or might be better for me to say its definitely not running at 520mhz. I could tell this by the fps from quadrant. its running 59-60fps. on motley with 520mhz gpu I get 70-80+fps. just some things I noticed. not necessarily drawbacks. kernel runs very good. just got to figure how to make higher speed stick. since I can't seem to adjust voltages on this build, I can't increase voltage or undervolt it. if this can be done on trinity kernel, let me know how. its not showing voltages in tkt app or system tuner.
overall very good kernel. will run it for a while to see how battery life is. I will likely underclock it like above poster mentioned for best battery life. I noticed nexus 7 still runs great underclocked. no lag.,no matter what kernel I'm using.
I've attached screenshots of my benches on latest trinity overclocked @ 1.5ghz. I know my device can take 1.6ghz cuz on motley I can run the speed fine, even through benches. so have to see why its not taking on trinity kernel. maybe voltage needs to be increased.
Click to expand...
Click to collapse
Interesting, 70-80fps, more than the panel.
You were interested in battery in an earlier post, this is me feeling meh and couching most of Sunday.
EDIT: Yes, emailing, tapatalk, browsing for laptop and not finding any, reading news in Pulse and flipboard, tweetcaster and testing slice(s?), gtalk, not heavy usage obviously. Screen wasn't on unless The Seven was used though.
Sent from my Nexus 7 using Tapatalk 2
morfic said:
Interesting, 70-80fps, more than the panel.
You were interested in battery in an earlier post, this is me feeling meh and couching most of Sunday.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
what is this?? 7hrs screen time and 30%??
jarjar124 said:
what is this?? 7hrs screen time and 30%??
Click to expand...
Click to collapse
Expect no less.

[REF][SuperFriendly] Explanation of Governors, I/O Schedulers and Kernels [23-Nov]

Introduction
"It takes few hours to make a thread but it doesn't even take few seconds to say Thanks"- arpith.fbi
Click to expand...
Click to collapse
Code:
Don't be afraid to ask me anything.
I won't bite, but I might lick you.
Just thank me for this super brief thread.
Give credits to this thread by linking it if you're using any of my info.
Thank you to you too
Have you unlocked your bootloader of your current device ? If so, read it ! If not, learn the benifits ! :victory:
What is this thread about ? It is a very brief explanation of every governors and schedulers to let you find the best combo for your device.
I've been searching a lot about informations about Kernels, Governors, I/O Schedulers and also Android Optimization Tips. No matter its Google or XDA or other android forums. I will go into it and try the best I can to find these infos. So I thought of sharing it to here for the XPlay users.
My main reason to share this is to benefit users for better knowledge about Kernels, Governors, I/O Schedulers and Tips on Android Optimization. I'm not aware of whether where this should be posted, its related to kernels, governors and schedulers so I think it would be best if I share it to here. Yes, I wrote it word by word with references.Happy learning. :angel:
After months on XDA, no matter its in a development forum or Off Topic forum. Users kept on asking what's this what's that. And I'm sure that not all members will understand what is it until they bump into my thread
FAQs regarding on :-
-I/O Schedulers
-Kernel Governers
-Better RAM
-Better Battery
-FAQs
*Will add more when I found something useful.
Click to expand...
Click to collapse
I do a lot of asking by PM, to learn, it doesn't matter whether its a stupid one. (People who know me understands)
With my experience and lots of asking. I managed to find a lot of infos that we can use to optimize our phone.
I will try to explain as clear as I can.
Governors :-
-Smoothass
-Smartass
-SmartassV2
-SavagedZen
-Interactivex
-Lagfree
-Minmax
-Ondemand
-Conservative
-Brazilianwax
-Userspacce
-Powersave
-Performance
-Scary
-Lulzactive *
-Intellidemand *
-Badass *
-Lionheart *
-Lionheartx *
-Virtuous *
* Haven't gathered much needed information. Will add it later.
Explanation
OnDemand
Brief
Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point, OnDemand will rapidly scale the CPU up to meet the demand, then gradually scale the CPU down when it isn't needed.
Click to expand...
Click to collapse
Review
Brief says all. By a simple explantion, OnDemand scales up to the required frequency to undergo the action you are doing and rapidly scales down after use.
Conservative
Brief
It is similar to the OnDemand governor, but will scale the CPU up more gradually to better fit demand. Conservative governor provides a less responsive experience than OnDemand, but it does save batter
Click to expand...
Click to collapse
Review
Conservative is the opposite of Interactive; it will slowly ramp up the frequency, then quickly drops the frequency once the CPU is no longer under a certain usage.
Interactive
Brief
Available in latest kernels, it is the default scaling option in some stock kernels. Interactive governor is similar to the OnDemand governor with an even greater focus on responsiveness.
Click to expand...
Click to collapse
Review
Interactive is the opposite of Conservative; it quickly scales up to the maximum allowed frequency, then slowly drops the frequency once no longer in use.
Performance
Brief
Performance governer locks the phone's CPU at maximum frequency. While this may sound like an ugly idea, there is growing evidence to suggest that running a phone at its maximum frequency at all times will allow a faster race-to-idle. Race-to-idle is the process by which a phone completes a given task. After that it returns the CPU to extremely efficient low-power state.
Click to expand...
Click to collapse
Review
Good at gaming, Really good. Disadvantages are it may damage your phone if too much usage.
Powersave
Brief
The opposite of the Performance governor, the Powersave governor locks the CPU frequency at the lowest frequency set by the user.
Click to expand...
Click to collapse
Review
Set it to your desired minimum frequency and you won't have to look for your charger for once in a while.
Scary
Brief
A new governor wrote based on Conservative with some Smartass features, it scales accordingly to Conservative's way. It will start from the bottom. It spends most of its time at lower frequencies. The goal of this is to get the best battery life with decent performance. It will give the same performance as Conservative right now.
Click to expand...
Click to collapse
Review
Hmm.. Overall I don't see any difference. After I understand its main objective. I was very curious and decided to use it again. Results are the same.. No difference. Report to me if anyone has tested this.
Userspace
Brief
Userspace is not a governor pre-set, but instead allows for non-kernel daemons or apps with root permissions to control the frequency. Commonly seen as a redundant and not useful since SetCPU and NoFrills exist.
Click to expand...
Click to collapse
Review
Highly not recommended for use.
Smartass
Brief
It is based on the concept of the Interactive governor.
Smartass is a complete rewrite of the code of Interactive. Performance is on par with the “old” minmax and Smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Click to expand...
Click to collapse
Review
Smartass is rather the governer that will save your battery and make use of your processor for daily use. Like the brief explantion said " Smartass will spend much more time on lower frequencies." So logically you don't need for sleep profiles anymore.
SmartassV2
Brief
Theoretically a merge of the best properties of Interactive and OnDemand; automatically reduces the maximum CPU frequency when phone is idle or asleep, and attempts to balance performance with efficiency by focusing on an "ideal" frequency.
Click to expand...
Click to collapse
Review
This is a much favourite to everybody. I believe almost everyone here is using SmartassV2. Yes, it is better than Smartass because of its speed no scaling frequencies from min to max at a short period of time.
Smoothass
Brief
A much more aggressive version of Smartass that is very quick to ramp up and down, and keeps the idle/asleep maximum frequency even lower.
Click to expand...
Click to collapse
Review
In my personal experience, this is really useful for daily use. And yes, I'm using it all the time. It may decrease your battery life. I saw it OC itself to 1.4 gHz when I set it to 1.2. Good use. Recommended.
Brazilianwax
Brief
Similar to SmartassV2. More aggressive scaling, so more performance, but less battery.
Click to expand...
Click to collapse
Review
Based on SmartassV2. But its advantage is a much more performance wise governor.
SavagedZen
Brief
Another SmartassV2 based governor. Achieves good balance between performance & battery as compared to Brazilianwax.
Click to expand...
Click to collapse
Review
Not much difference compared to SmartassV2. But it is a optimized version of it.
Lagfree
Brief
Again, similar to Smartass but based on Conservative rather than Interactive, instantly jumps to a certain CPU frequency after the device wakes, then operates similar to Conservative. However, it has been noted as being very slow when down-scaling, taking up to a second to switch frequencies.
Click to expand...
Click to collapse
Review
Used it before. Like the name of the governor, I didn't experience any lag whatsoever. Another governor based on performance, but not battery efficient.
MinMax
Brief
MinMax is just a normal governor. No scaling intermediate frequency scaling is used.
Click to expand...
Click to collapse
Review
Well.. it's too normal that I can't really say anything about it..
Interactivex
Brief
InteractiveX governor is based heavily on the Interactive governor, enhanced with tuned timer parameters to optimize the balance of battery vs performance. InteractiveX governor's defining feature, however, is that it locks the CPU frequency to the user's lowest defined speed when the screen is off.
Click to expand...
Click to collapse
Review
A better understanding from the brief to you users, this is an Interactive governor with a wake profile. More battery friendly than Interactive.
Due to current kernels doesn't have these governors. I will be delaying the explanation, its very interesting. If you want it ASAP, post below
-Lulzactive *
-Intellidemand *
-Badass *
-Lionheart *
-Lionheartx *
-Virtuous *
**********************************************************************************************************************************************************************
I/O Schedulers(thanks to droidphile)
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.
Click to expand...
Click to collapse
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. 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.
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
BFQ
nstead 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.
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
VR
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.
Click to expand...
Click to collapse
Credits
-droidphile
-kokzhanjia
Reserved for kernel infos
Sent from my WT19i
Yes, we do have kernels with Lionheart, lulzactive and intellidemand.
Nice reference cheers.
Sent from Xperia Play (R800a) with Tapatalk
CosmicDan said:
Yes, we do have kernels with Lionheart, lulzactive and intellidemand.
Nice reference cheers.
Sent from Xperia Play (R800a) with Tapatalk
Click to expand...
Click to collapse
Really ? Okay will add it in later
Sent from my WT19i
kokzhanjia said:
Really ? Okay will add it in later
Sent from my WT19i
Click to expand...
Click to collapse
Yeah LuPuS has Lulzactive, Virtuous, Intellidemand, Lazy, Ondemandx, Lionheart and Badass added (but no mention of LionheartX).
Turbo kernel also has intellidemand but the parameters have been modified quite a bit (by me) to suit our snapdragon SOC's better. I think wedgess also put these changes into LuPuS too (at least one of the ICS/JB kernels he builds he said he did). The browser mode still has no effect AFAIK but in my experience it's more battery-friendly and better performance than on-demand (thanks mainly to dbus_input ramping). But many users have reported slightly better gaming experience with SmartAssv2.
Great reference, this will be of much help to new comers, thanks for the hard work you put into this.
CosmicDan said:
Yeah LuPuS has Lulzactive, Virtuous, Intellidemand, Lazy, Ondemandx, Lionheart and Badass added (but no mention of LionheartX).
Turbo kernel also has intellidemand but the parameters have been modified quite a bit (by me) to suit our snapdragon SOC's better. I think wedgess also put these changes into LuPuS too (at least one of the ICS/JB kernels he builds he said he did). The browser mode still has no effect AFAIK but in my experience it's more battery-friendly and better performance than on-demand (thanks mainly to dbus_input ramping). But many users have reported slightly better gaming experience with SmartAssv2.
Click to expand...
Click to collapse
Yeah. Saw your work Nice one.. anymore in depth infos about kernels at here ? I want to add a bonus one for this..
paragroth said:
Great reference, this will be of much help to new comers, thanks for the hard work you put into this.
Click to expand...
Click to collapse
Thanks
Coloured signatures are nice
Nah that's pretty much it
Sent from Xperia Play (R800a) with Tapatalk
Throughout my experience(mainly from observing CPU speeds during music playback), I found that:
Scary:
Ramps up to max after reaching a threshold (50/60% CPU load) then slow scales down to match as 50-80% CPU Load @ X MHz. After a while if load lowers (30-40%), it will clock down to match the 50-80% load. You will see a lot of 100% @ low MHz with this governor.
SavagedZen:
It maintains a 80-90% CPU Load @ X MHz for a fairly constant load. This one also scales based on the Max CPU Freq. settings. So the lower your Max CPU Freq, the better it is at maintaining the CPU Load/MHz balance (for music playback at least).
I didn't look at the source, so these are just from observations only. So I might be talking out of my ass.
Also, having good CPU Load at appropriate CPU Speeds may or may not contribute to battery life. No experiments showed that yet iirc.
Monitoring done via "Diagnosis - System Information" an app that generates an overlay with whatever information your want ie cpu load, speed, memory free, used, disk io, network io, etc.
Refresh rate kept at 5 seconds to keep CPU Load interference minimal (lower than ICS/JB CPU Info overlay from Development, Settings tab).
Great thread, this should be sticky!
jabberwocky_one said:
Throughout my experience(mainly from observing CPU speeds during music playback), I found that:
Scary:
Ramps up to max after reaching a threshold (50/60% CPU load) then slow scales down to match as 50-80% CPU Load @ X MHz. After a while if load lowers (30-40%), it will clock down to match the 50-80% load. You will see a lot of 100% @ low MHz with this governor.
SavagedZen:
It maintains a 80-90% CPU Load @ X MHz for a fairly constant load. This one also scales based on the Max CPU Freq. settings. So the lower your Max CPU Freq, the better it is at maintaining the CPU Load/MHz balance (for music playback at least).
I didn't look at the source, so these are just from observations only. So I might be talking out of my ass.
Also, having good CPU Load at appropriate CPU Speeds may or may not contribute to battery life. No experiments showed that yet iirc.
Monitoring done via "Diagnosis - System Information" an app that generates an overlay with whatever information your want ie cpu load, speed, memory free, used, disk io, network io, etc.
Refresh rate kept at 5 seconds to keep CPU Load interference minimal (lower than ICS/JB CPU Info overlay from Development, Settings tab).
Click to expand...
Click to collapse
Nono you are right. I read these before and your observation is just about it, thanks for the info
chabbe11 said:
Great thread, this should be sticky!
Click to expand...
Click to collapse
Thank you
Sent from my WT19i with Real Xperia r1
Am I setting it up the right way?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I prefer using that minimum and maximum.
And would this screen off profile work, even if I have configured the main minimum? The 100mhz for screen off really saves a lot of my battery.
Sent from my R800i using Tapatalk 2
Gr8 helped me a lot in understanding alll of this .....
bhavei said:
Am I setting it up the right way?
I prefer using that minimum and maximum.
And would this screen off profile work, even if I have configured the main minimum? The 100mhz for screen off really saves a lot of my battery.
Sent from my R800i using Tapatalk 2
Click to expand...
Click to collapse
Yes it is right. I didnt really tried the other way that you mentioned, because i have No-Frills pre-installed in my settings..but i see it worked. Of course it will save battery.. Nice
piku2008 said:
Gr8 helped me a lot in understanding alll of this .....
Click to expand...
Click to collapse
Will add more soon About kernels, Is there any BFS kernels around here ? Most kernels are CFS..
Sent from my WT19i with Real Xperia r1
kokzhanjia said:
About kernels, Is there any BFS kernels around here ? Most kernels are CFS..
Click to expand...
Click to collapse
There was, I ported it over a few months ago. But I removed it because it was causing priority issues. The latest BFS patch for our kernel has some critical bugs, so I ditched it. When I get ext# fixed in .60 kernel up and going I will probably take another crack at it, backporting one of the more recent 3.x BFS versions.
One of the LuPuS kernels might still have na laternative BFS version, but I think wedgess stopped building it for the same reason as me.
CosmicDan said:
There was, I ported it over a few months ago. But I removed it because it was causing priority issues. The latest BFS patch for our kernel has some critical bugs, so I ditched it. When I get ext# fixed in .60 kernel up and going I will probably take another crack at it, backporting one of the more recent 3.x BFS versions.
One of the LuPuS kernels might still have na laternative BFS version, but I think wedgess stopped building it for the same reason as me.
Click to expand...
Click to collapse
I see, there are really few BFS based kernels out there. BFS is better in my opinion so i would like to elaborate more about BFS to attract more users.
Btw, one guy in Xperia Mini, Mini Pro and Active forums had already successfully making it up and running for stock and CM ROMs. Its already hitted version 2.3
Maybe you could get some help from him ? Name is Mesa Kernel.
Sent from my WT19i with Real Xperia r1
kokzhanjia said:
I see, there are really few BFS based kernels out there. BFS is better in my opinion so i would like to elaborate more about BFS to attract more users.
Btw, one guy in Xperia Mini, Mini Pro and Active forums had already successfully making it up and running for stock and CM ROMs. Its already hitted version 2.3
Maybe you could get some help from him ? Name is Mesa Kernel.
Sent from my WT19i with Real Xperia r1
Click to expand...
Click to collapse
I was using v0.313 of BFS, it wasn't that hard - just had to adapt the patch for the Xperia's stupid kernel. That version is so unstable and buggy, in fact all 2.6.x BFS patches were so problematic that the official page has removed them.
I'll check it out, if he back-ported BFS for Linux kernel 3.0 and has them on GitHub, otherwise it would be easier just to do it myself. But I have other more important concerns for Zeus development right now, BFS doesn't really bring any significant performance boost (which is why it is continually rejected from AOSP inclusion).
CosmicDan said:
I was using v0.313 of BFS, it wasn't that hard - just had to adapt the patch for the Xperia's stupid kernel. That version is so unstable and buggy, in fact all 2.6.x BFS patches were so problematic that the official page has removed them.
I'll check it out, if he back-ported BFS for Linux kernel 3.0 and has them on GitHub, otherwise it would be easier just to do it myself. But I have other more important concerns for Zeus development right now, BFS doesn't really bring any significant performance boost (which is why it is continually rejected from AOSP inclusion).
Click to expand...
Click to collapse
Oh... i didnt know that.. anyway, I don't think he has his github set up. I didnt saw a link to his github on his thread. And isnt BFS aimed for forward looking(like only performing on a task that is given without any concerns) ? I read about it at google docs about it. And i don't really know how to explain it clearly..
Good luck in your development my frirend. And this thread has been moved to General section. Hope you can find it and Nice to have another friend
Sent from my WT19i with Real Xperia r1
This is nice info,
Thanks
Thanks man. This is awesome. Much appreciated

[Q] Performance difference from different kernels on different roms

Hi,
I've noticed a huge performance difference between kernels and the roms they're used with.
For example:
I was using AOKP and Franco kernel and got around 20000 antutu points, I've switched to Carbon Rom (because of the build in pie control) and Franco kernel and only get around 13000 points, that's a huge difference.
As a test I've installed Matr1x-kenel on Carbon and get around 21000 points.
I really like Franco-kernel and all the tweaks it offers but don't like the huge drop in benchmarks, I know benchmarks are not a real representation of actual performance but it's still a big difference.
This also occurs in Quadrant and Geekbench.
So my question is why does this happen?
Aren't most roms supposed to be compatible with most kernels?
Thank you in advance.
Best regards.
I can't answer your question as to why that happens (no doubt someone else will) but you seriously should just stop bothering with benchmarks and use your own eyes and experiences as a measure of how good a kernel/ROM is. I doubt you could find a kernel which made the phone visibly slow or that affected usability so I don't see what your concern is tbh.
Thanks for your answer.
Yeah, I read that a lot on XDA, don't trust benchmarks...I understand that but they must have some meaning.
I mean, if not why do they exist or do people bother using them?
To be honest I don't really notice any real performance difference between most kernels I've tested.
Best regards
some roms include many optimizations(like skia/dalvik, krait optimizations, and others), while some dont. its not thekernel thats crapping out on you, its the rom.
---------- Post added at 07:02 PM ---------- Previous post was at 06:58 PM ----------
Nigeldg said:
I can't answer your question as to why that happens (no doubt someone else will) butcomseriously should just stop bothering with benchmarks and use your own eyes and experiences as a measure of how good a kernel/ROM is. I doubt you could find a kernel which made the phone visibly slow or that affected usability so I don't see what your concern is tbh.
Click to expand...
Click to collapse
your eyes can be decieved.. they can see whats happening in the ui for example, but you can not see the complex calculations that are being performed or how your cpu is really performing. you can have a slow device whos ui is quick.
OK, I can understand that not all roms are equal but why does changing the kernel have such a seamingly big impact?
If a rom is bad to begin with it should stay that way no matter what kernel you use with it.
Offcourse what do I know, I'm not a developer so my knowledge on the subject is limited.
I'm just trying to understand what's going on...
Best regards
Pihkal said:
OK, I can understand that not all roms are equal but why does changing the kernel have such a seamingly big impact?
If a rom is bad to begin with it should stay that way no matter what kernel you use with it.
Offcourse what do I know, I'm not a developer so my knowledge on the subject is limited.
I'm just trying to understand what's going on...
Best regards
Click to expand...
Click to collapse
kernels vary too, and they impact greatly because they control just about everything in the phone, kinda like a brain. since the kernels themselves vary, one kernel might be better set up than another to deal with certain code from a certain rom. and then also, every phone reacts differently to each kernel(and roms to a point). thats why its recommended to try out different kernels, combos. only then you can find the perfect combo for you/your device. what works great for somebody, can be lousy for another.
OK, so if i understand correctly it boils down to this:
1. You can do benchmarks but don't base your opinion on just the benchmark scores.
2. Roms can vary greatly in optimizations and efficiency of coding.
3. Kernels can also vary greatly in optimizations and efficiency of coding.
4. There's no such thing as a "best for everyone rom/kernel combo".
5. Not all roms/kernels play equally nice with each other.
6. Play around with as many roms / kernels as possible and decide what works best for ME based on MY experience.
Thanks for the advice.
Best regards.
Its been well over a year since I ran any benchmark of any sort but I tested Franco and carbon because that's what I'm on and you mentioned low scores. I'm on Franco m3 with some tweaked settings and carbon nightly from 7-5. Antutu gave me 20636. I'm using stock CPU and GPU frequencies.
username8611 said:
Its been well over a year since I ran any benchmark of any sort but I tested Franco and carbon because that's what I'm on and you mentioned low scores. I'm on Franco m3 with some tweaked settings and carbon nightly from 7-5. Antutu gave me 20636. I'm using stock CPU and GPU frequencies.
Click to expand...
Click to collapse
Maybe the nightly Carbon rom is more optimized?
I'm on Carbon 1.7 Stable and used Franco nightly 162 to test with.
When I benchmark I try to be as consistent as possible ie same temperature, performance governor, airplane mode etc.
I even cooled my Nexus in the freezer for some minutes to eliminate thermal throttling (yeah I know, watchout for condensation) but still got the same low scores.
Best regards.
Pihkal said:
Maybe the nightly Carbon rom is more optimized?
I'm on Carbon 1.7 Stable and used Franco nightly 162 to test with.
When I benchmark I try to be as consistent as possible ie same temperature, performance governor, airplane mode etc.
I even cooled my Nexus in the freezer for some minutes to eliminate thermal throttling (yeah I know, watchout for condensation) but still got the same low scores.
Best regards.
Click to expand...
Click to collapse
It might be, I didn't do anything special. I left all my background apps running, didnt close anything in the recents, didn't cool the phone first. I just downloaded it and hit start. I use the interactive governor tweaked a bit, and I also tweaked the hotplug settings so it more readily onlines all 4 cores instead of waiting for some of the higher loads to trigger it.
username8611 said:
It might be, I didn't do anything special. I left all my background apps running, didnt close anything in the recents, didn't cool the phone first. I just downloaded it and hit start. I use the interactive governor tweaked a bit, and I also tweaked the hotplug settings so it more readily onlines all 4 cores instead of waiting for some of the higher loads to trigger it.
Click to expand...
Click to collapse
Well, I had to try it myself so I did a factory reset, cleared system,data and dalvik, installed latest carbon nightly.
With stock kernel I almost reached 21000 points, with franco I barely get 17000 points.
Very strange...
edit:
I stand corrected, did a second benchmark and am now getting 20880 points...
are you benchmarking with your cpu speed benchmarked set as highest and lowest cpu speed? you should. if you dont put the same cpu speed as highest and lowest then itll scale up and down. if it scales, you dont actually know what speed its testing and it gives you inconsistamt scores. you want the cpu speed to be the same throughout the test.
When I benchmark I set the governor to performance, this should keep the cpu running at maximum speed without scaling unless I'm mistaking...
Pihkal said:
When I benchmark I set the governor to performance, this should keep the cpu running at maximum speed without scaling unless I'm mistaking...
Click to expand...
Click to collapse
meh, performance is the worst for benchmarking. its such a deceiving name. try either ondemand or interactive. set your cpu speed to be the same high and low.
simms22 said:
meh, performance is the worst for benchmarking. its such a deceiving name. try either ondemand or interactive. set your cpu speed to be the same high and low.
Click to expand...
Click to collapse
Woow, that's a great tip, I now get 22003 points with Matr1x-kernel.
Pihkal said:
Woow, that's a great tip, I now get 22003 points with Matr1x-kernel.
Click to expand...
Click to collapse
better :highfive:

My S3 ideal setup: ROM, Kernel, Mods, Apps & Games

In 2015, Galaxy S3 is a quite old device. It was introduced in 2012, with a lot of supporters around the world. I think it is the best smartphone of Samsung ever. And in 2015, it is still a good phone with latest software update from other developers
These are my combinations of roms, kernels, mods and tweaks of my Galaxy S3 (i9300). I think it is the best combination ever, with good performance and experience. Remember that this is my own opinion, so maybe it won't appropriate with somebody. Anyway, let's get start!!!
ROM
Cyanogenmod is undoubtedly the most popular and best-performance rom ever. It is based on Stock Android, so it runs very smooth and has brilliant performance, especially in Benchmark Test. Android 5.0 Lollipop is released, then our S3 has a very good CM12 rom with latest software version. I have used this rom for 4 months, and I do not expect anything more about my phone because it runs PERFECTLY.
Link for Cyanogenmod 12 rom: http://forum.xda-developers.com/galaxy-s3/development/wip-cyanogenmod-12-t2936990
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​ KERNEL
Since Siyah kernel is end-of-development, Boeffla Kernel is a perfect alternative. This kernel brings us a lot of things : change CPU governers, overclock CPU (up to 1600 Mhz) and GPU (640 Mhz), sound tweaks, undervolt CPU and GPU, etc. It lets us to control our devices freely and effectively. It also gives us brilliant battery performance.
Links for Boeffla Kernel i9300: http://forum.xda-developers.com/gal...rnel-boeffla-kernel-2-2-stable-27-03-t2449408
MODS
When I bought my Galaxy S3, I soon realized that is had a poor sound experience. So I looked for a sound mods that it improves my phone speaker. And fortunately, I have found a thread that had an amazing work: ACID Audio Engine. It gives me many positive improvements with i9300 sounds, and I have the best sound experience ever.
Link for ACID Audio Engine mod: http://forum.xda-developers.com/galaxy-s3/development/mod-acid-audio-engine-v5-0-samsung-t2002197
APPS & GAMES
I am a student, so I do not have much working or business apps. These app below are mostly entertaining apps : music, games,…
Google Camera: easy, simple and functional interface
https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera
Inbox by Google: a beautiful Material Design email app, and officially published by Google
https://play.google.com/store/apps/details?id=com.google.android.apps.inbox
Google Keep: easy for taking notes with texts, images and many cute symbols…
https://play.google.com/store/apps/details?id=com.google.android.keep
Zedge: up-to-date beautiful wallpapers, ringtones and other stuffs.
https://play.google.com/store/apps/details?id=net.zedge.android
Wolfram Alpha: as a student, I have to do a lot of calculating exercises. This app is my perfect assistant at school, especially in Maths lessons.
https://play.google.com/store/apps/details?id=com.wolfram.android.alpha
Fenix: my daily Twitter app
https://play.google.com/store/apps/details?id=it.mvilla.android.fenix
Seeder: it is undeniable that many Android devices become slower and slower after long time using them. Seeder helps us to prevent this problem. It gives us a smooth experience with no lags and FC’s.
http://forum.xda-developers.com/showthread.php?t=1987032
Xposed Installer + Gravity Box(LP) : best apps for interface editing, mods, and tweaks
http://forum.xda-developers.com/showthread.php?t=3034811
Ram Manager Pro: a lot of RAM options, swap RAM (up to 2GB), friendly interface.
https://play.google.com/store/apps/details?id=com.smartprojects.RAMOptimizationFree
FIFA 15: Since FIFA 16, in my opinion, is not as good as FIFA 15 (graphics problems, worse user interface,…), I am still playing with my own Ultimate Team. Best Sport app ever.
https://play.google.com/store/apps/details?id=com.ea.game.fifa15_row
Asphalt 8: Racing games with a lot of cars, roads and game modes, brilliant graphics.
https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftA8HM
Leo’s Fortune: This is the best graphics games ever…
https://play.google.com/store/apps/details?id=com.leosfortune
TWEAKS & SELF-EXPERIENCE
CPU governer: ondemand
I/O Scheduler: deadline
Max freq: 1400 Mhz
Min freg: 200 Mhz
Undervolt CPU: -75mV​
GPU freq: 160/266/350/440/533
GPU undervolt: -75mV​
Build.prop tweaks:
Fast Reboot
persist.sys.purgeable_assets=1
Render UI with GPU
debug.sf.hw=1​
Increasing It Will Make Mobile Smoother
windowsmgr.maxevents_per_sec=150​
Video Acceleration Enabled
video.accelerate.hw=1​
Increase Performance
debug.performance.tuning=1​
Disable Sending Usage Data
ro.config.nocheckin=1​
Deeper Sleep / Better Battery Life
ro.ril.disable.power.collapse=1
pm.sleep_mode=1​
Disable BootAnimation
debug.sf.nobootanimation=1​
Faster Scrolling
ro.max.flingvelocity=12000​ro.min.fling_velocity=8000​
sorry for this,but,either u are not informed on whats going on these days,or just lack of knowledge.
this version you chose as your rom is EOL state,and its much worse than any rom IMO (memory leaks,stagefright not patched etc). the best rom right now is AD latest or B19 from archi as well.
kernel-wise,boeffla is EOL state again,he only update ramdisk,so this is just for campatibility still active.while things starting to end for this phone,archi wow us every single time,and archikernel latest is the most "optimized" for this phone along with his roms...
I/O sheduler-wise, deadline and noop is known to low speeds and performance crippling..best shedulers for our phone are BFQ latest,and CFQ.
ROW is better generally but not for I9300.it sucks.
You should never undervolt processor especially -75!! GPU as well. games will lag.
But this guide is,from my point of view,battery life driven.
but i would not get crazy for battery life anymore because anyways battery is fcked up so many years,especially stock.the only thing u will achieve is at best half an hour screen on time.not worth it for me
as for build prop tweaks,dont even touch it anymore,its not worth it,plus archi have better build prop tweaks and generally well made Roms.
*flies away*
My best setup is Archidroid + ArchiKernel
Cpu voltages table:
1400 1.1375V
1300 1.1V
1200 1.075V
1100 1.025V
1000 0.95V
900 0.925V
800 0.9V
700 0.875V
600 0.85V
500 0.825V
400 0.8V
300 0.8V
200 0.8V
GPU:
700 - 1.175V
600 - 1.0625V
440 - 0.9375V
300 - 0.8375V
150 - 0.7375V
CPU Governor: lulzactiveQ
CPU States: IDLE + LPA + AFTR
eMMC/SD Governor row/cfq
I think, that we can undervolt our SoC much lower, but not by setting same '-xx mV' value for all profiles, i spend about 2 hours for testing voltages on every profile. I descended to 0.8V on CPU, lower values were giving me a lot of freezes and lags. On GPU i set 0.7V (Boeffla kernel) and image went away. My ASV level is 3. I also tried it on other i9300 @ 2LVL ASV, GPU was working with same voltages. But CPU wanted extra 25mV for every profile from my table.
I also saw one more thing, ArchiKernel requies higher voltages, but it's harder to freeze phone (especially GPU) than on Boeffla.
Sorry for my bad english, i'll improve that - i promise
i wish i didnt sold my s3 :/
How to undervolt?
Sent from my Be_Pure using XDA Free mobile app
The Funky Pear said:
sorry for this,but,either u are not informed on whats going on these days,or just lack of knowledge.
this version you chose as your rom is EOL state,and its much worse than any rom IMO (memory leaks,stagefright not patched etc). the best rom right now is AD latest or B19 from archi as well.
kernel-wise,boeffla is EOL state again,he only update ramdisk,so this is just for campatibility still active.while things starting to end for this phone,archi wow us every single time,and archikernel latest is the most "optimized" for this phone along with his roms...
I/O sheduler-wise, deadline and noop is known to low speeds and performance crippling..best shedulers for our phone are BFQ latest,and CFQ.
ROW is better generally but not for I9300.it sucks.
You should never undervolt processor especially -75!! GPU as well. games will lag.
But this guide is,from my point of view,battery life driven.
but i would not get crazy for battery life anymore because anyways battery is fcked up so many years,especially stock.the only thing u will achieve is at best half an hour screen on time.not worth it for me
as for build prop tweaks,dont even touch it anymore,its not worth it,plus archi have better build prop tweaks and generally well made Roms.
*flies away*
Click to expand...
Click to collapse
Hi The Funky Pear!!
Can you post here your complete kernel config on synapse?
Thanks in advance
_nEoN_ said:
Hi The Funky Pear!!
Can you post here your complete kernel config on synapse?
Thanks in advance
Click to expand...
Click to collapse
of course! feel free to ask anything!! will post screenshots because its easier
what is "ad latest" rom?
mkdr said:
what is "ad latest" rom?
Click to expand...
Click to collapse
here u go: http://forum.xda-developers.com/galaxy-s3/development/rom-archidroid-v2-4-6-power-hands-t2354859

Gamer Rom

I Need the Best gaming Lollipop Rom for I9505 with great performance and Battery life ?
That would be AOSP rom by the JDCTeam.
Make sure you set alucard kernel to the extreme performance or performance profile if you want better performance in gaming.
doctorex1 said:
I Need the Best gaming Lollipop Rom for I9505 with great performance and Battery life ?
Click to expand...
Click to collapse
"great performance and Battery life ?" Performence or battery life! 5.1.1 CM with Alucard Kernel
if you get an alucard kernel in your rom then the raising the minimum clock speed to 810 khz on all four cores and the minimum for GPU speed to 200 khz it will help.
*gentle fair sleepers off
*arch power on
*CPU governors to ondemand or alucard with alucard hotplug
in developer option hardware overlays to off.
personally I think ktkernel was better with more options but you'd need to stick to AOSP 5.0 for that or lower
If he were to stick to older android versions (5.0 and lower) then he might aswell get KT kernel, which gives him the posibility of overclocking the CPU and GPU, something that is missing from the other kernels right now.
GPU overclocking isn't really stable, it actually takes away from the gaming experience.
How can increasing the GPU frequency, and therefor the performance, be bad?
If you overclock it too high of course it is unstable. But you should be able to take around 500 MHz easily.
GDReaper said:
How can increasing the GPU frequency, and therefor the performance, be bad?
If you overclock it too high of course it is unstable. But you should be able to take around 500 MHz easily.
Click to expand...
Click to collapse
I can't remember the steps you get in kt but I'm pretty sure the uppermost ones were next to unusable, 500 is only just above the standard speed.
the games are always going to have a fixed system requirement levels based on the hardware we have so there isn't that much to gain over optimisations for our roms I feel...
I always judge a rom based on how well it can play shadowgun deadzone. most untweakable kernel rom combos aren't so great fresh out of the box.
Well, I used KT kernel in the 5.0 days. I ran a gaming profile created by ktoonsez himself, which had GPU overclock, and ran stable all the way.
I usually judge a rom by how fast it opens the settings app. This presumes that the app was fully closed, otherwise it will just switch to it, wich is a lot faster than actually opening it. Also, animations are all off.
So, between the pressing of the icon and the actual opening of the app there will be a black screen (if animations are turned off). The longer you see that black screen, the slower the rom is.

Categories

Resources