yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Lxeon:
umm , i think higher will get high freq, i test and still hot:crying:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Latest Update DOES seem better on my Battery (at no cost to performance). Thanks!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
I'm finding improved battery as well in my early testing (quite substantially)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
NOTICE

I noticed that dynamic stune boost behaviour has changed on latest build and is different from setting the boost in /dev/stune. Assignment of tasks to cores is different for the two methods, which I find strange. I'll need to investigate. This has resulted in dynamic stune boost performing worse. You can enable the GPU Profile rendering and investigate.

For now, what I'm rolling with is regular stune boost of 20 (/dev/stune/top-app/schedtune.boost), and no cpu-boost or dynamic stune boost. I'm getting decent smoothness and improved drain rates compared to last build still.

Try out different configs and let me know what you guys think :). Looking forward to hearing the results.

On another note, I have developed a script to collect performance metrics so that we can have a quantitative means to verify improvements in performance. I'll release it once I feel it works well
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Just a little clarification, benchmarks are useless and I never run them unless I am suggested otherwise. That's why I posted Androbench results before (on 1.3.0) and after (1.4.0) and "deduced" I should give 1.4.0 some time to settle. Later in the evening I will run Androbench again on 1.4.0 and maybe have some "conclusion" about all new & improved cfq.

:)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
For a more fair comparison, do an fstrim before every test and close all apps
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Thanks, will do :)

Just don't want to start any benchmarks wars or something in this thread so that's why I wanted to clarify :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Almost all better now :) before and after (before @17:59, after @08:18)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
1) how to do an fstrim? (for the androbench test in i/o)

2) also i took into consideration your post above and i can see as well that dynamic stune boost does not perform as it should in v.1.4.0. If i use the normal top-app schedboost and i increase it by the same amount (in my case to 20) the smoothness in the gpu render graph gets a lot better. I tried both dynamic stune boost and top-app schedboost and the only one that results in a quantifiable improvement in smoothness is the top-app schedboost.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
1. Here you go :) https://play.google.com/store/apps/details?id=com.fifthelement.trimmer

2. Yup same observations here, hence my new recommendation
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ilia1985:
[MENTION=6745491]joshuous[/MENTION] [MENTION=5438598]RenderBroken[/MENTION] Wow guys I'm seriously impressed with the latest build compared to 1.3.0. I have slightly modified stock settings with [MENTION=261663]mostafawael1998[/MENTION] help. Basically using dynamic stune 50 CPU boost O [MENTION=2722699]5000[/MENTION]ms and uprate limit us 1000 for both. And man is oos smooth ??
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
1. We don't like terminal apps & manual commands anymore? :silly: :laugh:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ilia1985:
And here are screens of normal scrolling and up/down jerk scrolling without lifting finger off screen.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
The new version is super cool ! Splendid. Manages average load under 1200Mhz. Trust 15hrs SoT is no longer a dream. Stock settings, No Stune Boost and Disabled Input Boost as well.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] cosminnn:
Hi, have you done any vo-wifi tests with latest versions? My network will soon be implementing vo-lte and vo-wifi calls, I do not want to take any risks off not working. Specially vo-wifi will solve a lot of coverage topics for me.

Thanks.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrWilsonxD:
No, I have not tested any of the later versions.

Still, I would recommend trying the ROM. You'll know immediately if voice over Wi-Fi isn't working by the status bar indicator, or if you turn on airplane mode and turn on Wi-Fi, then try to make a phone call/send a text message. If they go through, vowifi is working. If it doesn't go through its not working.

In the event it's not working, it's no big deal. Just dirty flash whatever rom you were on and you'll be back to normal.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ilia1985:
Great job guys on latest build ? 1st cycle set dynamic boost to 20 and turned off CPU boost.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Read post #320.

According to Dev.....on latest version, you should not be using Dynamic Boost. You should be using this instead:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ilia1985:
Im no noob and have been doing some monitoring tweaking with [MENTION=261663]mostafa[/MENTION]wael1998 help. And from what I have seen dynamic boost is more efficient as it prefers little core specially when idling reading or typing unlike top app boost that you mentioned which preffers big core in above mentioned tasks specially in idling. Which in turn results in lower active drain by about 1-2%/hr as compared to same value on top app boost.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
I seriously should contact XDA to change my XDA username
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ilia1985:
You definitely should I know I did ? or simply change your other usernames to this ? sorry for the OT
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
I'm just echoing what the Render EAS Kernel Dev had said.....I'm the noob. Since it's their Kernel, I figured they would know best
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] stoyanovvitalii:
And which settings is better for balane between battery and smoothless on latest 1.4.0?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
Stock settings.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
I prefer to set the /dev/stune/top-app/schedtune.boost to 20 and disable all cpu-boost
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
The disadvantage is that your battery may drain a bit more when watching YouTube videos, due to unnecessary boosting. I'll diagnose the issue with Dynamic Stune Boost when I have the time.

Aside from that, how're you all finding battery drain? Mine has improved by around 2% per hour
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
Mine has improved by leaps and bounds. Couldn't have ever achieved this milestone on other kernels. My usage is mostly light to average and the current kernel fits in best for my usage. Not sure how would it flair for people with heavy usage. Below is my usage from 95% to till now.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
Man, those figures are awesome. Which ROM are you on? Are you using any other tweaks to improve battery life?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
Fresh restore of Stock 4.5.10 with just few Google Apps debloated (Drive, Music, Videos, Photos & Duo). No other tweaks except turned of the Input Boost (Set it to 0Mhz) and blocked 3 wakelocks (enable_qcom_rx , enable_wlan_ws & Netlink) in EXKM.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] aswinrulez:
Youtube video was stuttering when in 720p. It plays smoothly when set to 480p but yes, i did notice battery drain faster than usual while buffering videos.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
[MENTION=6745491]joshuous[/MENTION] [MENTION=5438598]RenderBroken[/MENTION] having spent a good deal of time with v.1.4.0 of the kernel i've diagnosed 2 things.

1)First the battery consumption has been awesome for me. As you said i'm getting almost 2%/h less drain than 1.3.0.

2)On the downside, even though this kernel runs smoothly when you keep the finger on the screen, it's not as smooth during flings. (when i just touch the screen to scroll and take the finger from the screen) Even though i've increased the input boost times it's still not getting better in any way. Btw i've tried this with both dynamic stune and normal top-app at 10, 20 and 30. If that can be improved in one way or another i think there won't be any other issue. I remember that in your Oneplus 3 kernel fling interactions were a lot smoother. Actually the whole UI during interactions ran at an almost 60fps no matter the situation.

3) There seems to be an issue with youtube playback @ 60fps though i think someone else mentioned first above. Keep up the good work :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Was about to post this. Thankfully [MENTION=2638236]Stupifier[/MENTION] notified me and Ilia and referred to this post :good:

Thanks for the heads-up! :highfive:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ilia1985:
I have been playing with both since yesterday and monitoring with CPU float + GPU tool. In my brief observation dynamic boost prefers little core more than big specially when idling which results in better hourly drain by about 1-2% as for top app boost for some reason it prefers big core instead even when idling little will be inactive most of the time while big will keep spiking 300-825 occasionally. Now Mostafa told me to set prefer_idle to zero for top up and that behavior improved and top app idles. Better now when say on telegram chat and no interaction but still CPUs are more active and idle less compared to dynamic which is interaction based. As for performance both seem to be very close based on GPU tool. Hope this made sense
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] reawo:
by any chance is it possible to pinpoint me to the part of the ex kernel manager app where I can set all this boosting etc? can't seem to find it :cyclops:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] shadowstep:
EX Kernel Manager
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vaibhav0305:
Where in ex kernel manager
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
Tools/user settings ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] reawo:
is it possible to provide a Screenshot of the possible changes or the "best" changes if available?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vaibhav0305:
If possible can u share all possible best setting.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] stoyanovvitalii:
In my experience, dynamic boost set - 0

And schedtune.boost set to 20.

And I feel better smoothless.

Better than set dynamic boost to 10 or 20.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ndarkside93:
It's a bug with the latest build. He's looking into it.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] reawo:
my problem is I don't know the paths to the specific settings, any advice how to find them or is that just knowledge I gotta ask for? :eek:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ndarkside93:
Here are the paths
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
That's not a top-app path (maybe you want it that way, didn't read everything :) )
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
This is what I run currently for best results too.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
This is top-app path :)

Edit: damn xda app, wanted to edit my previous post.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] reawo:
do I set both the top app and the normal schedtune.boost to 20 or just the top app value?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Just the top-app. Setting the normal one will cause you a lot of much higher idle drain. Use CPUFloat to see the effects of changing the boost values
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] stoyanovvitalii:
Awesome kernel! Thank you!

excellent smoothness and battery power consumption.

Can't wait for the next update)

And one more thing: can you add the set to change minimum brightness value. As I remember by default it is set to "8". Should be better to set it to value "1". On other kernels (simpleGX) it is possible to change those value in EX.

" /sys/module/mdss_fb/parameters/backlight_min"
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] reawo:
only value I can see in that folder is backlight dimmer, is that the value you mean?

oh and I set the top app schedtune.boost to 20 and the dynamic dune boost to 0

any other recommended changes to make in user settings?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] lksosa:
I've also been playing around with stune/boost and found that setting schedtune.boost to 10 & dynamic_stune_boost to 20 gives me a balanced performance with an idle drain of under 1% /hr

I'm also using enable doze for GSM Magisk module.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] reawo:
do you still get all notifications instantly when using that module?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] lksosa:
Yeah no issues with notifications
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Califorskin:
Wifi disabled

WiFi not working on stock OOS. Any others with the same issue?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Did you dirty flash the ROM first?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Califorskin:
I did not. I have to do that even with stock kernel?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Yup, if you face a problem, make sure to always dirty flash OOS first.

To everyone else, I've updated the OP with a "Reporting Bugs" section. I hope everyone can do their due diligence and discount all the other possible causes before reporting bugs. Thanks everyone, because I have around around only 3 hours (or less) a day on weekdays to work on ROMs, kernels, helping with fixing other people's issues, do writeups, trace code, and read up on new Android developments.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Califorskin:
That's my bad. I'll give it a shot now, thanks.

---------- Post added at 02:04 AM ---------- Previous post was at 01:40 AM ----------

Sorry to bother once again, but dirty flashing the ROM first didn't seem to help. No rush for a solution. Just for clarity, my steps were:

-Dirty flash OOS 4.5.10

-Flash RenderZenith

-Reboot
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Thanks, can you collect kernel dmesg logs in Syslog app and send it? What do you mean by wifi doesn't work? It can't turn on, or it can't connect?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Califorskin:
I can get you one tomorrow. Before that, it's worth noting that I'm not currently rooted. I don't know if that affects anything for your kernel. Regarding the WiFi problem, it just doesn't even turn on. I can toggle it as many times as I want, but it will remain in the off position with the loading bar being shown continuously.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brozef:
Did you try dirty flash rom, reboot, flash kernel, reboot? I had this problem once and this help me
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Thanks for letting me know I'll check the kernel zip and fix it in next build if there were issues. Alternatively, flash the previous kernel v1.2 first, then v1.4
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
I have that WiFi bug too, but only on unsupported ROMs (OmniRom for example) haha. ElementalX Kernel offers an option to flash the WiFi drivers in Aroma, so it works in all ROMs I've tested so far. Just a point of improvement, but not necessary as on OOS everything is great.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] SlyUK:
Has development of the original Render Kernel now been suspended therefore to concentrate on RenderZenith ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
https://xdaforums.com/oneplus-5/development/render-kernel-oos-n-eas-r1-t3639839/post73476047
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Of course!

Inb4itwascool

Thanks. I believe I found the issue and should have a new build out shortly. Wanted to add in a few more changes before next release. ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] pranay.pratyush:
Would you guys be adding underclocks anytime soon? Would that be very difficult to merge in the energy model.

What about over clocks and undervolts.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Does this kernel work on xXx no limits that is based on OOS
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
Yes
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
We don't agree with underclock/overclock/undervolting, so it won't be added. It'll destroy the usefulness of the energy model, and we also don't believe it fits well with the user experience we want to create
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Over 24hr use so far....excellent battery life while still being fast. I'm happy....and no reboots like I was having on the old Render Kernel. Yay!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Saiger:
[MENTION=5438598]RenderBroken[/MENTION] [MENTION=6745491]joshuous[/MENTION] with multiple reports of people running the kernel for hours without any randomreboots I am curious why I experienced 2 reboots just after one hour of usage. Do you guys have any idea what might have caused this?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Ummm.....in Render's previous post I think he already figured out your issue and will push an update soon to address it, no?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Saiger:
yes ive read that. But iam still curious what exactly might have caused the reboot since i was seemingly the only one experiencing them.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] turbotorsten:
Yes

---------- Post added at 02:46 PM ---------- Previous post was at 02:44 PM ----------

Maybe try a clean flash or a different stock rom base. I'm using xXx no problems, with the old RenderKernel I had WiFi problems on stock stock
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Does it make SeLinux status to permissive?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
I haven't experienced a random reboot, but looking at your logs it seems to indicate the problem is due to qcacld (for WLAN). We used the CAF version 5.8 qcacld in the latest test build, but have switched back to 5.7 in our testing. Hopefully that will solve your kernel panic.

Yes thanks for spotting this one. We'll take note to set it as enforcing in the next build.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CT-CRC:
Holy...this is one smooth kernel, and battery life is outstanding as well. Really looking forward to this project <3 much love OP.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Hope to be pushing a new release asap. It resolved a couple other issues we noticed with WLAN. So far I have been testing since yesterday and it's been rock solid.

That is the goal and it will ONLY get better from here. You can really see the efficiency when you use an app like DevCheck from Flar or any other frequency overlay where you can see the freqs of all the cores. When making phone calls or watching Youtube you can clearly see that we are using only the little cores and as little as possible. Way less than Stock HMP/QCOM. I am really happy with the results so far.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
God damnit why are doing such a great work? Now i have to change to OOS again. THX for that :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
It would be amazing to see a non-OOS Kernel variant but since I don't think that is in the near future, I'd recommend the switch....this Kernel makes the phone fly with minimal battery-juice.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] SlyUK:
Sounds awesome. Anyone tried this kernel with No Limits 2.9 rom yet ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
Already done :D

Im on xxx rom. Till now no problems
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ilia1985:
Easiest way I found to fix WiFi issues after swapping kernels is:

1. Flash ex kernel chose to install wifi module

2. Flash stock kernel boot.img

3. Flash root of choice.

4. Flash your desired kernel
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Apologies for the late reply, i was extremely busy and had some problems with my XDA account for some reasons i am unable to deduce. My setup is as follows:

1- /dev/stune/top-app/schedtune.boost = 5

2- Dynamic stune boost turned OFF (0)

3- Input Boost enabled. Frequencies set to 960 MHz for little cluster and 979 MHz for big cluster. Duration set to 1500 ms

4- Stock governor settings, everything else left untouched.

I am still using OOS 4.5.8, should be able to update tomorrow. But I am sure this won't affect results that much, if not at all.

My active drain rate is around 9%/hr with my mixed usage patterns.

Cheers!

---------- Post added at 12:24 PM ---------- Previous post was at 12:23 PM ----------

I just answered it now. Try it out and see if it suits you well.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
Can you share a screenshot of your gpu rendering profile by scrolling in settings and the home screen? So that we get a good idea of the smoothness you can achieve with those? According to my testing I've noticed that the gpu graph becomes choppy during fling touch interaction. Ty in advance!!!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
As an alternative to Mostafa's settings, here's another recommendation:

1. Set /dev/stune/top-app/schedtune.boost to 5-10

2. Set dynamic stune boost to 10-20 (I like 20)

The issue with dynamic stune boost is that it only (at the moment) boosts the frequencies of the cluster that a top-app task resides in. So why were there still performance issues? That's because top-app tasks preferred to stay on Little cores, which is likely overcrowded already. That means that the top-app task have to compete with the other tasks on the same overcrowded core for computing power. Imagine it like having a huge pizza (high frequency), but so many people have to share it such that you only get a tiny piece. This is why a task can run on the less-crowded Big cluster at a much lower frequency but still perform better than running on a crowded Little cluster with high frequency.

Now, setting the /dev/stune/top-app/schedtune.boost to 5 does two things. Firstly, it increases the perceived load of the individual top-app task, consequently biasing Schedutil to select a higher frequency (not by much). Secondly and most importantly, since the perceived load is higher (imagine a very hungry person), EAS decides that it needs to be shifted to the Big cluster (larger pizza). 5 was chosen because it's around the tipping point to cause the shift. Use 10 if it's not smooth enough.

Dynamic stune boost doesn't influence tasks to be shifted to the Big cluster, which is why top-app tasks tended to stay on Little cluster.

Combining both steps, we can influence top-app tasks to run on Big cluster (step 1), and a larger Dynamic Stune Boost value will cause the frequency to ramp up during touch interactions on the Big cluster where top-app tasks run (step 2). No unnecessary boosting when watching YouTube woohoo!

Tldr; You're in a pizzeria. Regular schedtune boost shifts you to a less crowded table. Dynamic schedtune boost increases the size of your pizza. Your stomach rejoices
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ilia1985:
Here you go I'm using same settings :) and I currently have 15% battery with 6hr+ sot and 40hrs total standby ?