Raspberry Pi4

Message boards : Number crunching : Raspberry Pi4

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 90865 - Posted: 24 Jun 2019, 10:29:51 UTC

In the past i was skeptical to crunch Rosetta on old versions of Raspberry.
Now this version has so much new features like new cpu (from 40nm to 28nm), new ram (from LPDDR2 to LPDDR4), Gigabit Ethernet, USB3, etc, that may be interesting to use it on this project.
It's a pity there are not wus for Android for a long time
ID: 90865 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Melodie_Manthei_Family

Send message
Joined: 25 Jan 07
Posts: 15
Credit: 16,341,771
RAC: 0
Message 90868 - Posted: 25 Jun 2019, 1:06:34 UTC - in response to Message 90865.  

I agree. The 3 was pretty good and there's some good competitors, but the 4's better CPU and optional 4GB of memory really makes a big difference. I really wish Rosetta could leverage all the ARM products that are available today and going forward.
ID: 90868 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Paul

Send message
Joined: 29 Oct 05
Posts: 193
Credit: 66,366,511
RAC: 8,447
Message 90869 - Posted: 25 Jun 2019, 2:32:26 UTC - in response to Message 90868.  

Any word of a version of rosy for the Pi 4? I could see a whole stack of these at my house. 4 cores at 15W sounds good. Could we get the Android workloads to run on this thing?
Thx!

Paul

ID: 90869 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 90870 - Posted: 25 Jun 2019, 7:09:04 UTC - in response to Message 90869.  

Could we get the Android workloads to run on this thing?

In the old version of Raspberry it's possible to run Windows 10 IoT, Linux and....Android.
I think will be possibile even with this version
ID: 90870 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Paul

Send message
Joined: 29 Oct 05
Posts: 193
Credit: 66,366,511
RAC: 8,447
Message 90871 - Posted: 25 Jun 2019, 9:04:55 UTC - in response to Message 90870.  

I look forward to some benchmarks on this platform with Rosy. I can buy lots of cores with obsolete AMD Opterons at about 550 RAC per core. A machine with 64 cores & 64GB RAM costs about $300 & yield a RAC of 35,000. It would require 16 Raspberry Pi 4B machines for the same number of CPU cores and RAM. The Pi solution requires much less power but would cost almost 3x as much.

I look forward to some test runs on this platform.
Thx!

Paul

ID: 90871 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 90872 - Posted: 25 Jun 2019, 10:34:51 UTC - in response to Message 90871.  

The Pi solution requires much less power but would cost almost 3x as much.

You are comparing a server cpu with an all-in-one card, it's obvious that IPC is on the Opteron side.
But the TPD of 64 cores machine? How much watt per day??
I think that, after a couple of mounth, Raspberry is convenient.
Obviously, the management/maintenance of 16 Rasp is much more demanding that a single workstation.
ID: 90872 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 90876 - Posted: 27 Jun 2019, 8:41:08 UTC

ID: 90876 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 90892 - Posted: 7 Jul 2019, 8:40:11 UTC

ID: 90892 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 91051 - Posted: 20 Aug 2019, 17:13:36 UTC
Last modified: 20 Aug 2019, 17:13:48 UTC

Great cooling for Pi4
Shim
ID: 91051 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 91633 - Posted: 31 Jan 2020, 8:56:18 UTC

Interesting guide for Boinc on Rasp4
ID: 91633 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 91794 - Posted: 27 Feb 2020, 15:10:58 UTC

Cut the price
it’s our eighth birthday, and falling RAM prices have allowed us to cut the price of the 2GB Raspberry Pi 4 to $35

ID: 91794 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
jjandrah+boinc

Send message
Joined: 26 Feb 20
Posts: 1
Credit: 159,526
RAC: 0
Message 91795 - Posted: 28 Feb 2020, 8:51:31 UTC
Last modified: 28 Feb 2020, 8:56:45 UTC

I tested BOINC on Ubuntu 19.10.1 on an RPI 4 today. No Rosetta@home work units available, though.

First, install 64-bit Ubuntu 19.10.1 on the RPi 4. arm64 is also known as aarch64 and armv8.
https://wiki.ubuntu.com/ARM/RaspberryPi#arm64

Then, install docker.
https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository
Note that at the time of writing, one must modify step 4. Change the arch and branch such that it reads: "deb [arch=arm64] https://download.docker.com/linux/ubuntu eoan test"

Next... well, that's it. Bootstrap boinc and attach it to rosetta via:

docker run -d --rm --name boinc_rosetta -v /data/boinc_rosetta/:/var/lib/boinc boinc/client:arm64v8
docker exec boinc_rosetta --project_attach https://boinc.bakerlab.org/rosetta/ USERKEYHERE

Unfortunately, there's no work items for the detected OS string:

$ docker logs boinc_rosetta
28-Feb-2020 07:54:25 [---] cc_config.xml not found - using defaults
28-Feb-2020 07:54:25 [---] Starting BOINC client version 7.14.2 for aarch64-unknown-linux-gnu
28-Feb-2020 07:54:25 [---] log flags: file_xfer, sched_ops, task
28-Feb-2020 07:54:25 [---] Libraries: libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0 librtmp/2.3
28-Feb-2020 07:54:25 [---] Data directory: /var/lib/boinc
28-Feb-2020 07:54:25 [---] No usable GPUs found
28-Feb-2020 07:54:25 [---] Creating new client state file
28-Feb-2020 07:54:25 [---] [libc detection] gathered: 2.29, Ubuntu GLIBC 2.29-0ubuntu2
28-Feb-2020 07:54:25 [---] Host name: ef017f36f17e
28-Feb-2020 07:54:25 [---] Processor: 4 ARM BCM2835 [Impl 0x41 Arch 8 Variant 0x0 Part 0xd08 Rev 3]
28-Feb-2020 07:54:25 [---] Processor features: fp asimd evtstrm crc32 cpuid
28-Feb-2020 07:54:25 [---] OS: Linux Ubuntu: Ubuntu 19.04 [5.3.0-1018-raspi2|libc 2.29 (Ubuntu GLIBC 2.29-0ubuntu2)]
28-Feb-2020 07:54:25 [---] Memory: 3.70 GB physical, 0 bytes virtual
28-Feb-2020 07:54:25 [---] Disk: 1.79 TB total, 1.69 TB free
28-Feb-2020 07:54:25 [---] Local time is UTC +0 hours
28-Feb-2020 07:54:25 [---] Config: GUI RPCs allowed from:
28-Feb-2020 07:54:25 [---] 127.0.0.1
28-Feb-2020 07:54:25 [---] Last benchmark was 18320 days 07:54:25 ago
28-Feb-2020 07:54:25 [---] No general preferences found - using defaults
28-Feb-2020 07:54:25 [---] Preferences:
28-Feb-2020 07:54:25 [---] max memory usage when active: 1895.71 MB
28-Feb-2020 07:54:25 [---] max memory usage when idle: 3412.28 MB
28-Feb-2020 07:54:25 [---] max disk usage: 1649.48 GB
28-Feb-2020 07:54:25 [---] don't use GPU while active
28-Feb-2020 07:54:25 [---] suspend work if non-BOINC CPU load exceeds 25%
28-Feb-2020 07:54:25 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
28-Feb-2020 07:54:25 [---] Setting up project and slot directories
28-Feb-2020 07:54:25 [---] Checking active tasks
dir_open: Could not open directory 'slots' from '/var/lib/boinc'.
28-Feb-2020 07:54:25 [---] Setting up GUI RPC socket
28-Feb-2020 07:54:25 [---] Checking presence of 0 project files
28-Feb-2020 07:54:25 [---] This computer is not attached to any projects
28-Feb-2020 07:54:25 Initialization completed
dir_open: Could not open directory 'projects/boinc.bakerlab.org_rosetta' from '/var/lib/boinc'.
28-Feb-2020 07:56:15 [---] Running CPU benchmarks
28-Feb-2020 07:56:15 [---] Suspending computation - CPU benchmarks in progress
28-Feb-2020 07:56:46 [---]
28-Feb-2020 07:56:46 [---]
28-Feb-2020 07:56:46 [---]
28-Feb-2020 07:56:46 [---]
28-Feb-2020 07:56:47 [---] Resuming computation
28-Feb-2020 07:56:53 [https://boinc.bakerlab.org/rosetta/] Master file download succeeded
28-Feb-2020 07:56:58 [https://boinc.bakerlab.org/rosetta/] Sending scheduler request: Project initialization.
28-Feb-2020 07:56:58 [https://boinc.bakerlab.org/rosetta/] Requesting new tasks for CPU
28-Feb-2020 07:57:01 [Rosetta@home] Scheduler request completed: got 0 new tasks
28-Feb-2020 07:57:01 [Rosetta@home] This project doesn't support computers of type aarch64-unknown-linux-gnu

https://boinc.bakerlab.org/rosetta/apps.php doesn't have an entry configured for aarch64-unknown-linux-gnu, but you do have one for android arm. Trying to ask for those as it should be compatible. Ensure the cc_config.xml looks similar to the following:

/data/boinc_rosetta/cc_config.xml

<cc_config>
<options>
<alt_platform>arm-android-linux-gnu</alt_platform>
</options>
</cc_config>

No projects sent tonight. Checking the status page, no arm tasks at all are active now: https://boinc.bakerlab.org/rosetta/server_status.php.

docker stop boinc_rosetta


Ah well. I'll point this elsewhere at the meantime:
docker run -d --rm --name boinc_amicable -v /data/boinc_amicable/:/var/lib/boinc boinc/client:arm64v8
docker exec boinc_amicable boinccmd --project_attach https://sech.me/boinc/Amicable/ USERKEYHERE


docker logs boinc_amicable

28-Feb-2020 08:41:56 [---] cc_config.xml not found - using defaults
28-Feb-2020 08:41:56 [---] Starting BOINC client version 7.14.2 for aarch64-unknown-linux-gnu
28-Feb-2020 08:41:56 [---] log flags: file_xfer, sched_ops, task
28-Feb-2020 08:41:56 [---] Libraries: libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0 librtmp/2.3
28-Feb-2020 08:41:56 [---] Data directory: /var/lib/boinc
28-Feb-2020 08:41:56 [---] No usable GPUs found
28-Feb-2020 08:41:56 [---] Creating new client state file
28-Feb-2020 08:41:56 [---] [libc detection] gathered: 2.29, Ubuntu GLIBC 2.29-0ubuntu2
28-Feb-2020 08:41:56 [---] Host name: 30b4ec10a2e3
28-Feb-2020 08:41:56 [---] Processor: 4 ARM BCM2835 [Impl 0x41 Arch 8 Variant 0x0 Part 0xd08 Rev 3]
28-Feb-2020 08:41:56 [---] Processor features: fp asimd evtstrm crc32 cpuid
28-Feb-2020 08:41:56 [---] OS: Linux Ubuntu: Ubuntu 19.04 [5.3.0-1018-raspi2|libc 2.29 (Ubuntu GLIBC 2.29-0ubuntu2)]
28-Feb-2020 08:41:56 [---] Memory: 3.70 GB physical, 0 bytes virtual
28-Feb-2020 08:41:56 [---] Disk: 1.79 TB total, 1.68 TB free
28-Feb-2020 08:41:56 [---] Local time is UTC +0 hours
28-Feb-2020 08:41:56 [---] Config: GUI RPCs allowed from:
28-Feb-2020 08:41:56 [---] 127.0.0.1
28-Feb-2020 08:41:56 [---] Last benchmark was 18320 days 08:41:56 ago
28-Feb-2020 08:41:56 [---] No general preferences found - using defaults
28-Feb-2020 08:41:56 [---] Preferences:
28-Feb-2020 08:41:56 [---] max memory usage when active: 1895.71 MB
28-Feb-2020 08:41:56 [---] max memory usage when idle: 3412.28 MB
28-Feb-2020 08:41:56 [---] max disk usage: 1649.48 GB
28-Feb-2020 08:41:56 [---] don't use GPU while active
28-Feb-2020 08:41:56 [---] suspend work if non-BOINC CPU load exceeds 25%
28-Feb-2020 08:41:56 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
28-Feb-2020 08:41:56 [---] Setting up project and slot directories
dir_open: Could not open directory 'slots' from '/var/lib/boinc'.
28-Feb-2020 08:41:56 [---] Checking active tasks
28-Feb-2020 08:41:56 [---] Setting up GUI RPC socket
28-Feb-2020 08:41:56 [---] Checking presence of 0 project files
28-Feb-2020 08:41:56 [---] This computer is not attached to any projects
28-Feb-2020 08:41:56 Initialization completed
dir_open: Could not open directory 'projects/sech.me_boinc_Amicable' from '/var/lib/boinc'.
28-Feb-2020 08:42:05 [---] Running CPU benchmarks
28-Feb-2020 08:42:05 [---] Suspending computation - CPU benchmarks in progress
28-Feb-2020 08:42:36 [---]
28-Feb-2020 08:42:36 [---]
28-Feb-2020 08:42:36 [---]
28-Feb-2020 08:42:36 [---]
28-Feb-2020 08:42:36 [---] Resuming computation
28-Feb-2020 08:42:39 [https://sech.me/boinc/Amicable/] Master file download succeeded
28-Feb-2020 08:42:44 [https://sech.me/boinc/Amicable/] Sending scheduler request: Project initialization.
28-Feb-2020 08:42:44 [https://sech.me/boinc/Amicable/] Requesting new tasks for CPU
28-Feb-2020 08:42:46 [Amicable Numbers] Scheduler request completed: got 1 new tasks
28-Feb-2020 08:42:48 [Amicable Numbers] Started download of amicable_aarch64_v_3_0
28-Feb-2020 08:42:52 [Amicable Numbers] Finished download of amicable_aarch64_v_3_0
.....


----> Asks to the Rosetta folks: please cut a few aarch64-unknown-linux-gnu tasks for folks to use.
ID: 91795 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 91846 - Posted: 3 Mar 2020, 6:24:21 UTC - in response to Message 91795.  

I tested BOINC on Ubuntu 19.10.1 on an RPI 4 today. No Rosetta@home work units available, though.

You can crunch on Tn-Grid
ID: 91846 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
nicoman

Send message
Joined: 25 Nov 16
Posts: 2
Credit: 212,053
RAC: 0
Message 92062 - Posted: 18 Mar 2020, 19:17:33 UTC

Is there any rosetta application to run on raspberry pi? Will be in the future?
ID: 92062 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
rlpm

Send message
Joined: 23 Mar 20
Posts: 13
Credit: 84
RAC: 0
Message 92239 - Posted: 24 Mar 2020, 21:08:14 UTC - in response to Message 91846.  
Last modified: 24 Mar 2020, 21:27:39 UTC

You can crunch on Tn-Grid

Thanks! Seems to be working great on two RasPi A rev 2 and one RasPi B rev 2. Memory footprint is surprisingly small for the first tasks I received, under 40MB working set size.
ID: 92239 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1994
Credit: 9,623,704
RAC: 9,591
Message 92256 - Posted: 25 Mar 2020, 7:42:54 UTC - in response to Message 92062.  

Is there any rosetta application to run on raspberry pi? Will be in the future?


Same question on Twitter, R@H account replied:
We've got an update on that coming soon. Stay tuned!

ID: 92256 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
rlpm

Send message
Joined: 23 Mar 20
Posts: 13
Credit: 84
RAC: 0
Message 92282 - Posted: 25 Mar 2020, 17:04:13 UTC - in response to Message 92256.  
Last modified: 25 Mar 2020, 17:06:17 UTC

Same question on Twitter, R@H account replied

Yep, nice. Here's the tweet.

I hope this includes a smaller memory footprint as well. I have five RPi Compute Module 3s arriving in a few days, and would love to dedicate them to R@h.
After OS overhead, each of the 4 cores will have 240MB or so of RAM (assuming GPU will not be used).
ID: 92282 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Frank [NT]

Send message
Joined: 19 Apr 07
Posts: 3
Credit: 1,515,270
RAC: 70
Message 93189 - Posted: 3 Apr 2020, 8:56:51 UTC

Hi,

i saw there is a new version "Linux running on 64-bit ARM V 4.12" from 01.04.

I've added Rosetta to my RasPi 4 with "buster", but i always get a message like:
"03.04.2020 10:50:44 | Rosetta@home | Message from server: This project dont support computers of type arm-unknown-linux-gnueabihf" (translated from german...)

Is the "Linux running on 64-bit ARM" not for the Raspi 4 ?
ID: 93189 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
MarkJ

Send message
Joined: 28 Mar 20
Posts: 72
Credit: 25,238,680
RAC: 0
Message 93199 - Posted: 3 Apr 2020, 9:53:53 UTC - in response to Message 93189.  
Last modified: 3 Apr 2020, 10:28:33 UTC

Hi,

i saw there is a new version "Linux running on 64-bit ARM V 4.12" from 01.04.

I've added Rosetta to my RasPi 4 with "buster", but i always get a message like:
"03.04.2020 10:50:44 | Rosetta@home | Message from server: This project dont support computers of type arm-unknown-linux-gnueabihf" (translated from german...)

Is the "Linux running on 64-bit ARM" not for the Raspi 4 ?

You need to set the Pi4 kernel to 64 bit. By default its in armhf mode for compatibility with the older Pi apps. Once you've done it then it will say its aarch64 (which is ARM64). You'll be able to run aarch64 apps but there are a lot of compatibility issues with older apps.

See MarksRpiCluster for instructions.

After that to get BOINC to think its an aarch64 version you need to add an alt_platform entry in cc_config.xml within the options tags. It would say:
<alt_platform>aarch64-unknown-linux-gnu</alt_platform>

Also be aware the Covid-19 tasks can use up 1.5GB of memory so you might need to limit how many you run at a time.
BOINC blog
ID: 93199 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Frank [NT]

Send message
Joined: 19 Apr 07
Posts: 3
Credit: 1,515,270
RAC: 70
Message 93204 - Posted: 3 Apr 2020, 10:27:08 UTC - in response to Message 93199.  

Thanks a lot, Markj !

I'm running the "new" kernel now : Kernel version: Linux 4.19.97-v8+ aarch64

But... : I still get the same error-message and no work ! :-(
ID: 93204 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
1 · 2 · Next

Message boards : Number crunching : Raspberry Pi4



©2024 University of Washington
https://www.bakerlab.org