Android - Help - How to use all CPUs at maximum frequency?

Message boards : Android : Android - Help - How to use all CPUs at maximum frequency?
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
Jacob Klein
Volunteer tester
Help desk expert

Send message
Joined: 9 Nov 10
Posts: 63
United States
Message 87049 - Posted: 11 Jul 2018, 13:12:46 UTC - in response to Message 87048.  
Last modified: 11 Jul 2018, 13:19:22 UTC

Yeah, I have developer options unlocked, which is why I'm able to enable USB debugging and use these commands like adb shell, top, ps.
But I don't think I have this "CPU Usage Overlay" thing you're talking about, here on Oreo, but would like to know how you trigger it and on what OS version.

When you describe how to get to the option exactly, I'll check. But yeah, I think things have changed, with 7 Nougat and 8 Oreo - See here https://www.androidpolice.com/2016/10/25/show-cpu-usage-android-7-0-displaying-systemui-processes-bug-marked-fixed/

Edit: A website showed me the UI switch you're talking about, here: https://merabheja.com/android-cpu-usage-monitor-on-screen/ ... but it does not exist on Oreo :)
ID: 87049 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14160
Netherlands
Message 87051 - Posted: 11 Jul 2018, 14:20:49 UTC

Okay, reading around I find that the Kryo 280 CPUs in your Snapdragon 835 are integer heavy, but regressed in floating point math.
I've found as well that it is by design, just not by Android, but by the Snapdragon 835 cluster itself. Look at this image which is quite self-explanatory: 20% of the time the performance CPUs are used (big), while for 80% of the time the efficiency CPUs are used (little).

Furthermore, a lot of all the things you use the device for are calculated on the HVX (Hexagon Vector eXtensions) and GPU (neither of which can do floating point math), leaving the CPU to do only the OS. That combined with its low performance in FP, may account for all the things you see. It's just not built to do (aggressive) science.

[1] https://www.anandtech.com/show/9552/qualcomm-details-hexagon-680-dsp-in-snapdragon-820-accelerated-imaging
[2] https://www.xda-developers.com/qualcomm-snapdragon-835-kryo-385-cpu-cores/
[3] https://www.anandtech.com/show/11201/qualcomm-snapdragon-835-performance-preview/2
ID: 87051 · Report as offensive
Jacob Klein
Volunteer tester
Help desk expert

Send message
Joined: 9 Nov 10
Posts: 63
United States
Message 87052 - Posted: 11 Jul 2018, 14:29:51 UTC - in response to Message 87051.  
Last modified: 11 Jul 2018, 14:33:26 UTC

Thanks. I've actually read most of that, and I think I understand it too.

The big cores are used for foreground cpu-intense operations, like app loading, web browsing, VR, and games. 80% of the time, the little cores are used, for things like checking email and serving notifications and making calls.

But that doesn't mean it's not built to do science. It just means the OS scheduler, by default, treats it as a phone doing phone activities, with the goal of preserving battery life.
Those are not my goals, while BOINC is running :)
ID: 87052 · Report as offensive
Jacob Klein
Volunteer tester
Help desk expert

Send message
Joined: 9 Nov 10
Posts: 63
United States
Message 87073 - Posted: 11 Jul 2018, 22:01:11 UTC

I think we are moving the investigation to here:
https://github.com/BOINC/boinc/issues/2549
ID: 87073 · Report as offensive
Previous · 1 · 2

Message boards : Android : Android - Help - How to use all CPUs at maximum frequency?

Copyright © 2020 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.