yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
8.5 for all benchmarks.

This behavior of large variances is something particular to the Max 2.

In my Redmi Note 4 thread variances are around 1% and in terms of hardware the Note 4 seems like a Max 2 with a smaller screen. Difficult to understand why these large variances only happen with our Max 2.
[Xiaomi Mi Max 2  Guides, News, & Discussion] Jay_B:
Personally I think it might be due to kernel instability. Since Oreo the variance has increased I guess. What do you think?
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Yes, it seems to be kernel related.

One more reason for my next series be focused on benchmarking several kernels using the same base rom.
[Xiaomi Mi Max 2  Guides, News, & Discussion] pauldrudd:
That sounds like a great idea! Would love to see MSM with Hardrock Kernel
[Xiaomi Mi Max 2  Guides, News, & Discussion] 911-Future_Maker:
Excluding the first result Msm got 13h53m sot on average and RRO 14h52m both on overclocked kernels. They should pass 16h on normal 2ghz frequency making them best roms for battery ever. :good: [MENTION=3342533]svbarbosa[/MENTION] can you do only one test of msm with schedutil governer and reduced cpu clock to normal 2ghz? Many thanks for the time you spend making these tests, they're very useful.
[Xiaomi Mi Max 2  Guides, News, & Discussion] Shaolian:
Hi, I'm currently using Jay_B's DotOS (Nougat) rom.

How do I change CPU Governor and CPU Hotplug? I've install "Kernel Adiutor", but couldn't find any settings for "Hotplug". What I can see are "LITTLE governors" and "big governors".

Reasons are that I want to recreate the settings that were used for this performance benchmark.

Thanks in advance. Sorry if this hass been asked before.
[Xiaomi Mi Max 2  Guides, News, & Discussion] yepyup:
good information thx
[Xiaomi Mi Max 2  Guides, News, & Discussion] Jay_B:
Are you on Hardrock Kernel for nougat based ROMs. If yes then then only try those changes in cpu or gpu.
[Xiaomi Mi Max 2  Guides, News, & Discussion] ayush4261:
Hot plug is not included in hard Rock kernel. I requested the same but he clarified it's not needed for our device.
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Good News and bad news.

I found out the reason of the large SOT variances in my benchmarks.

You are probably aware that I start every benchmark with battery at 80%.

Have you ever wondered how I achieve this? Simple - I use an app that stops charging at an specified percentage.

The app I use and recommend is

[APP][ROOT][4.0+]Battery Charge Limit

.

This is a tricky app. The way to control charging varies a lot between devices.

Somehow, for the Max 2, the way the app chooses by default to control charging seems to work, but does not!!

Yes, charging LED turns off and yes, battery percentage indicator stays at 80%, but the battery keeps charging. :p

I figured this out after one of my runs with Hardrock kernel 13.1 reached 22 hours SOT with extreme overclocking. This simply could not be.

After this result I started checking battery voltage levels and found the bug.

Did some research and tests and was able to configure BCL to properly stop the charging at desired level.

All you have to do is change the control file to "qpnp-smbcharger-18" and voilá, all is good again.

The bad new is that the many dozens of benchmarks I have run so far may not be trusted.

The problem only affects the SOT, of course. Performance scores are good regardless of the battery level problem.

I found some ways to figure out bad benchmarks and filtered the ones I ran for Oreo roms. This is my last preview adjusted:

This explains why [MENTION=4479268]Jay_B[/MENTION]´s MSM Xtended got the 20 hours SOT. Unfortunately a false result.

Anyway all results from now on will be free from this inconsistency.

I was in the middle of testing kernels using the same rom. RRO 2018-0701.

Still have to decide If I will try to save all good benchmarks from this series or start over again.

My kids school vacation is over this weekend. At least I will have more time from now on. :)
[Xiaomi Mi Max 2  Guides, News, & Discussion] ne0t:
First, thanks a lot for your hardwork doing these benchmarking on Mi Max 2's ROMs (can't imagine how you did it..)..

About MIUI ROM, basically there are 2 branches, Stable ROM and Developer ROM (beta) :

*Latest Developer Global ROM (MIUI 10) * :

Recovery 1611M :

http://bigota.d.miui.com/8.7.26/miui_MIMAX2Global_8.7.26_8966518c5b_7.1.zip

Fastboot 2121M :

http://bigota.d.miui.com/8.7.26/oxy...26_20180726.0000.00_7.1_global_98bc71a4c1.tgz

*Latest Stable Global ROM (MIUI 9) * :

Recovery 1538M :

http://bigota.d.miui.com/V9.5.4.0.NDDMIFA/miui_MIMAX2Global_V9.5.4.0.NDDMIFA_fecf400643_7.1.zip

Fastboot 2087M :

http://bigota.d.miui.com/V9.5.4.0.N...FA_20180406.0000.00_7.1_global_fc8db01904.tgz

Hope you could find some time doing benchmark on these ROMs, thanks !
[Xiaomi Mi Max 2  Guides, News, & Discussion] Horned Duckie:
Wouldn't it be easier and, in fact, faster just to run all those battery life tests with battery charged 100%? ?
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
First 100% percentage may also be wrong. Some phones will keep charging the battery even after reaching 100%. So starting at 100% is not error proof.

I have added an Battery Voltage monitor app to my bag of tools. It displays the voltage in status bar, so I can always check it and it goes in all my screenshots. I believe this is the best way to make sure the battery percentage is correct, or at least the voltage is the same.

For the Mi Max 2, with the huge battery, the PC Mark battery test takes a VERY LONG time.

Say rom X has an SOT of 18 hours. If I start the benchmark at 100% it will run until charge drops below 20%, so it will take 14 hours and 24 minutes to run. With this duration I will only be able to run one benchmark per day.

Starting with battery at 80%, the benchmark will take 10 hours and 48 minutes, increasing the chances I run two benchmarks in one day.
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Here is a preview of kernels benchmarks.

The second hardrock set of benchmarks was done with the battery percentage problem solved.

For previous benchmarks I had to filter out bad benchmarks.

Now the SOT variances are back to "normal below 1%" values. :victory:

I am right now benchmarking Xtended x9.5, then I will go back to kernels with a fresh start.
[Xiaomi Mi Max 2  Guides, News, & Discussion] jbmc83:
hey man, glad uve sorted out the troubles with the SOT variances! kudos to your perseverence man! this is a LOT of work! i just hope ure also having a bit of fun doing this :)

cheers mate!
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Thanks mate. :good:

Time flies. I started benchmarking Mi Max 2 roms in mid april, almost four months ago!!

TBH the first weeks were very frustrating. Benchmarks would not finish and when they did most results were inconsistent.

I should have suspected there was something wrong with battery percentages earlier. I had some hints before but overlooked them. :silly:

At least now it is all sorted out. Too bad I have practically to start all over again. :p

But I am resilient. The show must go on. ;)
[Xiaomi Mi Max 2  Guides, News, & Discussion] Shaolian:
Hi, thanks for the replies, but I only understand now after flashing Hard Rock kernel that the Hotplug option isn't available. But no matter, the overclocked CPU to 2800 MHz and GPU to 1300 MHz is working flawlessly.

It's just amazing how the Mi Max 2 can be overclocked without any overheating issues :good:
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Here is another series of kernel benchmarks.

This time MSM Xtended is the rom used to test kernels.

Special thanks to [MENTION=4479268]Jay_B[/MENTION], [MENTION=7529222]Martichou[/MENTION] and [MENTION=6615644]Hard_Rock83[/MENTION] for supporting so well the Mi Max 2.

Finally benchmarks may be really trusted. All these were done with the battery percentage problem solved.

AceKernel is incredibly stable. Three runs with the same exact SOT. Two of these with exactly the same performance score. This is a first after running hundreds of benchmarks. :good:

I have an explanation about how I tested hardrock kernel:

Forgive me [MENTION=6615644]Hard_Rock83[/MENTION], but I am not brave enough to run benchmarks for hours (I really mean hours, each benchmark takes at least 10 hours) with your extreme overclock.

I know a lot of people are using your OC kernel with no problems at all, but phones and chipsets are not created equal and tolerances to OC may and will vary between same model phones. Maybe only one out of every thousand will suffer with OC but I would hate to be that one. :p

That being said, what I did was to apply Balanced profile from Hardrock_kernel_profilesv4.zip. The profile took care of GPU max frequency. I changed CPU min/max frequencies to 480/2016 to disable CPU OC. :cool:

[MENTION=4294020]jbmc83[/MENTION], I am willing to benchmark your fine tunning of hardrock kernel if you like.

Please PM me or post here your complete current settings, or better yet, create a KA profile and send it to me. :)
[Xiaomi Mi Max 2  Guides, News, & Discussion] Jay_B:
Thank you bro for the time and patience. Appreciate the details here. Good work .
[Xiaomi Mi Max 2  Guides, News, & Discussion] jbmc83:
my man! incredible work :) very impressive indeed.

thought id make ur life a bit easier and create a profile for you, so no need to implement all settings by hand one by one into kernel adiutor :D

Link: https://mega.nz/#!0H5EGYLY!KBbXBna6vmFBApSQXy1wkohyTx5SkVthPPBitChh9-A

im guessing the scores will be much lower on this profile since i tried to optimize it for battery life without sacrificing subjective performance during day to day operation. but very curious to see how much, if at all, battery life will profit :)

cheers mate!
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Guess you're anxious to see results. Here are screenshots of the first two runs.
[Xiaomi Mi Max 2  Guides, News, & Discussion] jbmc83:
haha no stress, take all the time you need! :)

(but yeah, im maybe a little bit curious ;) )

interesting, so work score is in the range of 75-85% of the OREO roms uve tested so far, with battery life 10 to 13% higher (about 1.5h SOT extra). funny, i expected lower scores but higher battery life gains :D
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
The PC Mark SOT is calculated for 95% of battery usage, not 100%, so a 16 hours SOT translates into 16 hours and 50 minutes for 100% battery.

Even with this adjustment, I have a feeling that these PC Mark SOT figures tend to be smaller than what you would get in real world.

PC Mark tries to emulate normal usage with many tasks, but looking at its screens while its running, I get the impression that it is somewhat accelerated.

When a real person is performing the same tasks, he/she will always be at a slower pace. Sometimes taking a look around, or talking to someone with the screen on waiting, or giving small pauses for many other reasons. The battery has a lot of "rest moments" and drain will be smaller during these moments. PC Mark imposes a higher pace with no "rest moments".

So a real person usage will most certainly translate into a higher SOT than the PC Mark benchmark, even after adjusting the SOT to 100% battery.
[Xiaomi Mi Max 2  Guides, News, & Discussion] jbmc83:
i kind of agree, but only to a certain extend. those pauses during screen on times are counteracted by standby drain, when the screen is off. u dont have those during pcmark runs, so all of the available battery capacity can be used for SOT. in regular usage u also have a bit of energy going into screen off times though.

however, since u have the same conditions for all roms the results are still comparable and give a nice overview on what one could potentially expect :)
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Here is the latest series of kernel benchmarks:

Newly added is another benchmark of Hardrock kernel, this time using the Kernel Adiutor profile created by [MENTION=4294020]jbmc83[/MENTION].

His focus is to lower battery drain maintaining a reasonable performance.

In round numbers his profile adds 2 hours to the SOT comparing to my tweak of [MENTION=6615644]Hard_Rock83[/MENTION] Balanced profile 4. :good:

I am open to suggestions regarding the next benchmarks. :)
[Xiaomi Mi Max 2  Guides, News, & Discussion] jbmc83:
awesome man! very good work, impressive! a quick headsup: the first read-ahead value for storage is also 2048 kB on my profile :)
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Hi there!

I was travelling overseas with little time for XDA.

Just got back and will have time soon for more benchmarks, specially if I smell a pie. ;)

As always, suggestions are welcome.
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Time to share more benchmarks.

Now I have added idle battery drain. For every benchmark I leave the phone alone for as long as possible using AccuBattery to register screen off battery drain.

The following table show a series of benchmarks done with [MENTION=8363123]ROMFACTORY[/MENTION]'s RRO using different kernel builds, followed by two benchmarks of [MENTION=6615644]Hard_Rock83[/MENTION]'s ArrowOS v3 and v4.

The table columns need some explaining:

Score - PC Mark Battery Benchmark performance score

SOT - PC Mark SOT (Screen On Time) under heavy mixed usage for 95% battery drain

SOFF T - Screen ofF time with phone idle after the benchmark in days/hours/minutes

SOFF % - Battery drop percentage as measured by AccuBattery

%/hour - Battery drain percentage per hour calculated using previous numbers

For more info on PC Mark benchmarks please read the OP (Opening Post)

It is interesting to note that there is a big difference between benchmarks of ArrowOS v3 and v4.

With v3 you have more SOT with an average performance.

With v4 performance increases at the cost of almost two hours of SOT.

This is probably due to some kernel tweaks done by [MENTION=6615644]Hard_Rock83[/MENTION] in v4.

Now each benchmark run takes around 24 hours to allow extra time for measuring the screen off battery drain. :p

Next will be ArrowOS v5. :)
[Xiaomi Mi Max 2  Guides, News, & Discussion] jbmc83:
brilliant! but dude, its [MENTION=6615644]Hard_Rock83[/MENTION] :D

also, if uve already downloaded arrowos v5, dont use it. hard_rock83 is revising it and will publish a new v5 soon-ish.
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
I had a feeling something wasn't right. Fixed! Thanks for pointing out. :good:

I got one uploaded to AFH today at 6:16 PM. Guess this is the right one.
[Xiaomi Mi Max 2  Guides, News, & Discussion] X_Blade:
Thanks very much for the analysis and results.hope you will do it for pie roms too :)
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Already started. See my post a few posts behind yours. ArrowOS Pie is already there.
[Xiaomi Mi Max 2  Guides, News, & Discussion] X_Blade:
Okay thanks for your hard work.waiting for aex pie too :)
[Xiaomi Mi Max 2  Guides, News, & Discussion] Hard_Rock83:
Yup i have merged latest caf pie tags in v4 ..thats why performance improved much...i am soon going to create pie kernel thread.. upstreamed 3.18.126 is ready and rocking..

I am also excited about working on 4.9 linux kernel ..hopefully it will be wonderful for our max 2..it will be ready soon
[Xiaomi Mi Max 2  Guides, News, & Discussion] pauldrudd:
Do you ever stop?! Man you deserve a holiday!
[Xiaomi Mi Max 2  Guides, News, & Discussion] jbmc83:
what do u expect? he is a hard... rock...after all ;) hahaha
[Xiaomi Mi Max 2  Guides, News, & Discussion] lekhraj.gupta@gmail.com:
Good to see you back with Pie roms comparison. Keep it up. Thanks for this performance test results.

:svetius:
[Xiaomi Mi Max 2  Guides, News, & Discussion] Hard_Rock83:
But I am happy that pie roms are doing much better in performance as well as backup with improved kernel.

as compare to oreo , i think pie will be a lot better in terms of quality, optimisations and speed.. day by day our max 2 life is increasing .hopefully android Q will be more better:)
[Xiaomi Mi Max 2  Guides, News, & Discussion] lekhraj.gupta@gmail.com:
The best ever SOT I got in MiuiAm in first charge cycle. Have a look at below ss.
[Xiaomi Mi Max 2  Guides, News, & Discussion] lekhraj.gupta@gmail.com:
Finally I got 16 hours plus SOT on MiuiAm with stock Kernel and some manual tweak with Kernel Adiutor. I am attaching the Kernel Profile for settings I used.
[Xiaomi Mi Max 2  Guides, News, & Discussion] jbmc83:
curious about arrow v7 :)
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Have more ArrowOS benchmarks:

For those arriving now, there is info on this table hidden below:

I am now measuring idle battery drain. For every benchmark I leave the phone alone for as long as possible using AccuBattery to register screen off battery drain.

The above table show a series of benchmarks done with [MENTION=8363123]ROMFACTORY[/MENTION]'s RRO using different kernel builds, followed by another series of benchmarks of [MENTION=6615644]Hard_Rock83[/MENTION]'s ArrowOS latest builds.

The table columns need some explanation:

Score - PC Mark Battery Benchmark performance score

SOT - PC Mark SOT (Screen On Time) under heavy mixed usage for 95% battery drain

SOFF T - Screen ofF time with phone idle after the benchmark in days/hours/minutes

SOFF % - Battery drop percentage as measured by AccuBattery

%/hour - Battery drain percentage per hour calculated using previous numbers

For more info on PC Mark benchmarks please read the OP (Opening Post)

It is difficult to catch up with [MENTION=6615644]Hard_Rock83[/MENTION]. A new Arrow build comes almost everyday. :D

[MENTION=4294020]jbmc83[/MENTION], another bench of v7 is just starting. :)

For those curious with other Pie Roms, for now I will focus on ArrowOS builds, mainly because IMHO it is our best Pìe option.
[Xiaomi Mi Max 2  Guides, News, & Discussion] jbmc83:
awesome, thx so much for your work :) u wouldve gotten another thanks already, but it seems like im out of them for today haha :p

the difference in SOT between ArrowOS and RR is quite big though! around 2-3 hours, crazy stuff....
[Xiaomi Mi Max 2  Guides, News, & Discussion] Hard_Rock83:
V8 arrow will be published today with another upstreamnd kernel 3.18.128 and merged CAF tag.and tons of features.HR kernel might be giving best sot on Oreo due to fact that on pie we have more performance and pie is still new in sources which continuously improving day by day..

But performance with that much sot is fine I guess..but still I will check and see if further we can push battery somehow on pie.
[Xiaomi Mi Max 2  Guides, News, & Discussion] lekhraj.gupta@gmail.com:
I don't know why but I always got reverse sot in RRO and Arrow Pie.

I. e. I got more sot in arrow pie vs rro with same kernel used by you.
[Xiaomi Mi Max 2  Guides, News, & Discussion] kalawy:
i have 2 files that mcs can use .. both say they disable charging but the phone says 90 while it's actually 100

mcs is tricky after every clean install and i forget which file i used with the previous rom :confused:

what is the file exact location of the file you used

also .. is the app better than magisk's mcs ?
[Xiaomi Mi Max 2  Guides, News, & Discussion] m1n15s:
Better u use battery limit charge from playstore
[Xiaomi Mi Max 2  Guides, News, & Discussion] kalawy:
i tried the app but the default control file works as a pseudo effect

that's why i asked for the location of the control file to add in the app
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
I did not test MCS. Reading its instructions I did not find a good reason to replace Battery Charge Limit.

To make BCL work on our Mi Max 2 all you have to do is change the control file to "qpnp-smbcharger-18".

Please refer to my previous post

#87

for more info.
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
ArrowOS v8 with some alternative CPU governors:

Thought I would catch up with [MENTION=6615644]Hard_Rock83[/MENTION]. Silly me! v9 is out. :D

This time I tried three different CPU governors:

alucard - is an old favorite of mine. Performance increased a little with no loss in SOT.

darkness - SOT increases by 1 hour and 30 minutes, but performance suffers.

smartmax - almost same SOT as darkness with a smaller performance degradation.

So alucard is a good alternative to replace default interactive governor.

[MENTION=6615644]Hard_Rock83[/MENTION], would you like me to try any other cpu governor?

For those here for the first time more info below:

I am now measuring idle battery drain. For every benchmark I leave the phone alone for as long as possible using AccuBattery to register screen off battery drain.

The above table show a series of benchmarks done with [MENTION=8363123]ROMFACTORY[/MENTION]'s RRO using different kernel builds, followed by another series of benchmarks of [MENTION=6615644]Hard_Rock83[/MENTION]'s ArrowOS latest builds.

The table columns need some explanation:

Score - PC Mark Battery Benchmark performance score

SOT - PC Mark SOT (Screen On Time) under heavy mixed usage for 95% battery drain

SOFF T - Screen ofF time with phone idle after the benchmark in days/hours/minutes

SOFF % - Battery drop percentage as measured by AccuBattery

%/hour - Battery drain percentage per hour calculated using previous numbers

For more info on PC Mark benchmarks please read the OP (Opening Post)
[Xiaomi Mi Max 2  Guides, News, & Discussion] Hard_Rock83:
Amazing . Bro can u check with dynainteractive governor.its not very fast but well balanced governor and should be providing much backup with balanced speed.:D
[Xiaomi Mi Max 2  Guides, News, & Discussion] Ruguoli:
I like zzmoove And smartmass- eps .
[Xiaomi Mi Max 2  Guides, News, & Discussion] m1n15s:
Make all and lets see wich one wins :laugh::laugh:
[Xiaomi Mi Max 2  Guides, News, & Discussion] Hard_Rock83:
[MENTION=3342533]svbarbosa[/MENTION] i want you to test max 2 life with my 1.3 pie kernel with msm hotplug on.

Let me know the result...i will be waiting for it:fingers-crossed:
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
CPU Governors

Better late then never...

I took the time to run a PC Mark Performance benchmark for each CPU Governor available in [MENTION=6615644]Hard_Rock83[/MENTION]'s ArrowOS v8.

This is a quick test that takes few minutes to run, using the same philosophy as the battery benchmark of using day-to-day tasks to produce the score.

Here are the results for the 33 CPU Governors:

Next I will work with the new pie kernel with CPU Hotplug.
[Xiaomi Mi Max 2  Guides, News, & Discussion] Hard_Rock83:
Test with 1.5 kernel and alucard hotplug ir u can test all hotplugs..

I think dont go for performance test..its all fine..but sot and backup with hotplugs on..test for all hotplugs..and choose interactive, alucard, intelliactive and dynainteractive governors..

Test for your usual sot table..:svetius:
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
Here are the screenshots missing in my previous post.

XDA has a 20 files limit per post.
[Xiaomi Mi Max 2  Guides, News, & Discussion] svbarbosa:
HR Pie Kernel with CPU Hotplugs

Here are the first numbers of [MENTION=6615644]Hard_Rock83[/MENTION]'s Pie kernel with CPU Hotplugs.

See results at the bottom of this table:

The last benchmark with interactive CPU governor and MSM Hotplug show a good Screen Off battery drain. Clearly better than the previous kernels with no hotplug.

I will make one more benchmark with Arrow v10 and kernel v1.5 using alucard governor and alucard hotplug.

Then move to Arrow v11.
[Xiaomi Mi Max 2  Guides, News, & Discussion] m1n15s:
By numbers oreo was more battery friendly than pie 10% to 15%

But performance pie is a little bit better.?i guess
[Xiaomi Mi Max 2  Guides, News, & Discussion] pauldrudd:
Yep I'm noticing battery life is slightly lower than Oreo or Nougat (on Pie Havoc OS and kernel 1.5) but it's a small price to pay in my opinion. We are extremely lucky to have such outstanding support for our device with regularly updated ROMs and kernel, with tons of customisations and eye-opening clever stuff like hotplugs and amazing performance!