Downclocking CPU - Xiaomi Mi A1 Questions & Answers

I am user who watches YouTube most of the time and I looked into BBS and CPU is running about 600 MHz at all 8 cores all the time when I watch videos. I guess thats a lot and it drains my battery. Is it somehow possible to set the lowest clock about 300 MHz when I am watching YouTube? Or just shutdown 4 cores at least? I guess I will need root for that. Thanks

As you can see, I was watching YT for about 4 hours and most of the time was CPU running at 653 MHz, not lower.

600 mhz is the lowest you can get with stock kernel
I believe some kernels (Extreme kernel / Project K) allow you to set it to 300 mhz

berezker said:
600 mhz is the lowest you can get with stock kernel
I believe some kernels (Extreme kernel / Project K) allow you to set it to 300 mhz
Click to expand...
Click to collapse
Great! But is it still possible somehow in stock kernel? With magisk and some kernel apps like kernel adiutor?

TrueMS said:
Great! But is it still possible somehow in stock kernel? With magisk and some kernel apps like kernel adiutor?
Click to expand...
Click to collapse
You need an custom kernel. However, the 300mhz is slightly too low. Making music laggy and distorted when turning off the display.

TrueMS said:
Great! But is it still possible somehow in stock kernel? With magisk and some kernel apps like kernel adiutor?
Click to expand...
Click to collapse
Nope. You need a custom kernel

Most of the devs are already getting rid of OC/UC on their kernels, F.Y.I

Instead of lowering your clock speed try disabling four cores and reduce the max frequency. Set governor to conservative. If you want more power saving use powersave. Warning: performance will degrade heavily.
Edit: skipped over your mention of disabling four cores. Still it's a valid choice. I do it in extreme case.

It's not needed for our Mi A1 i think...

Somehow are there cuskernel to enable biglittle

RisjadB said:
Somehow are there cuskernel to enable biglittle
Click to expand...
Click to collapse
We don't have big.LITTLE. because of 8 cores it shows two clusters of 4 cores as big and little.

alkesh95 said:
We don't have big.LITTLE. because of 8 cores it shows two clusters of 4 cores as big and little.
Click to expand...
Click to collapse
What about hotplug.... Never see any core stop @Cpu-z... Rip battery

RIP battery what, the Snapdragon 625 is a very efficient chip. Most modern chips nowadays provide zero to negative impact on the battery life with active intensive core hotplugging.

This soc consumes almost nothing, not worth at all to downclock/downvolt.

Related

Post your UnderVolting and OverClocking results!

Currently looking into the process of OC'ing and UV'ing. It would be cool to see what results you guys have got and what difference in battery life you perceive!
Im currently at stock ?
Sent from my Nexus 7 using xda app-developers app
Arthedes said:
Currently looking into the process of OC'ing and UV'ing. It would be cool to see what results you guys have got and what difference in battery life you perceive!
Im currently at stock ?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I have the same PVS CPU than you with 0,9 Volt at 384Mhz and 1,05 Volt at 1,5GHz.
I could undervolt 50mV accross the board; undervolt the lowest frequenz (384Mhz) to 0,73 Volt and overclock the CPU to 2,0Ghz max.
Im running Cyanogenmod with Glitch Kernel and use Trickster Mod for OC and CPU UV.
With Glitch Kernel I can even undervolt the GPU 100mv accross the board with an increased max GPU of 450Mhz.
(More is possible, but I nearly dont play games with my tablet)
With this I get about 8 hours of SOD time with Surfing.
When I'm on a long business trip and use my N7 for (Kindle and pdf) offline book reading I reach something like 13-15hours SOD time.
zz_marcello said:
I have the same PVS CPU than you with 0,9 Volt at 384Mhz and 1,05 Volt at 1,5GHz.
I could undervolt 50mV accross the board; undervolt the lowest frequenz (384Mhz) to 0,73 Volt and overclock the CPU to 2,0Ghz max.
Im running Cyanogenmod with Glitch Kernel and use Trickster Mod for OC and CPU UV.
With Glitch Kernel I can even undervolt the GPU 100mv accross the board with an increased max GPU of 450Mhz.
(More is possible, but I nearly dont play games with my tablet)
With this I get about 8 hours of SOD time with Surfing.
When I'm on a long business trip and use my N7 for (Kindle and pdf) offline book reading I reach something like 13-15hours SOD time.
Click to expand...
Click to collapse
I know a bit how i can get to know my cpu's pvs stepping, but since you have the same as me, what is it exactly? And is it considered a fast, normal or slow binned cpu?
Sent from my Nexus 7 FHD using Tapatalk
mine are way lower and im pretty stable, no crashes but i dont' play games
im on ElementalX oc to 1.728ghz
at 38400 >>> im at 77500
at 702000..... 85000
at 102600.......90000
at172800 .... 102500
Whats the best way to test stability? Ive got this app https://play.google.com/store/apps/details?id=com.into.stability but i dont seem to get any wiser... Anyone know what i should do?
Sent from my Nexus 7 FHD using Tapatalk
Arthedes said:
Whats the best way to test stability? Ive got this app https://play.google.com/store/apps/details?id=com.into.stability but i dont seem to get any wiser... Anyone know what i should do?
Sent from my Nexus 7 FHD using Tapatalk
Click to expand...
Click to collapse
yup, run that for like 30mins on classic test, should be fine if it doesn't crash
cobyman7035 said:
yup, run that for like 30mins on classic test, should be fine if it doesn't crash
Click to expand...
Click to collapse
I did that, but with voltages that are stable there, antutu crashes. And with voltages that are antutu stable, my device crashes randomly. I can run the scaling test with very low voltages across the board for more than an hour and it doesnt crash.
With other apps it just crashes.
This is an experimental undervolt that rarely crashes when switching apps:
I dont know which clock speed and its corresponsing voltage is unstable because the clock speed ranges from 384 to 1512 mhz and i dont have a crash log.
So I added 12.5 mV across the board, and this hasnt crashed so far!
But, being the perfectionist that I am, I want the Ultimate Undervolt. Is there a way to see what frequency you are running when it crashes?
Sent from my Nexus 7 FHD using Tapatalk
I achieve stable 700mV at 1026MHz...
30mins stress run on "stability test" app and on stress run on "setCpu"
At 1134MHz the tablet freezes for the first time when I switch to 7875mV
Isn't it weird??
I dont think the stability test app is working. I could undervolt 1512 mhz to 900mV and have it run stable, but everyday use stable is with 987.5mV
Sent from my Nexus 7 FHD using Tapatalk
zz_marcello said:
I have the same PVS CPU than you with 0,9 Volt at 384Mhz and 1,05 Volt at 1,5GHz.
I could undervolt 50mV accross the board; undervolt the lowest frequenz (384Mhz) to 0,73 Volt and overclock the CPU to 2,0Ghz max.
Im running Cyanogenmod with Glitch Kernel and use Trickster Mod for OC and CPU UV.
With Glitch Kernel I can even undervolt the GPU 100mv accross the board with an increased max GPU of 450Mhz.
(More is possible, but I nearly dont play games with my tablet)
With this I get about 8 hours of SOD time with Surfing.
When I'm on a long business trip and use my N7 for (Kindle and pdf) offline book reading I reach something like 13-15hours SOD time.
Click to expand...
Click to collapse
Will you post your voltage table?
What are the Kernel setup settings that you choose and have you ever OCed to 2.2 and still get good undervolting?

Testing a weird kernel tweak. It's working and I don't know why !

ROM: NEAT ROM 4.4.4
KERNEL: gustavo_s' kernel for AOSP version 04 Feb 2015 with Synapse.
So one day when drinking beer I thought to myself: if Ondemand is so sensitive in jumping to higher frequencies, why bother setting the threshold low? So I just simply went to Synapse and set the up-threshold to 99%. Naively I just thought it was to make sure the CPU was full until it needed a faster frequency. To my surprise, a few days later was fantastic: the time my GS spent on high frequencies was so good it looked like I was using conservative, the least time was on 1200MHz and goes up along with lower frequencies. And the performance was intact :silly::silly::silly:
:silly::silly::silly: can anyone confirm you had tried this before?
One last thing: I just enable GPU rendering, I read that GPU used more power so it is not efficient but on this kernel I am able to use 54MHz and 66MHz which only drain 800Mah which is less than the voltage of 200MHz. My first feelinng is that scrolling through Manga app no longer lags. Will this work as I expected, guys? :silly:
P/S: sorrry for my broken English.
dongnguyen2301 said:
ROM: NEAT ROM 4.4.4
KERNEL: gustavo_s' kernel for AOSP version 04 Feb 2015 with Synapse.
So one day when drinking beer I thought to myself: if Ondemand is so sensitive in jumping to higher frequencies, why bother setting the threshold low? So I just simply went to Synapse and set the up-threshold to 99%. Naively I just thought it was to make sure the CPU was full until it needed a faster frequency. To my surprise, a few days later was fantastic: the time my GS spent on high frequencies was so good it looked like I was using conservative, the least time was on 1200MHz and goes up along with lower frequencies. And the performance was intact :silly::silly::silly:
:silly::silly::silly: can anyone confirm you had tried this before?
One last thing: I just enable GPU rendering, I read that GPU used more power so it is not efficient but on this kernel I am able to use 54MHz and 66MHz which only drain 800Mah which is less than the voltage of 200MHz. My first feelinng is that scrolling through Manga app no longer lags. Will this work as I expected, guys? :silly:
P/S: sorrry for my broken English.
Click to expand...
Click to collapse
Using gpu in lower frequencies may unstable phone. I use @Gustavo_s kernel too. My first frequency step is 108MHz and 800mV can easly handle this. Lower frequencies only slows phone. Enabling gpu rendering also causes overheating on AOSP roms on i9100 belive me I tested.
Edit: Also 99 is a high value. 85 to 95 is ok.
Sorry for my bad english too..
nhmanas said:
Using gpu in lower frequencies may unstable phone. I use @Gustavo_s kernel too. My first frequency step is 108MHz and 800mV can easly handle this. Lower frequencies only slows phone. Enabling gpu rendering also causes overheating on AOSP roms on i9100 belive me I tested.
Edit: Also 99 is a high value. 85 to 95 is ok.
Sorry for my bad english too..
Click to expand...
Click to collapse
Yeah I may feel that right, I'm switching to 66Mhz and it feels better, yet I don't think GPU rendering causes overheating, it felt the same, I'm turning it off for comparison a few days... :silly:
dongnguyen2301 said:
Yeah I may feel that right, I'm switching to 66Mhz and it feels better, yet I don't think GPU rendering causes overheating, it felt the same, I'm turning it off for comparison a few days... :silly:
Click to expand...
Click to collapse
I assume you don't care about gaming performance or any graphics intensive tasks? Don't see why this is a weird tweak, but it is still a noteworthy tweak that may help people who want raw computing speed but no gaming.
gsstudios said:
I assume you don't care about gaming performance or any graphics intensive tasks? Don't see why this is a weird tweak, but it is still a noteworthy tweak that may help people who want raw computing speed but no gaming.
Click to expand...
Click to collapse
That's right, don't have any single game, but I'm very very into multi-task. Switching from app to app in seconds... so that obviously works for multi-task people.
I recently switched to intellidemand with the same setting and notice the CPU spent even less time on the high frequency, but it begin to has lag so I think ondemand is still my best choice right now

Reduce heat with system perfomance

geowolf1000 said:
Iarge amount of cpu which are enable by default can modified if you do not want extra press the stock pefomance per app at setings
Is was too on cm.12 nightles too but has optoon
Now disable it
IMPORTAMD
FIRST TIME BREAKS DIALER
ONLY REBOOT IS FINE!!
Download an cpu tool you preferp
I downloaded from here
Set to 300 minimum
Get userspace And linux governor cfq.
Set on boot .
Try it .
Noop breakes wifi
Click to expand...
Click to collapse
:good::good:
+50 mA battery power less
Watt?
No need to post
Last battery issue was less than 30 mA and consume your batterry
In one day
Default cyanogen clocks is 1572 minimum....
Perfomance will not affect
Has only stable little heat all the time
And sweater heat with full sensors awake
Lte.,nfc , bluetooth...and calls with proximityis bigger
Heater but not so obvious from previous sudden
Real hot Situations.
Is this battery saver app ?
The minimum frequency is so high because the stock kernel is using MPDecision as the hotplug. This boosts the minimum frequency when you use your phone to the 1.5 GHz frequency. When you dont use your phone that intensively it clocks itself down to lower frequencies. No need to put the min freq to 300 MHz, because it already is, it just says 1.5 GHz because of the hotplug :good:
mumaster20 said:
The minimum frequency is so high because the stock kernel is using MPDecision als the hotplug. This boosts the minimum frequency when you use your phone to the 1.5 GHz frequency. When you dont use your phone that intensively it clocks itself down to lower frequencies. No need to put the min freq to 300 MHz, because it already is, it just says 1.5 GHz because of the hotplug :good:
Click to expand...
Click to collapse
When?
The apps in background still runing and if they are in background the cpu still hold same frequencies as minimum.
geowolf1000 said:
When?
The apps in background still runing and if they are in background the cpu still hold same frequencies as minimum.
Click to expand...
Click to collapse
Only when you touch the screen and a little while after that the min freq will be 1.5GHz, after that it chenges back to 300 MHz, thats how MPDecision works!
mumaster20 said:
Only when you touch the screen and a little while after that the min freq will be 1.5GHz, after that it chenges back to 300 MHz, thats how MPDecision works!
Click to expand...
Click to collapse
I will collect you the cpu stats with and op settings for all day
Perfomance will be same and post it after for more .
So the stats show that profile per app keep device at 1452mhz double time than without
I examine with same settings almost same hours and almost same usage
The white background screenshots is without
The black background is with
My perfomance is absolute same i only feel diference at low battery level
Lower than 8% at wake up
Ps there is a bug when change this settings
Battery show always awake device but is false
After full charge and shutdown all normal

Question about big.LITTLE cores

Hey. After checking CPU on "Kernel Adiutor", I noticed that none of six cores are going offline. All of them is staying online, its happening also if there is no tasks on background. I am using interactive governor for both big and LITTLE cores. I want to know, is there better governor, that will not sacrifice performance, but will put some cores to offline mode, so battery life would be better. Any suggestions for hexacore governors?
Thanks!
EDITED on 28.11.15:
Thanks dark4codrutz for explaining things! So I have flashed v4tk kernel version 5 for XT1572.
Settings at "Kernel Adiutor":
CPU
big cores: min - 384 MHz, max - 1824 MHz, governor - interactive.
little cores: min - 384 MHz, max - 1440 MHz, governor - interactive.
CPU Boost - disabled on all cores (I suppose that stock variant with "input boost frequency core 1 - 1248 MHz" was reason why all settings didnt stock on, so this option is disabled now)
CPU Hotplug
Thunderplug is enabled;
Min Cores screen off - 2;
Sampling Rate - 600;
Load Threshold - 60;
I get that I wanted. Now there isnt 6 cores online always. With this settings I didnt got noticeable lagging, and on small system load I have only 1 little and 1 big core online. Others are offline!
Will test this out, it should get some batery for device (SOT).
BooBzi said:
Hey. After checking CPU on "Kernel Adiutor", I noticed that none of six cores are going offline. All of them is staying online, its happening also if there is no tasks on background. I am using interactive governor for both big and LITTLE cores. I want to know, is there better governor, that will not sacrifice performance, but will put some cores to offline mode, so battery life would be better. Any suggestions for hexacore governors?
Thanks!
Click to expand...
Click to collapse
If you are rooted, you could flash one of the custom ROMS that has a custom kernel. You could change hotplugs, governors, etc. Or if you want to stay stock, there is also a custom kernel for that. Thunderplug takes several copies offline.
Sent from my XT1575 using Tapatalk
countryfolk07 said:
If you are rooted, you could flash one of the custom ROMS that has a custom kernel. You could change hotplugs, governors, etc. Or if you want to stay stock, there is also a custom kernel for that. Thunderplug takes several copies offline.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
I am rooted, but want to stay on stock ROM. Some time ago I tried v4tk kernel, but had some problems with it - interactive governor disabled one big, and two little cores. Also I couldnt change max and min frequency. So whatever I did, I had one big core offline, but other one was always on ~1.2Ghz. It didnt go to 300MHz or to 1.8GHz.
So the main question for now - Is there some special governors for hexa-core phones? I see that in stock interactive governor when screen is on, all six cores always is online, so I am looking for other governor, that uses same type for agresive performance, but also that can disable big cores by it self. No drops in performance.
But thanks for answering this thread.
BooBzi said:
I am rooted, but want to stay on stock ROM. Some time ago I tried v4tk kernel, but had some problems with it - interactive governor disabled one big, and two little cores. Also I couldnt change max and min frequency. So whatever I did, I had one big core offline, but other one was always on ~1.2Ghz. It didnt go to 300MHz or to 1.8GHz.
So the main question for now - Is there some special governors for hexa-core phones? I see that in stock interactive governor when screen is on, all six cores always is online, so I am looking for other governor, that uses same type for agresive performance, but also that can disable big cores by it self. No drops in performance.
But thanks for answering this thread.
Click to expand...
Click to collapse
Sorry for bothering in your thread but I see you have some misconceptions about kernels. The governor is nothing more than a set of rules that the CPU follows and uses to decide when, how much and for how long to scale the FRECQUENCY.
What you are looking for is an HOTPLUG, which is the part of the kernel that tells the CPU to HOTPLUG( disconnect or connect) a number of cores, also contains parameters for when to do that, at which initial FRECQUENCY to HOTPLUG the core and also for how long to wait until disconnecting it.
I am using v4tk's kernel right now and I can confirm it works as a beauty. In version V5 (the latest for my XT1572) he even modified the Thunderbolt Hotpluging and adapted it to respect six cores little.Big configuration. In my experience with this HOTPLUG it keeps first little core and first Bigg core always on during screen on, then it gradually lights up second, third, forth little cores when needed. I didn't got to make him light up the second Big core in Kernel Auditorium, but I'm pretty sure it lights up when video is decoded or encoded.
I don't recommend you using the newly added MSN, it doesn't do much for me.
As for the governors ( you can select two: one for little cores and one for Big) I stay with stock Interactive and I haven't experienced bad frequency scalling.
dark4codrutz said:
Sorry for bothering in your thread but I see you have some misconceptions about kernels. The governor is nothing more than a set of rules that the CPU follows and uses to decide when, how much and for how long to scale the FRECQUENCY.
What you are looking for is an HOTPLUG, which is the part of the kernel that tells the CPU to HOTPLUG( disconnect or connect) a number of cores, also contains parameters for when to do that, at which initial FRECQUENCY to HOTPLUG the core and also for how long to wait until disconnecting it.
I am using v4tk's kernel right now and I can confirm it works as a beauty. In version V5 (the latest for my XT1572) he even modified the Thunderbolt Hotpluging and adapted it to respect six cores little.Big configuration. In my experience with this HOTPLUG it keeps first little core and first Bigg core always on during screen on, then it gradually lights up second, third, forth little cores when needed. I didn't got to make him light up the second Big core in Kernel Auditorium, but I'm pretty sure it lights up when video is decoded or encoded.
I don't recommend you using the newly added MSN, it doesn't do much for me.
As for the governors ( you can select two: one for little cores and one for Big) I stay with stock Interactive and I haven't experienced bad frequency scalling.
Click to expand...
Click to collapse
Finally, big THANKS to you for explaining things!
Will try later v4tk's kernel to change HOTPLUG, but I had some bad experience - all settings that I changed didnt stick on, so after some seconds they lived their lives.

is there any rom or kernel to under volt?

just bought a Le Pro 3 and couldn't find any kernel or rom that could under volt. is there any rom or kernel to under volt?. Thx
To undervolt you mean to make the cpu frequencies lower? I am doing that with a program called Kernel Tuner. You can set the CPU and GPU speed and set the CPU governor from there.
The phone it has to be rooted.
motanel_pufos said:
To undervolt you mean to make the cpu frequencies lower? I am doing that with a program called Kernel Tuner. You can set the CPU and GPU speed and set the CPU governor from there.
The phone it has to be rooted.
Click to expand...
Click to collapse
what i mean is to lower the CPU or GPU voltage.
I don't know how to do that. As I said, I use Kernel Tuner to set the maximum cpu/gpu speed the phone can go. It's not the same thing. But is better than nothing. The phone works really good even with lower frequencies and I don't need top speed except some greedy games. Now I can reach a sot of over 6 hours with 4-5 hours of heavy gaming.
If you can find a way do undervolt please post it.
Claire2001 said:
what i mean is to lower the CPU or GPU voltage.
Click to expand...
Click to collapse
No kernels offer access to the voltage table yet. UV isn't available and I don't think it'll come.
Ace42 said:
No kernels offer access to the voltage table yet. UV isn't available and I don't think it'll come.
Click to expand...
Click to collapse
thanks for confirming, time to return the pro 3 or sell it at a loss. was just hoping that out there somewhere there would be a kernel that has the feature to undervolt.
I still don't see the point of undervolting the CPU/GPU on a phone. As long as it works fine and the battery last long enough (and honestly this phone have plenty of battery, I recharge every 2 or 3 days), why?
ZeblodS said:
I still don't see the point of undervolting the CPU/GPU on a phone. As long as it works fine and the battery last long enough (and honestly this phone have plenty of battery, I recharge every 2 or 3 days), why?
Click to expand...
Click to collapse
Because he used to do that on older device, and thinks this is some kind of a must function lol. I also have no clue why on earth you would need to underclock pro 3, it doesnt overheat, and it has probably best battery life of all snapdragon 821 devices. Undervolting this device would gain you absolutely nothing, nonsense.

Categories

Resources