CPU control under Android lollipop 5.0.2 - Android Q&A, Help & Troubleshooting

Hello everyone,
I'm looking for information. I have the current use case:
My smartphone is a Sharp Aquos Zeta SH-03G with lollipop 5.0.2 (I didn't get a choice on the device I could get )
By digging a bit in the system I found out that this smartphone is configured somehow to not use the full CPU capacity. It justs use 5 cores out of 8 of the snapdragon 810 whatever the activity on the phone.
However all the core are seen as possible to use by the kernel with correct frequencies.
Only the core up to 1.5Ghz are use normally. for the core up to 2Ghz, only one is used and not at the top frequency (max 1.4Ghz)
Which make this phone to act as a 5 core up to 1.5Ghz. I'm just curious to understand where I should look like to see where that configuration is done.
Is it in the custom kernel source code? Is it some arguments given at boot time? Is it in some configuration file somewhere on one of the booting partition?
They release the source code of the kernel so I just give at least a quick check in the processor core frequency definition for a snapdragon 810 and it was looking like all is defined approprietly to use all of them. Also the system report that it really see 8 cores and that 8 cores may be use if needed...
Any help appreciated, thanks!

Related

please help me .. i need to overclock this phone

I have huawei mediapad m1 s8-301uv
Android jelly bean and there is no any update to kitkat
And it lags and crashes alot
It is a quad core phone but only one core is online
I rooted the phone and installed many programs to overclock like kernel adiutor and set cpu and others sometimes only two cores are online and the other two are offline
I need at least three cores online all the time even if it drains the battery
PLEASE HELP ME
Android 4.1 and 4.4 handle stuff similar and you won't see a big difference. These kernel auditor(and similar) only provide a placebo effect and are useless unless you a´have a custom rom installed, at least for me.
No matter how many cores you have the processor itself can be trash, dual core should be fine for regular usage if it's good enough.

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.

Snap650, why installing apps use 100% of 1 A53 core instead of 1 a72 ? so slow

Hello, i am wondering if it's possible to modify it ? when installing/upgrading an app it use 100% of one of the a53 cores rather than one powerful a72 so it take forever to install.
it act like that on all phones with this soc or it depend of the kernel settings by the manufacturer ?
thanks you

How to customize the scheduling of my phone to enable a GTS scheduling ?

Hi guys !
I am sorry to post this question here, but as I'm new I can't create any new thread in more technical sections... I hope you will understand.
To introduce the context of my question, I think I will need to describe a bit of my job. I am currently working in a company that needs to transform a phone into iot device that run our c/c++ library (like JanOS, again can't post HTML links as I'm new...). The idea is to modify a phone to take off the screen and only keep its board with all its features (camera, wifi, sdcard, battery, usb connector ...) that we needs.
I am myself a C/C++ developer and I optimize algorithms. My work is basically to make everything fast using libraries like OpenMP and NEON if I work on an Android platform. I am working mainly on two phones that are rooted:
Huawei Honor 5C (4x2.0 GHz Cortex-A53 & 4x1.7 GHz Cortex-A53)
Huawei Honor 8 (4x2.3 GHz Cortex-A72 & 4x1.8 GHz Cortex A53)
I want to bench the library we are developing in my company on these phones. The thing is I can never get to 100% CPU usage using C code or bash script. The CPU usage cannot go higher than 50% letting me think only 4 cores are used. This is where I tried to understood more the platform. I think each phone is based on a big.LITTLE ARM platform to optimize battery saving. The idea is to build 4 group of 2 cores (1 big and 1 LITTLE) so the scheduler can target the right CPU to use depending on the task needs. But my aim is to overcome that and use ALL the cores like a classic multicore platform.
OpenMP can see 8 cores in my platform. But it seems the phone cannot let the thread migrate from 1 group of cores to another. My guess is the Global Task Scheduler is not enabled but I'm not an expert of Android development...
Do anyone has any idea how I could use the Global Task Scheduler ? Or maybe how could I setup my OpenMP pragmas to use 8 cores at once ?
Up !

[Help Needed] Qualcomm Snapdragon 400 based device not showing as 1.2GHz

Hello Developers,
Greetings to everyone!
I am looking at the specifications of a device using the Qualcomm Snapdragon 400 processor which is advertised at 1.2 GHz speed. When I tried to boot up the device, the internal specifications only show 1.19 GHz. My thought is that the device was designed at a lower clock speed considering performance vs. device heat & battery life. Is this generally true? and is it advisable to design a device at full rating?
In a project/business scenario, how do we explain this discrepancy in lay man's term? (e.g. the business requirement is for a manufacturer to create a device performing at 1.2 GHz using Qualcomm Snapdragon 400 but the device is running at 1.19 Ghz only). What information can we request from the manufacturer to address the concern?
Thank you in advance!

Categories

Resources