Turn off CPU cores when screen is off - Android Q&A, Help & Troubleshooting

I have a Samsung s20+ SM-G985F model with an exynos 990 cpu, and cpu socks so fckn bad that I had to root my phone and close and limit cores down. It solves the problem, and I like how Fraco Kernel manager has profile per app.
But I was wondering is there a way to create a profile to close all cores except one when the screen is off? I Don't know how to do that in franco kernel, is there a different apk that can do this?
thank you for future answers

Don't think it makes sense to programmatically disable cores on a Quad-core CPU, because most times only 1 core is in use.

Related

Disable a CPU core to improve battery?

Hey Ppl
I see there is an App to Sony smartphone, to disable one CPU core to improve the battery.
http://www.xperiablog.net/2013/01/28/xcore-allows-you-to-disable-a-cpu-core-to-improve-battery/
Is there anything similar App to Samsung devices lik S2?
//
Dong
You can change when the phone uses one core or two in the tweaks for Siyah and Dorimanx kernels but the one core would run for longer to process the same amount of work load so it would not save nearly as much as you would expect. The phone already puts one core off when it is not needed. That said I have not tried it so cant back it up with figures
In STweaks it is "MIN Frequency for 2 core"

Is it possible to unlock the 3 unused CPU cores on the watch?

I learned in an earlier thread (here) that the Zenwatch 2 is throttled down to only 1 core running at 800Mhz. My Zenwatch, while not totally unusable, does seem to be sluggish at times, and I would love to unlocked those cores to see that sluggishness disappear. As the title says, is it possible to unlock the 3 unused CPU cores on the watch? Maybe even get them running at a default clock set by the processor? I'd be willing to sacrifice battery.
Can anyone answer this question? I´d like to know as well...
Maybe Asus will reactivate them in a future update?
Would it somehow be possible to use a root app such as perhaps kernel audior to force the other cores to work?

All G5 CPUs locked down to 1.5ghz

Hey, I saw that all CPUs are currently locked down to 1593mhz. Our chip should have 2x1.5ghz for general use and 2x2.1ghz for high performance tasks.
But in stock as in custom Roms, I see all CPUs locked down, max freq 1593mhz and no control over queue processing, either from hotplug or CPU front. Is there something I missed? Or LG just lied to us?
I know from thermal point of view that our device would not be able to sustain 2.1ghz for a long time, but if the frequency is not even available, it is a serious matter... +500mhz is not something to overlook!
If thats true, thatd be a heartbreaking, the first thing I look to before choosing a device, is clock speed
Unlock the game optimization
I checked on cpu-z and frequencies. With optimization on, it won't go over 1,5 ghz but with that option off it is easily jumping to maximum clock speed (faster battery drain). Stock rom, don't know about custom roms.
Linux User said:
I checked on cpu-z and frequencies. With optimization on, it won't go over 1,5 ghz but with that option off it is easily jumping to maximum clock speed (faster battery drain). Stock rom, don't know about custom roms.
Click to expand...
Click to collapse
You mean game optimization in settings/battery? I think we do not have that option in custom ROMs (I am currently trying Aicp 12.1) and never changed it in stock. I will try going back to stock to disable that option and see if the frequency table changes... If it does, it will be a pre-requisite before flashing custom ROMs in our device. Still, it is something the kernel should handle.
I would underclock the device on my own, as I did with my good old G2, but not having the option for the CPUs to scale as intended is not cool...
Well, frequency table shows no change with stock, but somehow, CPUs 3 and 4 scale up to 2150mhz now.
I guess LG did not cheat in the strict sense of the word, but just does not want us to have control over our devices...
Sent from my LG-H850 using Tapatalk
Floodland said:
Hey, I saw that all CPUs are currently locked down to 1593mhz. Our chip should have 2x1.5ghz for general use and 2x2.1ghz for high performance tasks.
But in stock as in custom Roms, I see all CPUs locked down, max freq 1593mhz and no control over queue processing, either from hotplug or CPU front. Is there something I missed? Or LG just lied to us?
I know from thermal point of view that our device would not be able to sustain 2.1ghz for a long time, but if the frequency is not even available, it is a serious matter... +500mhz is not something to overlook!
Click to expand...
Click to collapse
So... I was freaked out after reading this thread, so i rushed to check using cpu Z and it turned out that mine is clocked at 2.15, so i don't know what is wrong u
The Snapdragon 820 inside the LG G5 has a quad-core processor which has 2 cores clocked at 2.15 GHz and two other cores clocked at 1.6 GHz (1593 MHz), it's the way the manufacturer (Qualcomm) decided the processor to be, the LG G5 is not underclocked. Some users may get different results in applications like CPU-Z or AnTuTu depending on which core the application is based on.
Android_420 said:
The Snapdragon 820 inside the LG G5 has a quad-core processor which has 2 cores clocked at 2.15 GHz and two other cores clocked at 1.6 GHz (1593 MHz), it's the way the manufacturer (Qualcomm) decided the processor to be, the LG G5 is not underclocked. Some users may get different results in applications like CPU-Z or AnTuTu depending on which core the application is based on.
Click to expand...
Click to collapse
The frequency table shown by kernel adiutor (or any kernel tweaking software) shows ranges 307-1593 for all processors.
I know the hardware behind, my first though was that LG underclocked it. Now I see the phone just hides its behavior and does not show the real table (or the available software is not able to see it).
We will need additional kernel development in order to effectively control the core speeds in our devices.
Case closed, thank you for the responses.
Floodland said:
The frequency table shown by kernel adiutor (or any kernel tweaking software) shows ranges 307-1593 for all processors.
I know the hardware behind, my first though was that LG underclocked it. Now I see the phone just hides its behavior and does not show the real table (or the available software is not able to see it).
We will need additional kernel development in order to effectively control the core speeds in our devices.
Case closed, thank you for the responses.
Click to expand...
Click to collapse
old versions of kernel auditor are buggy with the g5, they see it as a single quad core instead of big/little dual 2 cores. You need the newest kernel auditor.

Is it possible make all cores scale at the same frequency?

Well, i want to know what it says on the title. Is it possible to make al core at the same frequency? I have a Xiaomi Mi4(Snapdragon 801), and i noticed that on some new devices(Moto G4 and Moto G5) there is no mpdecision, but the cores scale at the same frequency, and AFAIK that is more efficient that only 2 cores scaling at the same frequency and leaving 2 cores off.
So, thats what i want to know, how or if its possible to make the 4 cores scale at the same frequency so it doesnt need to get at the max frequency most of time(like usually does because it uses 2 cores most of time), or it is related to kernel or if i need something to do this.
Thanks in advance!
I'm no expert but probably not. It's most likely the way the CPU is designed that decide these things.
Well, the thing is that the cpu it's kind of retard, or that's what I think, because most of times it prefers to make lags before turning on another core and that's the problem, that's why I want to know if it's possible to change that or it's hardware related

need to find a way to keep all cpus online while running intensive tasks

I have an Allview E4 octa core (some chinese phone) which has an MT6753 SoC.
I already have root with Magisk, but no recovery (although I could do it, but no TWRP).
I am trying to run BOINC (intensive cpu app) on all cores at let's say 800 MHz.
My problem is that after a while (after setting performance governor to 800MHz), android decides that 5 or 6 cores should run at 1GHz while "parking" the remaining 3 cores.
I do not get this behavior on MT6592, Exynos 5430, MT8127D or Amlogic S912.
I already have tried with: kernel auditor (chaning various governors (but no hotplug) also disabled thermald option ), deep sleep battery saver, cpu awake, screen on, never sleep settings.
Anyone tried to: increase thermald higher temperature (mine I think is limited at 60 deg) or hotplug governors which have the min_cpus parameter?
I am really running out of ideas

Categories

Resources