Running on a 4GB Raspberry Pi 4 - How to?

Message boards : Number crunching : Running on a 4GB Raspberry Pi 4 - How to?

To post messages, you must log in.

1 · 2 · 3 · 4 . . . 6 · Next

AuthorMessage
akc42

Send message
Joined: 24 Mar 20
Posts: 7
Credit: 709,575
RAC: 0
Message 93604 - Posted: 6 Apr 2020, 6:35:32 UTC

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
ID: 93604 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1706
Credit: 18,261,634
RAC: 24,355
Message 93609 - Posted: 6 Apr 2020, 7:26:33 UTC - in response to Message 93604.  

In one of the earlier threads in this forum.
Rosetta running on ARM platforms
Grant
Darwin NT
ID: 93609 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
akc42

Send message
Joined: 24 Mar 20
Posts: 7
Credit: 709,575
RAC: 0
Message 93642 - Posted: 6 Apr 2020, 15:22:54 UTC - in response to Message 93609.  

In one of the earlier threads in this forum.
Rosetta running on ARM platforms



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
ID: 93642 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Dayle

Send message
Joined: 6 Jan 14
Posts: 13
Credit: 864,467
RAC: 7,541
Message 93653 - Posted: 6 Apr 2020, 17:49:12 UTC - in response to Message 93642.  

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.
ID: 93653 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
akc42

Send message
Joined: 24 Mar 20
Posts: 7
Credit: 709,575
RAC: 0
Message 93665 - Posted: 6 Apr 2020, 19:05:53 UTC - in response to Message 93653.  

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.



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?
ID: 93665 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
PorkyPies

Send message
Joined: 6 Apr 20
Posts: 45
Credit: 1,650,779
RAC: 0
Message 93674 - Posted: 6 Apr 2020, 20:25:20 UTC - in response to Message 93665.  

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?

That sounds like it didn’t take the alt_platform tag. What BOINC version and please list your cc_config.xml
MarksRpiCluster
ID: 93674 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
akc42

Send message
Joined: 24 Mar 20
Posts: 7
Credit: 709,575
RAC: 0
Message 93690 - Posted: 6 Apr 2020, 22:45:04 UTC - in response to Message 93674.  


That sounds like it didn’t take the alt_platform tag. What BOINC version and please list your cc_config.xml


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
ID: 93690 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
PorkyPies

Send message
Joined: 6 Apr 20
Posts: 45
Credit: 1,650,779
RAC: 0
Message 93699 - Posted: 7 Apr 2020, 0:08:08 UTC - in response to Message 93690.  

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
ID: 93699 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
PorkyPies

Send message
Joined: 6 Apr 20
Posts: 45
Credit: 1,650,779
RAC: 0
Message 93718 - Posted: 7 Apr 2020, 8:19:03 UTC
Last modified: 7 Apr 2020, 8:21:33 UTC

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
ID: 93718 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Alessandro Donelli

Send message
Joined: 8 Apr 20
Posts: 1
Credit: 15,240
RAC: 0
Message 93949 - Posted: 9 Apr 2020, 8:43:51 UTC

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!
ID: 93949 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
akc42

Send message
Joined: 24 Mar 20
Posts: 7
Credit: 709,575
RAC: 0
Message 93988 - Posted: 9 Apr 2020, 18:14:29 UTC - in response to Message 93642.  

In one of the earlier threads in this forum.
Rosetta running on ARM platforms



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


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.
ID: 93988 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1706
Credit: 18,261,634
RAC: 24,355
Message 94012 - Posted: 9 Apr 2020, 22:21:37 UTC - in response to Message 93988.  

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 work
would 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
ID: 94012 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
akc42

Send message
Joined: 24 Mar 20
Posts: 7
Credit: 709,575
RAC: 0
Message 94037 - Posted: 10 Apr 2020, 6:55:06 UTC - in response to Message 94012.  

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 work
would be good options to avoid ending up with more work than you can process before the deadlines while the Estimated completion times settle down.


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.
ID: 94037 · 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 94040 - Posted: 10 Apr 2020, 8:06:21 UTC - in response to Message 94037.  

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.

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
ID: 94040 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1706
Credit: 18,261,634
RAC: 24,355
Message 94050 - Posted: 10 Apr 2020, 10:06:19 UTC - in response to Message 94037.  

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.
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).
That way you tend to end up closer to your "Store at least xx days of work" setting.
Grant
Darwin NT
ID: 94050 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Cartoonman

Send message
Joined: 9 Oct 08
Posts: 13
Credit: 7,274,094
RAC: 191
Message 94066 - Posted: 10 Apr 2020, 11:51:56 UTC - in response to Message 94042.  
Last modified: 10 Apr 2020, 11:53:25 UTC

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.
ID: 94066 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Millenium

Send message
Joined: 20 Sep 05
Posts: 68
Credit: 184,283
RAC: 0
Message 94069 - Posted: 10 Apr 2020, 12:15:52 UTC

It's not the project if your hardware overheats. If RPi4 has overheating problems yeah well, time to get a better heatsink!
ID: 94069 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 2000
Credit: 9,776,051
RAC: 10,212
Message 94070 - Posted: 10 Apr 2020, 12:28:54 UTC - in response to Message 94069.  

If RPi4 has overheating problems yeah well, time to get a better heatsink!

Pimoroni is the solution
ID: 94070 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1832
Credit: 119,842,723
RAC: 12,821
Message 94081 - Posted: 10 Apr 2020, 15:29:40 UTC

ID: 94081 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mavrrick

Send message
Joined: 20 Mar 20
Posts: 1
Credit: 544,098
RAC: 6
Message 94158 - Posted: 11 Apr 2020, 14:43:36 UTC

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.
ID: 94158 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
1 · 2 · 3 · 4 . . . 6 · Next

Message boards : Number crunching : Running on a 4GB Raspberry Pi 4 - How to?



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