Message boards : Number crunching : Running on a 4GB Raspberry Pi 4 - How to?
Author | Message |
---|---|
akc42 Send message Joined: 24 Mar 20 Posts: 7 Credit: 709,575 RAC: 0 |
I know its not massive computing power, but it is some. I have a spare 4GB Raspberry Pi sitting around doing nothing. I also have a 1GB Model 3+ powered on 24/7 but doing almost nothing. I saw a tweet that said that Rosetta@Home was now supported on these devices, but I can find nothing that tells me how to set them up (currently running raspbian 32 bit - but that could change). Can someone point me at some simple instructions of where to get the software, and how to set it up on the two Pis. Thanks |
Grant (SSSF) Send message Joined: 28 Mar 20 Posts: 1706 Credit: 18,261,634 RAC: 24,355 |
|
akc42 Send message Joined: 24 Mar 20 Posts: 7 Credit: 709,575 RAC: 0 |
In one of the earlier threads in this forum. Perfect thanks - I now have my spare 4G Pi running a number of tasks. Sadly the 2GB Pi 4 just hasn't quite got enough memory and the 3+ at 1GB definitely doesn't |
Dayle Send message Joined: 6 Jan 14 Posts: 13 Credit: 864,467 RAC: 7,541 |
Then please sign up for World Community Grid on the smaller device. They've got COVID-19 tasks coming soon for Windows, Mac and Linux and need their queues drained of dry of everything else ASAP. Also their system requirements are usually much smaller. |
akc42 Send message Joined: 24 Mar 20 Posts: 7 Credit: 709,575 RAC: 0 |
Then please sign up for World Community Grid on the smaller device. I tried the same approach as with the other Raspberry PI to get alt_platform set up, but World Community Grid reports it doesn't support computers of type arm-unknown-linux-gnueabihf Is there some other approach I should take? |
PorkyPies Send message Joined: 6 Apr 20 Posts: 45 Credit: 1,650,779 RAC: 0 |
I tried the same approach as with the other Raspberry PI to get alt_platform set up, but World Community Grid reports it doesn't support computers of type arm-unknown-linux-gnueabihf That sounds like it didn’t take the alt_platform tag. What BOINC version and please list your cc_config.xml MarksRpiCluster |
akc42 Send message Joined: 24 Mar 20 Posts: 7 Credit: 709,575 RAC: 0 |
I don't know why - i've wiped that machine for now, but it had the config set up exactly as as specified in Marks Rpi Cluster article and on my other pi. It also did contact rosetta@home fine - just told there wasn't enough memory. <!-- This is a minimal configuration file cc_config.xml of the BOINC core client. For a complete list of all available options and logging flags and their meaning see: https://boinc.berkeley.edu/wiki/client_configuration --> <cc_config> <log_flags> <task>1</task> <file_xfer>1</file_xfer> <sched_ops>1</sched_ops> </log_flags> <options> <alt_platform>aarch64-unknown-linux-gnu</alt_platform> </options> </cc_config> Its running boinc-client from the debian stable repository 7.14.2 |
PorkyPies Send message Joined: 6 Apr 20 Posts: 45 Credit: 1,650,779 RAC: 0 |
Well that looks correct to me. Maybe the WCG server doesn't support it if they're running an older version. I'd report it over at WCG and see what they say. The BOINC client configuration page doesn't make any mention of what version it applied from, All it says is: <alt_platform>platform_name</alt_platform> Specify an alternate platform name, to be included in scheduler requests. You can specify more than one. MarksRpiCluster |
PorkyPies Send message Joined: 6 Apr 20 Posts: 45 Credit: 1,650,779 RAC: 0 |
I thought I'd post here what settings I am using on the couple of Pi4 model B 4GB that I have and what seems to work for me. I am running 3 tasks at a time. I have seen memory use up to 918MB at times per task so I think that is about the limit of how many can run at once. I use an app_config file to limit the number running at the same time. If you have a 2GB Pi4 you should be able to run one at a time. I had to allow 6GB of disk space in BOINC/project preferences to get all three running. It would appear to need around 2GB of disk space per task. Make sure you have a big enough SD card. I have also set the checkpoint interval to 600 seconds to reduce wear on the SD card. This is for the 4.12 app, things might change with a new app version, I have memory settings set to 60% when in use and 90% when not in use. All my Pi's are running headless (no screen or keyboard) so as far as BOINC is concerned they are never "in use". I have a bunch of Pi3's but they are unsuitable for this project due to their limited memory. I have them running Einstein work. MarksRpiCluster |
Alessandro Donelli Send message Joined: 8 Apr 20 Posts: 1 Credit: 15,240 RAC: 0 |
Hi! I would like to help with my Raspberry Pi 4 but after adding the project I get the a message saying that the project doesn't support arm-unknown-linux-gnueabihf. Is there something that I can do? Thank you! |
akc42 Send message Joined: 24 Mar 20 Posts: 7 Credit: 709,575 RAC: 0 |
In one of the earlier threads in this forum. Good news - I just set my 2GB Pi4 up and left it, and just looked at it now and its running a job. There are several not started for lack of memory, but I guess it will attack another one of them when the current one finishes. |
Grant (SSSF) Send message Joined: 28 Mar 20 Posts: 1706 Credit: 18,261,634 RAC: 24,355 |
Good news - I just set my 2GB Pi4 up and left it, and just looked at it now and its running a job. There are several not started for lack of memory, but I guess it will attack another one of them when the current one finishes.In your Account, Computinmg preferences, Memory When computer is in use, use at most 95 % When computer is not in use, use at most 95 %will give BOINC more RAM and should allow 2 Tasks to run at a time. In Other Store at least 1 days of work Store up to an additional 0.02 days of workwould be good options to avoid ending up with more work than you can process before the deadlines while the Estimated completion times settle down. Grant Darwin NT |
akc42 Send message Joined: 24 Mar 20 Posts: 7 Credit: 709,575 RAC: 0 |
Good news - I just set my 2GB Pi4 up and left it, and just looked at it now and its running a job. There are several not started for lack of memory, but I guess it will attack another one of them when the current one finishes.In your Account, Computinmg preferences, Actually I was already more aggressive that that Memory When computer is in use, use at most 100 % When computer is not in use, use at most 100 % Other Store at least 0.1 days of work Store up to an additional 0.5 days of work Its a headless server running a single nodejs application under PM2 and an ssh deamon so I can reach it. Its doing nothing most of the time. |
MarkJ Send message Joined: 28 Mar 20 Posts: 72 Credit: 25,238,680 RAC: 0 |
Actually I was already more aggressive that that Things get ugly when a machine runs out of memory. I'd limit to 95%. There are moves to try and improve things in the Linux kernel when it runs out of memory but they aren't there yet. BOINC blog |
Grant (SSSF) Send message Joined: 28 Mar 20 Posts: 1706 Credit: 18,261,634 RAC: 24,355 |
Generally you're better off with those values reversed (if you actually want 0.5 days of work; otherwise set it to 0.1 and 0.02 to get 0.1 days worth (although you'd have to reduce the Target CPU runtime as well).Other Store at least 0.1 days of work Store up to an additional 0.5 days of workIts a headless server running a single nodejs application under PM2 and an ssh deamon so I can reach it. Its doing nothing most of the time. That way you tend to end up closer to your "Store at least xx days of work" setting. Grant Darwin NT |
Cartoonman Send message Joined: 9 Oct 08 Posts: 13 Credit: 7,274,094 RAC: 191 |
Unfortunately Rosetta doesn't speaking about ARM64 issues like on RPi4 which is fighting overheating problems from the beginning without any load on CPU so it has a big chance Rosetta app will kill that boards shortly. Be careful if you would take care about your RPi4. RPi4's aren't the only ARM64 devices on the market. Many mobile phones as well as other single-board computers run ARM64, including powerful compute SoM's like Nvidia Jetsons, which do come with large heatsinks. The issue of overheating is specifically a RPi4 problem, not an ARM64 problem. I'd hope RPi4 owners would be aware of CPU overheating issues, since they were prevalent long before this, but the advice holds true for any compute device that doesn't have the proper thermal controls to dissipate heat. As a final point, it's stated here under Liability: [https://boinc.bakerlab.org/info.php] Rosetta@home and University of Washington assume no liability for damage to your computer, loss of data, or any other event or condition that may occur as a result of participating in Rosetta@home. Most if not all BOINC projects (along with virtually all software nowadays) carry the same liability for much of the same reasons: avoiding issues from users that run their programs and don't ensure proper thermal controls that damage their hardware. |
Millenium Send message Joined: 20 Sep 05 Posts: 68 Credit: 184,283 RAC: 0 |
It's not the project if your hardware overheats. If RPi4 has overheating problems yeah well, time to get a better heatsink! |
[VENETO] boboviz Send message Joined: 1 Dec 05 Posts: 2000 Credit: 9,776,051 RAC: 10,212 |
|
dcdc Send message Joined: 3 Nov 05 Posts: 1832 Credit: 119,842,723 RAC: 12,821 |
Here is my Pi4 running on 3 cores at stock speed, and using this heatsink: https://shop.pimoroni.com/products/aluminium-heatsink-case-for-raspberry-pi-4?variant=29430673178707 https://boinc.bakerlab.org/rosetta/show_host_detail.php?hostid=4021327 |
Mavrrick Send message Joined: 20 Mar 20 Posts: 1 Credit: 544,098 RAC: 6 |
If you bought the Pi4 and didn't do anything but slap the included cheap heatsinck on the CPU, or put it in the Official Pi case it will run hot. Even a simple usb fan just blowing over the case will cool it down. I have 3 different pi 4 boards all running cool. One uses a Flirc Case, Another just has a simply acrylic fan that is blowing on the CPU, and the last has the top of the official case (top off) with a 120mm usb fan blowing on it. All Stay fairly cool I like the Flirc case the most though because it appears to be the cleanest look. What i am noticing is that they don't have enough portal work units. I have one pie that is getting work units while my other one that is currently setup to help isn't getting any. |
Message boards :
Number crunching :
Running on a 4GB Raspberry Pi 4 - How to?
©2024 University of Washington
https://www.bakerlab.org