Folding on Android with UserLAnd and the new Linux ARM build

Moderators: Site Moderators, FAHC Science Team

Neil-B
Posts: 1996
Joined: Sun Mar 22, 2020 5:52 pm
Hardware configuration: 1: 2x Xeon [email protected], 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon [email protected], 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: [email protected], 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21
Location: UK

Re: Folding on Android with UserLAnd and the new Linux ARM b

Post by Neil-B »

manalog wrote:Yes, started folding yesterday and both the device were able to stay inside the "timeout" mark. The Motorola already finished a WU.

I don't know if soon or later they will get wu that stay inside "expire" but not "timeout". This, curiously, happened to me not on arm devices rather on a powerful Ryzen 5 laptop. In this case it is better to continue crunching the WU or abort it?

By the way starting from yesterday I've seen 3WUs in my "ARM Cluster", 1 completed, 2 in progress, 100% completed or predicted to be completed widely under the "Timeout" deadline.
I am impressed and tbh surprised :) ... I am aware of laptops that are struggling to meet the expirations !!
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070

(Green/Bold = Active)
Joe_H
Site Admin
Posts: 7926
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Folding on Android with UserLAnd and the new Linux ARM b

Post by Joe_H »

There are projects that are small enough in WU size and processing time to be assigned to ARM clients, they try to keep the larger ones off being assigned to ARM. However for the Intel/AMD chips they mostly can only assign based on the number of CPU threads in the request. So a laptop or desktop may get a WU that may not get completed within the timeout.

Every so often I get one of those small WUs on my laptop. Take about 3 hours of a 2 day timeout period.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
manalog
Posts: 9
Joined: Thu Sep 17, 2015 3:08 pm

Re: Folding on Android with UserLAnd and the new Linux ARM b

Post by manalog »

A couple of things I've noticed in my second day of running FAH on two arm devices:

1) CPU usage it's stuck at 72% for both; I thought it was only the Motorola due to Android limitations, and I was a bit surprised when I saw the same on the monitor of the Orange Pi 4, running Armbian. While the Motorola phone never reached 100% even with Boinc, the Orange Pi 4 ran Boinc at 100% usage for an entire year.
2) On Android devices, be careful with the TPF: it changes A LOT during the execution of the workunit.

By the way, no error to report nor wus not being completed in time. The two devices are still crunching without any problem; the phone is not terribly hot, I still haven't put a fan on it.
MeeLee
Posts: 1339
Joined: Tue Feb 19, 2019 10:16 pm

Re: Folding on Android with UserLAnd and the new Linux ARM b

Post by MeeLee »

From my experience with Boinc (very similar to FAH), is that most modern Android phones having an 8core ARM CPU, they can only run up to 4 cores on the A50-series (low performance) cores.
Setting affinity to 5 or above usually results in overheating.
Phones with 8nm or smaller lithography can run 4-6 cores easily, without exceeding 35C (5C below the max of most batteries; the °C values can be read from CPUZ).
The Qualcomm Snapdragon 730 is one of the few mid-range CPUs that has 2 fast cores and 6 slow cores; and can run 6 cores without overheating.
More common 10nm models usually can run fine at 4 cores, but if your model has 14nm, you'd have to reduce the amount to 2 or 3 cores (not to exceed 40C) in a phone sized, and enclosed device.

The Cortex-A70 cores (found in the Pi4) are much faster, the A50 series are much slower; the Neonverse (not many have this) are even faster than the A70 cores.

Setting your model to beyond the slow cores usually leads to overheating, as one or more of the cores need to constantly read more L-cache data from RAM; and/or if the used L-cache per core is small enough to load 2 WUs per core, it'll run very optimally, using ~ every clock cycle, and therefore overheating much easier.

One thing you can do with old phones or tablets, is:
1- Open the device, and improve the CPU cooling, by manually installing a heat sink on the CPU at least.
2- Separating the battery from the CPU
3- Run from a sufficiently powerful power adapter (usually 5V 2A is more than enough for most phones).
manalog
Posts: 9
Joined: Thu Sep 17, 2015 3:08 pm

Re: Folding on Android with UserLAnd and the new Linux ARM b

Post by manalog »

Existential question are starting to arise :lol:

Orange PI,
PRCG 18436
ETA 2.00 days
TPF 31min 46 sec
Assigned 2021-11-28T14:37:31Z
Timeout 2021-11-30T14:37:31Z
Expiration 2021-12-02T02:37:31Z
Now: 2021-11-28T20:02:36

So it seems it will miss the timeout for just 6 hours, while it will stay safely inside the expiration. I am not interested in point, only science. Should I keep folding it or abort it? I read some forum post but still I don't know what is the consensus about Timeline vs Expiration. Will my WU be assigned immediately and so be a waste of energy and computational power or, considered that the expiration is after 2 more days, this chance tend to zero?
toTOW
Site Moderator
Posts: 6349
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: Folding on Android with UserLAnd and the new Linux ARM b

Post by toTOW »

A WU is reassigned to another machine after the timeout delay ... you can still complete it, but results will be duplicated.

When expiration delay is reached, the client deletes the WU from your system.

The slowest CPU that can complete WUs on time is the RPi 4 (although p16969 won't complete before timeout, and I think it's the only exception).
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
Post Reply