New Raspbian OS aarch64 (armv8) application is here


Message boards : News : New Raspbian OS aarch64 (armv8) application is here

Message board moderation

To post messages, you must log in.
Previous · 1 · 2 · 3
AuthorMessage
Profile Keith Myers
Avatar

Send message
Joined: 16 Nov 22
Posts: 151
Credit: 183,190,769
RAC: 48,438
Message 8611 - Posted: 24 Oct 2024, 22:50:13 UTC - in response to Message 8607.  

Last modified: 24 Oct 2024, 23:03:02 UTC
I was suspicious about your runtimes and it turns out that for some reason, the latest linux arm app doesn't contain the latest optimizations, I let Georgi know. Feel free to use the older version which should be faster.
https://asteroidsathome.net/boinc/download/period_search_10220_aarch64-unknown-linux-gnu

Yes, on Pi5, the older 10220 version app is 2X as fast as the latest 10221 app. Reverting now.
https://asteroidsathome.net/boinc/results.php?hostid=776701&offset=0&show_names=0&state=2&appid=
[Edit[ Same for the Pi4

A proud member of the OFA (Old Farts Association)
ID: 8611 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
stfn

Send message
Joined: 24 May 21
Posts: 20
Credit: 4,524,212
RAC: 62
Message 8612 - Posted: 25 Oct 2024, 13:51:24 UTC
Thank you both for your help. I am now crunching the 102.20 app and the runtimes are around 2 hours, an hour less than with aarch64_armv8-a_asimd.
ID: 8612 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
stfn

Send message
Joined: 24 May 21
Posts: 20
Credit: 4,524,212
RAC: 62
Message 8613 - Posted: 31 Oct 2024, 15:42:01 UTC
OK, the testing is done. Again, thank you Keith and ahorek's team for your input.

The result is that for Asteroids@Home, there is basically no difference if the Raspberry Pi 5 is using an SD card or an NVMe drive. For Einstein is a totally different story.

Full blog post with the benchmarks: https://stfn.pl/blog/50-pi5-nvme-performance-in-boinc/
ID: 8613 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 16 Nov 22
Posts: 151
Credit: 183,190,769
RAC: 48,438
Message 8614 - Posted: 31 Oct 2024, 18:11:49 UTC - in response to Message 8613.  
Thanks for the comparison numbers for using faster M.2 storage on Einstein and Asteroids applications for the Pi4 and Pi5.

A proud member of the OFA (Old Farts Association)
ID: 8614 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ahorek's team
Volunteer developer
Volunteer tester

Send message
Joined: 1 Jan 13
Posts: 124
Credit: 11,092,802
RAC: 1,704
Message 8615 - Posted: 31 Oct 2024, 23:55:57 UTC
nice, but 33% improvement? something has to be wrong. CPU-heavy tasks should barely touch the file storage.

I used sudo iotop -aoP to monitor the app and observed minimal file access, limited mainly to writing checkpoints. These few kilobytes shouldn't affect performance, even on slow storage like an SD card.

Could swapping be a possible reason? Einstein's tasks are heavier, but ~200MB/tasks should easily fit into 4GB+ RAM. Any other explanation?
ID: 8615 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
stfn

Send message
Joined: 24 May 21
Posts: 20
Credit: 4,524,212
RAC: 62
Message 8616 - Posted: 2 Nov 2024, 9:56:32 UTC

Last modified: 2 Nov 2024, 9:59:40 UTC
I have no idea. I've been monitoring the resources usage, and there was no swapping for sure. With Keith and Ian's help I am now testing a different app in E@H, and we will see how it goes.

And as I mentioned in the blog posts, there is a significant difference in the thermals between Asteroids and Einstein, suggesting that Einstein is underutilizing the CPU on the Pi, so I think the bottleneck is somewhere else.
ID: 8616 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
spRocket

Send message
Joined: 7 Dec 24
Posts: 4
Credit: 1,427,375
RAC: 276
Message 8686 - Posted: 20 Dec 2024, 3:30:24 UTC - in response to Message 7760.  
Universe@Home wasn't loading any work on the arm64 architecture despite of the compatibility shown on the BOINC project list. And Einstein@Home is using a lot of RAM memory (~200 MiB per task), which is too much to run on 4 cores when using 1GB RAM devices without having catastrophic crashes all the times (Linux kernels having become completely unable to keep running fine when something uses too much RAM... for a bunch of years already. Seems it's never going to be repaired)


The dreaded OOM (out-of-memory) killer, which decides (often wrongly) what to kill when RAM+swap run out. One thing that I found very useful on 1 GB devices is, paradoxically enough, to reserve some of that RAM as compressed swap space (zswap). That worked nicely for having 4x Open Pandemics tasks running on Pi 3s without them stomping on one another. The article below is a good place to start, and I've used the script mentioned in the article to set it up.

https://linuxblog.io/raspberry-pi-performance-add-zram-kernel-parameters/

Meanwhile, I've just joined a small fleet of RPis (3xRPi5, 2xRPI400, 1xRPI4), and it was humming along nicely until the tasks ran out. Looks like this is a general problem, as my x86 crunchers are also rapidly running out of tasks.
ID: 8686 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2 · 3

Message boards : News : New Raspbian OS aarch64 (armv8) application is here