Rosetta running on ARM platforms

Message boards : Number crunching : Rosetta running on ARM platforms

To post messages, you must log in.

1 · 2 · 3 · Next

AuthorMessage
Mod.Zilla
Volunteer moderator

Send message
Joined: 5 Sep 06
Posts: 423
Credit: 6
RAC: 0
Message 35867 - Posted: 1 Feb 2007, 1:37:07 UTC
Last modified: 3 Apr 2020, 15:16:25 UTC

Let's start a conversation about ARM.
Rosetta Informational Moderator: Mod.Zilla
ID: 35867 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
a7r

Send message
Joined: 19 Mar 20
Posts: 3
Credit: 539,777
RAC: 0
Message 93172 - Posted: 3 Apr 2020, 7:35:25 UTC

Hi,

is there only a 64-bit application for arm?

Why not 32 bit? I have a little cluster with some 32-arm board waiting for tasks :-)

Greetings
Helge
ID: 93172 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Ykrad

Send message
Joined: 24 Mar 20
Posts: 1
Credit: 243,849
RAC: 0
Message 93222 - Posted: 3 Apr 2020, 13:14:39 UTC - in response to Message 93172.  

Hi,

is there only a 64-bit application for arm?

Why not 32 bit? I have a little cluster with some 32-arm board waiting for tasks :-)

Greetings
Helge


Any update on Helges questions? I got a Raspberry Pi 4 4GB ram I'd like to run this on.
ID: 93222 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Discarded

Send message
Joined: 6 Apr 19
Posts: 5
Credit: 91,866
RAC: 0
Message 93226 - Posted: 3 Apr 2020, 13:47:23 UTC

I have an Odroid XU4 equipped with 8 cores, but sadly it is ARMv7.
Once the 32bit application is online in the future, I will compile the possible latest kernel to engage in the battle.
ID: 93226 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
davidBAM

Send message
Joined: 22 Oct 18
Posts: 1
Credit: 13,922,080
RAC: 0
Message 93231 - Posted: 3 Apr 2020, 15:07:58 UTC - in response to Message 93222.  

Ditto that

Rosetta@home | Message from server: This project doesn't support computers of type arm-unknown-linux-gnueabihf
ID: 93231 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1831
Credit: 119,603,818
RAC: 10,746
Message 93234 - Posted: 3 Apr 2020, 15:22:15 UTC

Does this include Raspberry Pis? If so, do you know which models/OS?
ID: 93234 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
a7r

Send message
Joined: 19 Mar 20
Posts: 3
Credit: 539,777
RAC: 0
Message 93236 - Posted: 3 Apr 2020, 15:34:13 UTC - in response to Message 93222.  

Isn't Raspberry Pi 4 64 Bit?

I thougt with the new version of the rosetta application arm 64 bit should run.. or not?

Greetings
Helge
ID: 93236 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
a7r

Send message
Joined: 19 Mar 20
Posts: 3
Credit: 539,777
RAC: 0
Message 93237 - Posted: 3 Apr 2020, 15:36:40 UTC - in response to Message 93226.  

I have an Odroid XU4 equipped with 8 cores, but sadly it is ARMv7.
Once the 32bit application is online in the future, I will compile the possible latest kernel to engage in the battle.



My little cluster are Odroid HC1 (are simplified XU4s) and one XU4 too. Each of them has 2 GB of ram.

Would be great to run rosetta@home on these devices.

Greetings
Helge
ID: 93237 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sythrix

Send message
Joined: 13 Mar 20
Posts: 1
Credit: 534,555
RAC: 0
Message 93241 - Posted: 3 Apr 2020, 16:04:20 UTC - in response to Message 93235.  

Does that mean I can finally use my 8x Raspberry Pi 2GB 4Bs that I have lying around to actually do something? After Seti@home closed shop, it seems like everything I'm interested in doesn't support them.
ID: 93241 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Jamez

Send message
Joined: 20 Mar 20
Posts: 3
Credit: 3,364,030
RAC: 0
Message 93263 - Posted: 3 Apr 2020, 18:42:56 UTC - in response to Message 93154.  

It is very good news about the research and I want to help as much as I can. But I'm having issues with the latest tasks for Android and have tried installing twice and can't get to start any of the tasks you've sent, and now it thinks I have registered 2 phones. The BOINC app is made for older Androids and I have a recent one and powerful but can't help with it and looks like I'm running out of time to finish them before deadline. Maybe not the best place to write about this issues, but hopefully this may result in an attempt to fix the issues so more people can help.
ID: 93263 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile robertmiles

Send message
Joined: 16 Jun 08
Posts: 1232
Credit: 14,277,903
RAC: 1,635
Message 93271 - Posted: 3 Apr 2020, 19:24:04 UTC - in response to Message 93263.  

It is very good news about the research and I want to help as much as I can. But I'm having issues with the latest tasks for Android and have tried installing twice and can't get to start any of the tasks you've sent, and now it thinks I have registered 2 phones. The BOINC app is made for older Androids and I have a recent one and powerful but can't help with it and looks like I'm running out of time to finish them before deadline. Maybe not the best place to write about this issues, but hopefully this may result in an attempt to fix the issues so more people can help.


I looked at the specs for your computers, and they have only 1 GB or less of memory per processor. Many devices running Android were not built to allow adding more memory.

You may need to experiment with telling BOINC that it can only use a certain number of processors at once, to see what number gives the highest number of successful results per day. I'd start with only half of them.
ID: 93271 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Tom Rinehart

Send message
Joined: 28 Mar 20
Posts: 7
Credit: 1,637,467
RAC: 0
Message 93304 - Posted: 3 Apr 2020, 22:52:41 UTC - in response to Message 93241.  
Last modified: 3 Apr 2020, 22:55:29 UTC

Does that mean I can finally use my 8x Raspberry Pi 2GB 4Bs that I have lying around to actually do something? After Seti@home closed shop, it seems like everything I'm interested in doesn't support them.


The Raspberry Pi 2 (v1.2), 3, 3+, and 4 all have ARM64 processors. I think you need to load a 64-bit OS like ubuntu, and I don't think any but the RPi 4 with 4GB of RAM will work if my experience with my Odroid C2 with 2 GB of RAM is applicable. On my Odroid I get the following message when it tries to get any work units:

Rosetta for Portable Devices needs 1907.35 MB RAM but only 1770.35 MB is available for use.


The pre-RPi 4 pis only have 1 GB of RAM.

Technically my Odroid C2 should be able to run one or two work units within the amount of memory it has. On my linux boxes, I'm seeing that work units are using up to about 750-850 MB of RAM per work unit using the 4.12 version of the app.

I have been switching my Raspberry Pis over to einstein@home. They work well there. There is also a 64-bit app you can install that speeds the pis with ARM64 processors. It takes some extra work to setup on your own. It is not automatic.
ID: 93304 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Jamez

Send message
Joined: 20 Mar 20
Posts: 3
Credit: 3,364,030
RAC: 0
Message 93318 - Posted: 4 Apr 2020, 0:06:03 UTC - in response to Message 93271.  

I did, it has 8 processers so it should be able to do at least 4 tasks at once. In fact, it did start doing the tasks when i checked after like 30 seconds, but then stopped and reset everything. The problem is, you have to turn of your screen in order to run the tasks, instead of a warning maybe that we should turn it off. There's no way of seeing if it works, since sometimes it does, sometimes it doesn't. It was very long time ago the app was updated so if possible would be nice.
ID: 93318 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Cartoonman

Send message
Joined: 9 Oct 08
Posts: 13
Credit: 7,274,094
RAC: 1,212
Message 93337 - Posted: 4 Apr 2020, 3:46:18 UTC - in response to Message 93318.  

If you go into Preferences and click on "Show advanced preferences and controls", it will enable an option called "Pause computation when screen is on". You can click this to disable it so you can see if the tasks do indeed run.
ID: 93337 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
k6ccc

Send message
Joined: 23 Jan 11
Posts: 1
Credit: 8,899,755
RAC: 45
Message 93341 - Posted: 4 Apr 2020, 4:16:12 UTC

I am delighted that R@H can now run on my Android. It's a bit limited because of memory, but it is running. I've been moving stuff that was mostly running Seti for years over to R@H.
Really would love to be able to have my RaspPi SBCs run R@H. I have two 4s and a 3 that are running 24x7 for other stuff (and mostly idle). Any chance for them? I would rather they run R@H than Einstein.
ID: 93341 · 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 93349 - Posted: 4 Apr 2020, 5:30:16 UTC - in response to Message 93231.  
Last modified: 4 Apr 2020, 5:31:44 UTC

Ditto that

Rosetta@home | Message from server: This project doesn't support computers of type arm-unknown-linux-gnueabihf

See MarkRpiCluster for how to get a Pi4 with Raspbian going with Rosetta.
BOINC blog
ID: 93349 · 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 93351 - Posted: 4 Apr 2020, 5:42:16 UTC - in response to Message 93304.  

The Raspberry Pi 2 (v1.2), 3, 3+, and 4 all have ARM64 processors. I think you need to load a 64-bit OS like ubuntu

Raspbian can do aarch64. You just have to tell it via /boot/config.txt. Having said that there are all sorts of incompatibilities with 32 bit libs. I have posted instructions on my blog how to get a Pi4 going with Rosetta.

As for the memory you might be able to run one task at a time on a 2GB Pi4B. I have two going at a time on my 4GB Pi4B. The Pi2’s and Pi3’s aren’t going to have enough memory.
BOINC blog
ID: 93351 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
bkil
Avatar

Send message
Joined: 11 Jan 20
Posts: 97
Credit: 4,433,288
RAC: 0
Message 93362 - Posted: 4 Apr 2020, 9:48:02 UTC - in response to Message 93351.  
Last modified: 4 Apr 2020, 9:50:59 UTC

I have good experience using zram with the deflate algorithm on memory constrained PC's. I found Rosetta's active set to be between 350-750MB depending on task, so it could theoretically run with 1GB RAM if enabling up to 1GB of deflated zram (compresses down to about 30-40%) and preferably at least 1GB of storage based swap.

By the way, if Rosetta had used
madvise MADV_MERGEABLE
on its allocations, enabling KSM on Linux could definitely enable 4GB machines to run 4 instances, and maybe 2GB ones as well if using zram.
ID: 93362 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Jamez

Send message
Joined: 20 Mar 20
Posts: 3
Credit: 3,364,030
RAC: 0
Message 93390 - Posted: 4 Apr 2020, 15:27:33 UTC - in response to Message 93337.  

Yes, thanks. I reinstalled the app and it seems to work now, but I did get 8 new tasks and now I have a total 16 tasks. Don't know if I can do them before the deadline, these tasks seem to have shorter deadlines.
ID: 93390 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1679
Credit: 17,825,912
RAC: 22,987
Message 93427 - Posted: 4 Apr 2020, 20:38:33 UTC - in response to Message 93390.  

Yes, thanks. I reinstalled the app and it seems to work now, but I did get 8 new tasks and now I have a total 16 tasks. Don't know if I can do them before the deadline, these tasks seem to have shorter deadlines.
Whatever your Target CPU run time time is, that is (roughly) how long the Task will run for. Eventually the estimated times will match that actual time (or at least become very, very close).
To avoid getting more work than you can deal with when things change, it's best to have a small cache. The more projects you run, the smaller the better. For just Rosetta, in Computing preferences, Other
Store at least             1 days of work
Store up to an additional  0.02 days of work
is a good starting point.
Grant
Darwin NT
ID: 93427 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
1 · 2 · 3 · Next

Message boards : Number crunching : Rosetta running on ARM platforms



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