yashsingh1/xdaforums huggingface dataset:
[HTC Rezound] brenuga:
Just anecdotally I'm not having the greatest battery life with lionheart. It is very smooth for GUI, but when the screen is on, I run through battery almost like ondemand. I unplugged at 7 am and only got til 1 pm and it was at 30 percent. < 30 percent usually means time to charge for me. I had a random reboot while trying to record a speech with Tape-a-Talk, which messed up my battery stats. Still deep sleeping very good, that is a plus.

I am going to recharge and try to make it thru a full day so I can get a better profile of lionheart.
[HTC Rezound] brenuga:
Re: [KERNEL][AOSP][01/16/13] Ermahgerd Kernel [ICS][JB][PMEM][ION]

OK the great kernel challenge continues. Decided to switch over to FunkyBean for comparison. Drawer pull down and launcher screen transitions are noticeably more responsive using Lionheart, which makes sense after you read the description.

Going back to Intellidemand / sio was still fluid but like I said, noticeable difference.

Did some quick benchmarking with quadrant and setcpu.

As you might expect, performance-wise, Intellidemand is a fair bit better than dancedance and actually a tad better than regular ondemand. DanceDance and Wheatley are about the same on non graphics benchmarks.

So the question remains, how does Intellidemand compare with Lionheart on performance and how do all 3 compare on battery life? Gonna study some more.
[HTC Rezound] Snuzzo:
Things will be changing on my end of things, Bre. Wait a little bit and I'll post this weeks build. Still testing.
[HTC Rezound] brenuga:
Re: [KERNEL][AOSP][01/16/13] Ermahgerd Kernel [ICS][JB][PMEM][ION]

K cool thanks man. Did some more benchmarking tonight using qualcomm vellamo and antutu.

Intellidemand + noop seems to produce the best results. The io-only scores improved with noop vs. sio too.

Eager to try ROW with Intellidemand if you can get it working Snuzzo.

Don't get me wrong, I am not discounting dancedance for everyday use. But Intellidemand clearly seems to best when you're running games. :)

ID performed well on vellamo html5 test too (takes forever to run tho). Using ID put the Rezound in the middle of the device range on both tests, not bad for a Nov '11 device.
[HTC Rezound] shrike1978:
Looking at bringing a couple more governors into the next version. Intellidemand is on the short list. Lazy, lagfree, and wheatley are currently having a cage match to the death.

Seriously tho, looking at adding intellidemand or lazy for another general use governor. Strongly considering adding wheatley as well, so people who are concerned about battery can use it in a screen off profile in conjunction with lionheart. I like the concept behind lagfree, but I can't get it to work in a way I find satisfactory, so it's probably gonna put it on the backburner for now.

Furture looking, I'm seriously considering making a modified version of lionheart that brings in wheatley's crazy good sleep routines.
[HTC Rezound] Snuzzo:
Same.

I havent been able to get it working right since putting it into a release.
[HTC Rezound] brenuga:
Benchmarks run on RAGE 2.3, cpu speed set at 384 min 1512 max

Kernels used: Ermagherd 13.01.16 and Funky Bean 2.3

Stock voltages, fsync enabled, zram enabled

Higher numbers are better on all the benchmarks except for the SetCPU benchmark, where lower is better. I used Quadrant Advanced, which has no ads to bog down performance. Qualcomm Vellamo's Metal test includes a linpack test as part of its benchmark.

SetCPU Native Bench: "The results of this benchmark is unaffected by VM optimizations like JIT, so it's ideal for speed comparisons across different devices."

And yes, I know benchmarks are highly speculative and don't detail what battery life will be like.

Intellidemand / noop

Vellamo: HTML5 - 1277 Metal: 382

Antutu: 7666

Quadrant: 4988

SetCPU Native Bench: ~450

CF-Bench: 5115

Intellidemand / ROW

Vellamo: HTML5: 1389 Metal: 379

Antutu: 7753

Quadrant: 3241

SetCPU Native Bench: ~ 445

CF-Bench: 4875

Lionheart / ROW

Vellamo: HTML5 - 1463, Metal: 352

Antutu: 7333

Quadrant: 3088

SetCPU native bench: ~ 400

Lionheart / noop

Vellamo: Metal 350

Antutu:

Quadrant:

Set CPU native:

CF-Bench:

Lagfree / noop

Vellamo: Metal 382

Antutu: 7647

Quadrant: 2471

SetCPU native: ~ 482

CF-Bench: 4743

Wheatley / sio:

Vellamo: Metal 370

Antutu: 6717

Quadrant: 3140

SetCPU native: ~ 484

CF-Bench: 4938

For comparison, the HTC One X (global, NVIDIA chip) has Vellamo scores of 1591 for HTML5 and 475 for Metal. (http://www.engadget.com/2012/09/21/vellamo-benchmark-adds-cpu-and-memory-tests/)
[HTC Rezound] shrike1978:
24 hour test started for tomorrow's release. Big changelog this time. :)
[HTC Rezound] brenuga:
I think from my updated benchmarks, you could infer that:

1) Lionheart / ROW is a very good combination for smoothness/responsiveness of UI. It scored highest on the Vellamo HTML 5 test which has all kind of screen reloads/redraws, zooming in and out on web pages and scrolling of web pages. If you browse the web a ton, or are going for max launcher smoothness, this may be the combo for you.

2) Intellidemand/noop seems to be the best choice for all-around system performance. It's designed to ramp up the GPU when needed and go down to lower frequencies when the GPU is idle. Reading a bunch of other forums seems to indicate that intellidemand has pretty good battery life, as well.

3) Wheatley scored well on the Vellamo Metal and CF-Bench general cpu / io tests, but trailed behind others for graphics-intensive benchmarks like Antutu and Quadrant. However, as many have said and experienced, it is great for battery life because it keeps the phone in deep sleep as much as possible when the screen is off.
[HTC Rezound] shrike1978:
New version posted. Added RNG optimizations to this one, so you shouldn't need the entropy tweaks anymore. I started conservative in this version, but I have room to bump them up a little more if it appears that I need to. New governors and some optimizations as well. I did a bit in the backend as well. I added a few commits not listed to start getting rid of some compiler warnings, so I can think about considering the possibility of maybe moving to the Linaro toolchain. (was that non-committal enough for you?)

build 13.01.23

Add new governors

Wheatley - sleeps very deeply. Great as a screen off governor

Intellidemand - Intelligent ondemand. Acts like ondemand under high GPU load, but more conservatively when under a low GPU load.

Add dynamic fsync control - Automatically disables fsync when screen is on, then flushes caches and resumes normal operation when screen turns off

Increase available bandwidth at lower clock speeds - Should increase responsiveness when underclocking or running a conservative style governor (such as lionheart)

Increase RNG (random number generator) thresholds - Provides the benefits of the entropy generation tweak without requiring a background service

Add JIT (just in time) compiler for packet filters - better network performance

CPU frequency scaling fixes - sometimes, the cpu would forget it's clock speeds

OOM driver updates
[HTC Rezound] Snuzzo:
Awesome work Shrike! What toolchain you building this on?
[HTC Rezound] shrike1978:
Currently still on 4.4.3, but it should be on 4.6 for the next version.
[HTC Rezound] Snuzzo:
If you bring in these 2 commits

https://github.com/Snuzzo/vigor_aosp_kernel/commit/a9defc09583cfa181591659c03b260d869dafc83

https://github.com/Snuzzo/vigor_aosp_kernel/commit/011df8dc9c3d432c1a08f62969e05d331d6b5f3c

You should be able to build off this toolchain:

https://github.com/VigorCM9/linaro/tree/12.12
[HTC Rezound] brenuga:
Thanks for adding intellidemand and wheatley. Flashing this now, going to run some more detailed benchmarks, focusing on I/O, now that I can run ID and lionheart head-to-head.

This just seems like an idea off the top of my head, but with this kernel and SetCPU I could set using lionheart for whenever I have my browser as the foreground app, then run intellidemand the rest of the time and wheatley while Screen Off. I know, I know, kinda complicated but I have to admit I was jealous of how lionheart spanked ID on the Vellamo HTML5 test. :)

Shrike, did I mention you're my new best friend? (Sorry Neo and Snuzzo!)
[HTC Rezound] Snuzzo:
All good my friend. Me and shrike don't rival man. Been awaiting someone else to post some goodies too.
[HTC Rezound] eriscentro:
Re: [KERNEL][AOSP][01/23/13] Ermahgerd Kernel [ICS][JB][PMEM][ION]

How much of a pain is it to create a build that'll have WiFi worming with cm9?
[HTC Rezound] shrike1978:
It wouldn't be too difficult. I'll try to offer something by next release at the latest. It might be sooner, depending on some things I'm working on right now.
[HTC Rezound] brenuga:
Shrike when you say your kernel has OOM drivers, do you mean you specify built-in OOM tweaks in the kernel or something more abstract? I'm just wondering because when I was on Sense roms, I found Supercharger V6's OOM tweaks to be helpful. But then I tried OOM tweaks in Pimp My Rom and they led to instability. So I realize it is a delicate art to find that "sweet spot." I am currently *not* running any scripts because of the level of tweaking Neo put into Rage 2.
[HTC Rezound] shrike1978:
It's an update to some of the code that handles OOM decisions. The actual memfree values are still the same.
[HTC Rezound] eriscentro:
I'd really appreciate it, not sure if I should switch to JB as my dd yet. If it's stable enough I'd be happy to, but I'm not sure yet.

-Thanks
[HTC Rezound] brenuga:
Re: [KERNEL][AOSP][01/23/13] Ermahgerd Kernel [ICS][JB][PMEM][ION]

I use RAGE 2.3 as my daily driver. It's stable and noticeably faster than ICS. The only thing that is sort of an issue is HD video, and that is tolerable.

Give it a try with Ermahgerd and see if you like it. Btw I personally use Nova launcher instead of the Apex that comes with RAGE.
[HTC Rezound] highdro:
Can someone post a mirror for this kernel real quick? AFH is making me angry right now!
[HTC Rezound] brenuga:
Re: [KERNEL][AOSP][01/23/13] Ermahgerd Kernel [ICS][JB][PMEM][ION]

Look at my signature on full xda site. I have a "Neo Files" dropbox mirror that has Neo's roms, as well as funky kernel and ermahgerd. I'm pretty sure I added the new update to the mirror yesterday.

---------- Post added at 06:15 AM ---------- Previous post was at 06:14 AM ----------

Very thankful for the new release :) would just like to politely request sio scheduler for the next release, if you deem fit.

2) Does this kernel already come undervolted? If not, what's a good recommendation for the voltage tables? I bumped everything down by like -12.5 * 3 using Kernel Tuner. Screen attached.

EDIT: ok actually bumped it down one more time, for a total of -50 across the board. No FCs yet and it seems to have slowed battery drain.
[HTC Rezound] highdro:
There are no links in your sig other than the links to neo's rage thread and shrike's kernel thread
[HTC Rezound] shrike1978:
Undervolting depends a lot on your phone. Some can handle it better than others, and lower frequencies can usually take it more than higher frequencies. I don't have any undervolting by default. -50mV is a good safe spot to start for most phones, and a lot can be dropped more than that. Mine runs fine at -100mV across the board. If you start playing with it at the individual frequency level, you can usually get it lower, but it becomes a question of how much time do you really want to spend on it. If you start playing with it a lot, I recommend an app from the Play Store called Stability Test. It has a scaling stability test for rooted phones that tests all available frequencies, and keeps a very heavy CPU load on the phone at all times. You just let it run for a while, and if there are any stability issues, it'll find them.
[HTC Rezound] brenuga:
Sorry here you go - NeoFiles
[HTC Rezound] brenuga:
Shrike, thanks for the undervolting answer and explanation. I will say this, I take back what I said about not getting good battery life with lionheart/ROW when I first flashed ermahgerd. I realized now it was only because I was used to funky kernel being undervolted out of the box. When you turn down the voltage even by 50, the battery drain slows significantly, even under moderate use. I unplugged this morning before I went to work and an hour plus later, it was still on 100 pct. That. Rocks. :D

PS BTW, when I searched on Google Play for Stability Test, the first app that popped up was Horse Stable Tycoon. LOL
[HTC Rezound] shrike1978:
I'm on the fence about putting in a stock undervolt. I think most phones can handle -50mV, but at the same time, I don't want to risk adding any instability.
[HTC Rezound] brenuga:
My vote would be yes. Neo's RAGE with Funky Kernel has been undervolted for awhile and I've never seen any people having issues with that. My other thought is based on my experience, after I flashed the latest ermahgerd and started using my intellidemand / noop combo, I was losing a percentage point a minute and I was like, WTH. Don't take this personally but I'm just saying it could affect adoption of your kernel if it didn't have the battery life people were used to. Just my 2 cents.
[HTC Rezound] darienms1986:
Re: [KERNEL][AOSP][01/23/13] Ermahgerd Kernel [ICS][JB][PMEM][ION]

And can't people bump it up if need be. I would vote yes for default-50mv but then again it isn't hard for me to bump it down on my own....So do as you please. Awesome kernel by the way, keep up the great work
[HTC Rezound] iHateWebOS:
Re: [KERNEL][AOSP][01/23/13] Ermahgerd Kernel [ICS][JB][PMEM][ION]

Chip dev says:

http://xdaforums.com/showpost.php?p=34153152&postcount=15576
[HTC Rezound] chupajr:
Very interesting read, thanks!

If only we could come up with a way to empirically test all these seat-of-the-pants claims, like "doing X makes my phone so much snappier" and "doing Y gives me 50% more battery life". But I guess the huge amount of variable involved make it nearly impossible. But all of brenuga's benchmarks make for a good start. :)
[HTC Rezound] brenuga:
Re: [KERNEL][AOSP][01/23/13] Ermahgerd Kernel [ICS][JB][PMEM][ION]

Appreciate it! Lionheart / ROW is definitely a good combo if you surf Web site lot on your phone.
[HTC Rezound] brenuga:
Re: [KERNEL][AOSP][01/23/13] Ermahgerd Kernel [ICS][JB][PMEM][ION]

Running tron 1.2 with ermagherd, Lionheart / row and undervolted by 75. Beastly,beastly battery life. I've been using my phone for like 15 min and its still on 100 pct battery life.
[HTC Rezound] shrike1978:
Sorry about the short update cycle this time, but I wanted to give you this bonus before the weekend. The new update is now built with the Linaro 12.12 toolchain. Also added SIO and removed CFQ.

build 13.01.25

Compiled with Linaro 12.12 toolchain

Added SIO I/O scheduler

Removed CFQ I/O scheduler - CFQ is the worst possible option to use with flash storage, and removing it trims the size of the kernel down a little
[HTC Rezound] jtwebfusion:
Re: [KERNEL][AOSP][01/25/13] Ermahgerd Kernel [LINARO]

Thanks for the update! Link in OP still says 23, not 25.
[HTC Rezound] shrike1978:
Fixed. The link was right, I just forgot to change the text.
[HTC Rezound] brenuga:
Wow, thanks for the quick new release and for adding the new scheduler options! I'm sure updated linaro will boost things too. Flashing now...
[HTC Rezound] fastecotec:
Re: [KERNEL][AOSP][01/25/13] Ermahgerd Kernel [LINARO]

I found this today....
[HTC Rezound] Snuzzo:
Re: [KERNEL][AOSP][01/25/13] Ermahgerd Kernel [LINARO]

Gonna be doing an upstream shrike. Get with me if you one also.

Sent from my ADR6425LVW using Xparent Green Tapatalk 2
[HTC Rezound] shrike1978:
New version up in OP. Brought the base Linux version up to the latest in the 3.0.x series. The new I/O scheduler is a bit like SIO, but more concerned with prioritizing synchronous operations. Other behind the scenes stuff is mainly to improve memory performance.

build 13.01.30

Upstreamed to Linux 3.0.61

Addded Zen I/O scheduler

Addded optimized CRC32 algorithm

Enabled memory compaction when killing processes

Increased the RNG thresholds a bit

Addded frontswap support

Removed powersave governor
[HTC Rezound] nimbice:
Re: [KERNEL][AOSP][01/30/13] Ermahgerd Kernel [LINARO]

Any recommendations on which governor and scheduler to use with your pacman pmem Rom?

I don't use much graphical stuff so high performance isn't a priority. More concerned with battery preservation during long sleeps. I don't know much about kernels but I know enough to get the impression these details are significant. :)
[HTC Rezound] shrike1978:
Wheatley governor sleeps the best. It doesn't do the best for screen on operation, but if you have a fairly high ratio of screen off time, it'll provide you the best overall battery. If your screen on ratio is a little higher, it might not be the best choice. Intellidemand and lionheart are both good mixtures of battery and performance. Lionheart has the better general performance for the launcher, web browser, etc. Intellidemand has the better performance for graphically intensive stuff (it scales according to the GPU load).

For the scheduler, I consider ROW to be the best overall. The others all offer certain advantages in various situations, but for general use, ROW is probably the best right now.
[HTC Rezound] iHateWebOS:
Re: [KERNEL][AOSP][01/30/13] Ermahgerd Kernel [LINARO]

Did you use my version of zen? im not a big fan because it lags pretty noticeably at high loads. I tweaked the version I use slightly, I'd like to know if that's why it's laggy
[HTC Rezound] shrike1978:
I took it straight out of Zen kernel. I haven't actually tested it extensively beyond a basic functionality test. It prioritizes synchronous requests, so it's possible that it may be starving asynch requests in the meantime.
[HTC Rezound] brenuga:
I'm using ermagherd with Neo's TRON ROM, which is based of shrike's pac-man. When you compare it to a stock kernel, Lionheart / ROW is noticably smoother in terms of UI feedback. I also run the zram mod that you can enable when you flash ermagherd.
[HTC Rezound] iHateWebOS:
Re: [KERNEL][AOSP][01/30/13] Ermahgerd Kernel [LINARO]

Zram is really not needed, it speeds up frequently used tasks, but lessens over all available ram. Our device has enough memory that it should perform just fine the way it is.
[HTC Rezound] shrike1978:
The main benefit we get from zRam swap is that in stock Linux, memory is only compacted when it is paged. That never gets called in Android because we normally don't have a swap partition, so having zRam enables that. I added a commit from cyanogen in this version that calls memory compaction when the LMK is invoked, so that benefit is now null. It still has some benefit for caching frequently used apps, but the cost-benefit ratio is now more questionable.
[HTC Rezound] brenuga:
Thats actually interesting, I read on a PA thread last night where someone had posted that the FPS on Epic Citadel (Unreal Engine 3 demo just released for Android) actually decreased when PIE was activated. Now I know PIE and LMT are different sources but I'm sure there is something to be said for memory taking a hit when PIE/LMT is active because of how graphically-intensive it is. Thanks for working in that commit.

So you are saying leave zram off on the latest release?
[HTC Rezound] shrike1978:
Dealers choice now. I think there's less of a benefit from it now than there was before. You'll likely see the most benefit from it if you multitask a lot.
[HTC Rezound] tomglass:
I'm having trouble flashing this kernel... I am S-on and running TRON v1.2. I go through the Aroma installer and it creates the PH98IMG.zip on my sd no problem. However, when I reboot into bootloader, it comes up to fastboot ac and bootloader selected; when I hit the power button, it goes to the hboot screen, and says, "SD checking... loading...[PH98DIAG.zip] No image! loading...[PH98DIAG.nbh] No image or wrong image! Update gift..." and then it reboots into recovery. Any ideas? I am running TWRP recovery. Thanks for whatever help you can provide.
[HTC Rezound] iHateWebOS:
Re: [KERNEL][AOSP][01/30/13] Ermahgerd Kernel [LINARO]

There's need to needs to be no other zips in the same directory as your ph98 zip. Try seeing if you have any random zips and move them to a different folder
[HTC Rezound] TheBr0ken:
Re: [KERNEL][AOSP][01/30/13] Ermahgerd Kernel [LINARO]

Honestly I have heard of issues with twrp and aroma.
[HTC Rezound] tomglass:
Thanks for the tip! There were several other zip files in there... I moved them to a different folder and it worked like a champ! :)
[HTC Rezound] shrike1978:
New version posted in OP. This update focuses exclusively on memory and I/O performance, and I think it shows. The smoothness under load and the responsiveness during heavy I/O is the best I've put out yet.

build 13.02.05

Built with Linaro 13.01

Implemented optimized memcopy

Implemented optimized string functions

Implemented optimized R/W semaphore functions

Prevent aliased requests from starving other I/O

Asynchronous I/O optimizations

Various I/O and memory tweaks
[HTC Rezound] redduc900:
It's working beautifully w/ your PAC-Man ROM and the entropy tweak, along w/ the Lionheart gov. and Row I/O. With SD card cache size is set to 2048k, and freq's set to 384MHz / 1512MHz, my phone has never run smoother. Thank you shrike
[HTC Rezound] brenuga:
Just upgraded, thanks for the update! Shrike, what do you recommend for SD Cache size? I just noticed mine said 128 so I bumped it up to 1024.
[HTC Rezound] shrike1978:
I'm not really sure how ROW reacts. I haven't tested other values yet. I need to do some benchmarks and come up with a good default.
[HTC Rezound] brenuga:
After setting a new value, do you have to reboot before it takes effect?
[HTC Rezound] iHateWebOS:
Re: [KERNEL][AOSP][02/05/13] Ermahgerd Kernel [LINARO]

No, but i always test higher if i set up my new values and then reset. Upon reset i give it a second to settle and run antu before opening any other apps. My scores are always highest following this method.
[HTC Rezound] redduc900:
I've been using SD Tools, available in the play store, to tune the cache size. The sizes that normally work the best for me are 2048 and 3072.
[HTC Rezound] gleggie:
Sweet, gonna test this out on Infection, are there specific instructions? I have never flashed a kernel before but from what i've read, you just wipe cache and dalvik and then flash.
[HTC Rezound] shrike1978:
Re: [KERNEL][AOSP][02/05/13] Ermahgerd Kernel [LINARO]

The installer does everything for you, including cache wiping. Just flash and go.
[HTC Rezound] gleggie:
Sweet thanks!

For good battery life, does lionheart with Zen sound good?
[HTC Rezound] brenuga:
Re: [KERNEL][AOSP][02/05/13] Ermahgerd Kernel [LINARO]

Lionheart / ROW is probably the combination you should try first. That's what got me to flash this kernel in the first place. Don't forget to use Kernel Tuner to undervolt cpu across the board by at least 50, as this kernel doesn't undervolt by default.
[HTC Rezound] mvmacd:
does this work with s-on and TWRP? Is there a boot.img version I can flash in hboot? thanks
[HTC Rezound] shrike1978:
It works fine for S-ON, and it works fine in TWRP. I'm not totally sure on the automatic reboot behavior after flashing it in TWRP. As long as you reboot to bootloader after you're done to flash the boot.img, you should be fine. If it tries to reboot normally, just pull the battery and manually go to the bootloader.

I've actually never made a boot.img version of this other than the CM9 version that I bundled in the last version of CounterShrike. It's actually a much bigger pain in the ass to make a boot.img version than you'd think.
[HTC Rezound] mvmacd:
Re: [KERNEL][AOSP][02/05/13] Ermahgerd Kernel [LINARO]

I'm confused.

Twrp lets you choose to reboot normally or bootloader or recovery. But why do I need to flash boot.img when you don't have any?

And so I can flash over INFECTION? And if I wanted to return to funky kernel I just flash the funky boot.img ?

Thanks appreciate the help

Swiped from my Rezound using xda-developers app