Multicore smartphones - how to use their full potential

Message boards : Number crunching : Multicore smartphones - how to use their full potential
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · Next

AuthorMessage
Kiska
Volunteer tester

Send message
Joined: 31 Mar 12
Posts: 245
Credit: 1,512,800
RAC: 275
Australia
Message 1906951 - Posted: 14 Dec 2017, 5:53:10 UTC
Last modified: 14 Dec 2017, 5:57:11 UTC

On my S8+, I have to go to, Device Management -> Performance setting, and select High performance. To not have cores automatically turn off or downclock when my screen turns off

Maybe your device might have these settings for you to change

OpenCL-Z claims the Mali G71 has a compute performance of 130 GFLOPS, so I am going to see if I get some GPU tasks running
ID: 1906951 · Report as offensive     Reply Quote
Profile Ageless
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14317
Credit: 3,578,676
RAC: 462
Netherlands
Message 1906975 - Posted: 14 Dec 2017, 7:32:19 UTC

@Keith, I left the battery temp at 40C (recommended), the device never reached that temp, it's always low to mid-20s.
@Kiska, no Device Management on that phone, no performance settings either. .
Jord

Ancient Astronaut Theorists can tell you that I do not help with tech questions via private message. Please use the forums for that.
ID: 1906975 · Report as offensive     Reply Quote
Profile Keith MyersSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 3164
Credit: 204,015,894
RAC: 289,716
United States
Message 1906977 - Posted: 14 Dec 2017, 7:43:29 UTC - in response to Message 1906975.  

@Jord, OK, just was throwing out all the parameters that can be changed or set in Preferences that might prevent the phone from running tasks with the screen off.

None of my devices have performance settings either. Old hardware. Two older generation Kindle tablets and an old Galaxy S3 phone. Only running one task on the oldest Kindle and the phone. Two tasks on the quad core Kindle.

What is the cpu type in the phone you are having issues with?
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1906977 · Report as offensive     Reply Quote
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 9190
Credit: 118,758,899
RAC: 49,580
Australia
Message 1906985 - Posted: 14 Dec 2017, 7:58:09 UTC

Some android tablets default to low power mode when the screen turns off, and by default the screen generally turns off when not in use, or when on the charger.
By enabling Developer options/mode they then make other options, such as screen staying on while on charger, available.
Anything similar for Android phones?
Grant
Darwin NT
ID: 1906985 · Report as offensive     Reply Quote
Profile Pierre A Renaud
Avatar

Send message
Joined: 3 Apr 99
Posts: 92
Credit: 2,545,960
RAC: 6,113
Canada
Message 1906991 - Posted: 14 Dec 2017, 8:33:27 UTC - in response to Message 1906849.  

Thanks to you all for your suggestions !

I will test Keep Screen On for my aging Polaroid A4 android smartphone, which can disable my maximum imposed 30 minutes screen saver time (No Screen Off is simple to use, but can't bypass the 30 minutes imposed limit). In a week or two I'll be able to see if it can significantly improve on my Average turnaround time of 2.23 days.

On my Galaxy Tab E No Screen Off seems to work, and it remains to be seen if its Average turnaround time of 1.38 days can be improved upon.

So, the biggest question is what tools we have to adjust such power-saving features of Android devices?
Maybe device firmware can be fooled somehow to force in high-power state...
Over Christmas I'm planning to test with No Screen Off and if that doesn't work, with XPosed Framework so that the screen doesn't turn off - and hopefully the CPU doesn't either. I'll have to find something to put the phone in so the screen is covered.

   Team Carl Sagan on Facebook | Contact
ID: 1906991 · Report as offensive     Reply Quote
Kiska
Volunteer tester

Send message
Joined: 31 Mar 12
Posts: 245
Credit: 1,512,800
RAC: 275
Australia
Message 1907022 - Posted: 14 Dec 2017, 12:00:48 UTC - in response to Message 1906975.  
Last modified: 14 Dec 2017, 12:04:09 UTC

@Kiska, no Device Management on that phone, no performance settings either. .


On my other Android device, its Settings -> Battery. You can turn off "Intelligent power saving standby"

Also on my device there is a battery saver function, turn that off, and set it to never turn on

You just need to look for it

EDIT: On my S2, its Settings -> Battery. And in the Battery mode menu change it to performance. But that is with the Cyanogenmod 12.1 installed on it, so it may differ from stock
ID: 1907022 · Report as offensive     Reply Quote
JLDun
Volunteer tester
Avatar

Send message
Joined: 21 Apr 06
Posts: 546
Credit: 174,873
RAC: 120
United States
Message 1907189 - Posted: 15 Dec 2017, 5:14:42 UTC - in response to Message 1906985.  

...other options, such as screen staying on while on charger, available.
Anything similar for Android phones?


Most of the phones I've used have a "Display" option in settings, which includes a 'Screen Timeout' option by default - without using the Developer options - and various amounts of time to turn the screen off; and usually the final option is (depending on exact wording) "Keep screen always on". I tend to ignore it if it's bedside.
ID: 1907189 · Report as offensive     Reply Quote
Profile Ageless
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14317
Credit: 3,578,676
RAC: 462
Netherlands
Message 1907217 - Posted: 15 Dec 2017, 10:27:59 UTC - in response to Message 1906985.  

By enabling Developer options/mode they then make other options, such as screen staying on while on charger, available.
Anything similar for Android phones?

Thanks for the idea!
The phone is now lying face-down on my night stand, continuously running two Seti tasks. I also know now why the CPU would clock down as the temperatures in this state are high. For just two cores running at full blast (and a third being used by the OS), temps have gone up from 25C to 45C and they're still rising. Glad it's cold in the bedroom.

The option is Preferences->Developer options->Stay awake (Screen will never sleep while charging)

I ran No Screen Off on that phone before but it would do so for only 10 minutes (600 seconds). I didn't dare try the other one when I read one or more people bricked their device with it. So this is the easier thing to do.
Of course enabling the Developer options is a pre (Open Settings> About> Software Information> More. Then tap “Build number” seven times to enable Developer options in the main preferences menu.)

Where I wouldn't mind leaving the phone alone and walk out the house, I'll unplug it before doing so later on. Especially with the higher heat build-up of the CPU and charger, I'd rather be home when it's doing stuff.
Jord

Ancient Astronaut Theorists can tell you that I do not help with tech questions via private message. Please use the forums for that.
ID: 1907217 · Report as offensive     Reply Quote
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6514
Credit: 178,819,344
RAC: 42,754
United States
Message 1907237 - Posted: 15 Dec 2017, 14:12:45 UTC - in response to Message 1907217.  

By enabling Developer options/mode they then make other options, such as screen staying on while on charger, available.
Anything similar for Android phones?

Thanks for the idea!
The phone is now lying face-down on my night stand, continuously running two Seti tasks. I also know now why the CPU would clock down as the temperatures in this state are high. For just two cores running at full blast (and a third being used by the OS), temps have gone up from 25C to 45C and they're still rising. Glad it's cold in the bedroom.

The option is Preferences->Developer options->Stay awake (Screen will never sleep while charging)

I ran No Screen Off on that phone before but it would do so for only 10 minutes (600 seconds). I didn't dare try the other one when I read one or more people bricked their device with it. So this is the easier thing to do.
Of course enabling the Developer options is a pre (Open Settings> About> Software Information> More. Then tap “Build number” seven times to enable Developer options in the main preferences menu.)

Where I wouldn't mind leaving the phone alone and walk out the house, I'll unplug it before doing so later on. Especially with the higher heat build-up of the CPU and charger, I'd rather be home when it's doing stuff.

Reducing the screen brightness can help lower the heat build up on some devices.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the BP6/VP6 User Group today!
ID: 1907237 · Report as offensive     Reply Quote
Profile Ageless
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14317
Credit: 3,578,676
RAC: 462
Netherlands
Message 1907240 - Posted: 15 Dec 2017, 14:50:58 UTC - in response to Message 1907237.  

Brightness is set to lowest possible. I always have my devices run at low brightness, as higher brightness eats battery.
I found that after unplugging the phone and replugging it, that the Stay Awake option needs to be turned off and back on for it to work again. Else the screen will go off - and thus the CPU back into power safe mode.

@Keith, forgot to answer: Quad core ARM Cortex-A7, Mediatek MT6589, 32bit.
Jord

Ancient Astronaut Theorists can tell you that I do not help with tech questions via private message. Please use the forums for that.
ID: 1907240 · Report as offensive     Reply Quote
Profile Keith MyersSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 3164
Credit: 204,015,894
RAC: 289,716
United States
Message 1907252 - Posted: 15 Dec 2017, 17:05:23 UTC

@Jord, that's what I wondered. Whether the newer processors were the culprit. The new processors all implement VERY aggressive power saving features. Like being able to turn off whole parts of the chip in one clock cycle. I suspect that this type of design is at the root of the issue. Older hardware was never this efficient. My phone only lasts at most a couple of hours on a fully charged new battery. The current phones today are able to run for 10-12 hours.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1907252 · Report as offensive     Reply Quote
Profile Gary CharpentierCrowdfunding Project Donor*Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 25 Dec 00
Posts: 21462
Credit: 32,568,653
RAC: 32,187
United States
Message 1907262 - Posted: 15 Dec 2017, 18:07:32 UTC

@Jord, might be the related to issue I'm reporting on Mac's and UPS on the Dev board. The O/S saying I know better than you do.
ID: 1907262 · Report as offensive     Reply Quote
Profile Ageless
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14317
Credit: 3,578,676
RAC: 462
Netherlands
Message 1907300 - Posted: 15 Dec 2017, 22:22:51 UTC - in response to Message 1907252.  

Keith wrote:
@Jord, that's what I wondered. Whether the newer processors were the culprit.
The Huawei G700-U10 is a smart phone from 2013, so it isn't exactly new. The chip in it is from December 2012. The phone was lying dormant in my night stand until I woke it back up in October. I've been having it run Seti - and some Beta - since that time.

Gary wrote:
@Jord, might be the related to issue I'm reporting on Mac's and UPS on the Dev board. The O/S saying I know better than you do.
Ah, but is it the OS that powers the CPU down, or the CPU? And can one directly compare Android with Apple's MacOS Sierra?
Jord

Ancient Astronaut Theorists can tell you that I do not help with tech questions via private message. Please use the forums for that.
ID: 1907300 · Report as offensive     Reply Quote
Profile Keith MyersSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 3164
Credit: 204,015,894
RAC: 289,716
United States
Message 1907304 - Posted: 15 Dec 2017, 22:40:41 UTC - in response to Message 1907300.  
Last modified: 15 Dec 2017, 22:42:26 UTC

OK, that is very different information from list of ARM processors I looked at. It didn't list any of the Cortex A7 processors till much later. My mistake.

It has to be the OS that tells the CPU and system to save energy however it decides is best.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1907304 · Report as offensive     Reply Quote
Profile Gary CharpentierCrowdfunding Project Donor*Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 25 Dec 00
Posts: 21462
Credit: 32,568,653
RAC: 32,187
United States
Message 1907327 - Posted: 15 Dec 2017, 23:37:18 UTC - in response to Message 1907300.  

Keith wrote:
@Jord, that's what I wondered. Whether the newer processors were the culprit.
The Huawei G700-U10 is a smart phone from 2013, so it isn't exactly new. The chip in it is from December 2012. The phone was lying dormant in my night stand until I woke it back up in October. I've been having it run Seti - and some Beta - since that time.

Gary wrote:
@Jord, might be the related to issue I'm reporting on Mac's and UPS on the Dev board. The O/S saying I know better than you do.
Ah, but is it the OS that powers the CPU down, or the CPU? And can one directly compare Android with Apple's MacOS Sierra?

Other than both being Unix/Posix like perhaps not. But then one man's great idea gets ripped off by everyone else. And it isn't Droid and OSX but ARM and Intel. So it could be some new "hot" feature in the O/S standard.
ID: 1907327 · Report as offensive     Reply Quote
Profile Ageless
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14317
Credit: 3,578,676
RAC: 462
Netherlands
Message 1907460 - Posted: 16 Dec 2017, 9:03:30 UTC

I've run two armv7-vfpv3-nopie with the "Stay awake" screen on solution, will now run two armv7-vfpv3-nopie with the screen off, for a direct comparison at application level.

Task https://setiathome.berkeley.edu/result.php?resultid=6232865961
run time 111,141.49 CPU time 103,559.00, ratio 1,0732190345600092700779265925704

Task https://setiathome.berkeley.edu/result.php?resultid=6233840691
run time 86,673.59 CPU time 79,544.87, ratio 1,0896188528562558465429637385792

Using two cores, max CPU temp was 49.9C, ambient room temperature 12C.
I don't want to know what temps will be with more cores...
Jord

Ancient Astronaut Theorists can tell you that I do not help with tech questions via private message. Please use the forums for that.
ID: 1907460 · Report as offensive     Reply Quote
Kiska
Volunteer tester

Send message
Joined: 31 Mar 12
Posts: 245
Credit: 1,512,800
RAC: 275
Australia
Message 1907463 - Posted: 16 Dec 2017, 9:12:32 UTC - in response to Message 1907460.  

I don't want to know what temps will be with more cores...


Its all passively cooled, and not designed for sustained workloads. I would go as far as to run only 1 unit, 49C that close to the battery can't mean good things
ID: 1907463 · Report as offensive     Reply Quote
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 5871
Credit: 78,003,108
RAC: 22,268
Russia
Message 1907595 - Posted: 16 Dec 2017, 23:07:20 UTC

In my case switching OFF second CPU core linked with absence of interaction with phone.
While I touch screen and move sme GUI element along it - second core remains active, When I stop - second core switchess OFF.

So, I need some program like "autoclicker" that would do small GUI load to fool OS that full CPU power is required. I hope this wild allow BOIC to use both cores.
(Though, if it's really affinity-limited this would just increase power consumption w/o helping BOINC a lot).
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1907595 · Report as offensive     Reply Quote
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 9190
Credit: 118,758,899
RAC: 49,580
Australia
Message 1907598 - Posted: 16 Dec 2017, 23:13:58 UTC - in response to Message 1907463.  

I don't want to know what temps will be with more cores...

Its all passively cooled, and not designed for sustained workloads. I would go as far as to run only 1 unit, 49C that close to the battery can't mean good things

Or put a couple of small pencils down to place the phone on for better cooling.
Grant
Darwin NT
ID: 1907598 · Report as offensive     Reply Quote
Profile Ageless
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14317
Credit: 3,578,676
RAC: 462
Netherlands
Message 1907611 - Posted: 16 Dec 2017, 23:51:58 UTC - in response to Message 1907598.  
Last modified: 17 Dec 2017, 0:18:54 UTC

The phone is lying with the display down on a flat wooden surface. I agree that it isn't safe to potentially put the battery to be in close proximity of such heat.

On the BOINC forums someone posted how he put six or more Android phones in a box together, with the batteries removed, and all powered directly via USB connections. That may be the only safe way.

Well, for added security, fill the box with sand and put it on the balcony. ;-)
Edit: http://www.instructables.com/id/How-to-Recycle-Android-Phones-for-BOINC-or-Folding//
Jord

Ancient Astronaut Theorists can tell you that I do not help with tech questions via private message. Please use the forums for that.
ID: 1907611 · Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · Next

Message boards : Number crunching : Multicore smartphones - how to use their full potential


 
©2018 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.