Raspberry Pi & Other SBC Computers Discussion Thread :)

Message boards : Number crunching : Raspberry Pi & Other SBC Computers Discussion Thread :)
Message board moderation

To post messages, you must log in.

Previous · 1 . . . 15 · 16 · 17 · 18 · 19 · 20 · 21 . . . 26 · Next

AuthorMessage
Profile Tom M
Volunteer tester

Send message
Joined: 28 Nov 02
Posts: 5126
Credit: 276,046,078
RAC: 462
Message 1996455 - Posted: 2 Jun 2019, 19:21:42 UTC

Is there a "turnkey" ARM computer system (besides a Tablet) that you would recommend.

I have now run across two ARM development boxes. One with 24 cores@$1200 and One that doesn't have a production date but is "supposed" to be $600-800.

Tom
A proud member of the OFA (Old Farts Association).
ID: 1996455 · Report as offensive     Reply Quote
rob smith Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer moderator
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 22803
Credit: 416,307,556
RAC: 380
United Kingdom
Message 1996467 - Posted: 2 Jun 2019, 21:03:20 UTC
Last modified: 2 Jun 2019, 21:03:55 UTC

Development systems are not always useable as they stand, but require some external support - so be very careful when deciding which way to jump.

For a starter the Raspberry Pi family are far more "complete" than many others - they come with operating system, HMI interfaces (mouse, keyboard, video) - the only things needed are a PSU and a means of getting data in and out (I use a cheap keyboard and mouse, plunging a monitor in when needed). There are tools to allow several Pi to be used as a single computer - I don't know the limits, but given each Pi-3 B has for cores the core count grows quite rapidly and for a very low cost. Admittedly a single core is not a road runner, but they do work out of the box.
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1996467 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1996475 - Posted: 2 Jun 2019, 21:43:46 UTC - in response to Message 1996455.  

Is there a "turnkey" ARM computer system (besides a Tablet) that you would recommend.

I have now run across two ARM development boxes. One with 24 cores@$1200 and One that doesn't have a production date but is "supposed" to be $600-800.

Tom

Well, the fastest ARM processor that there is a Seti app for is the ARMv8 processor for SETI@home v8 v8.02 aarch64-unknown-linux-gnu

That processor is faster than the ARMv7 processors in the Raspberry Pi cohort. You can compare my RPi3 and Nano hosts for cpu crunching times.

I just searched on ARMv8 computers and landed on the Gigabyte ThunderXstation and the Cavium ThunderX built with the ThunderX2 ARMv8 processor.
This is a pdf on the processor https://origin-www.marvell.com/documents/cmvd78bk8mesogdusz6t/

2.2GHz 32-core 4-threads per core and support for lots of PCIe lanes. Interesting.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1996475 · Report as offensive     Reply Quote
Profile Gary Charpentier Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 25 Dec 00
Posts: 31328
Credit: 53,134,872
RAC: 32
United States
Message 1996537 - Posted: 3 Jun 2019, 5:37:38 UTC - in response to Message 1996475.  
Last modified: 3 Jun 2019, 5:37:56 UTC

2.2GHz 32-core 4-threads per core and support for lots of PCIe lanes. Interesting.

If fast crunching is you aim, go with a GPU of some kind.

If low cost low power crunching is your aim, then ARM it is.

Oh, IIRC GCC itself doesn't have all the optimizations that it has on AMD/Intel. Its still a work in progress.

Of course YMMV and new stuff comes out all the time.
ID: 1996537 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1996539 - Posted: 3 Jun 2019, 6:12:00 UTC

If either myself or Sam is ever successful in compiling gpu apps on the aarch64-unknown-linux-gnu platform, then that motherboard and processor would make a great platform to drive lots of gpus.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1996539 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1998073 - Posted: 13 Jun 2019, 20:03:16 UTC
Last modified: 13 Jun 2019, 20:05:13 UTC

Just a quick FYI. Both CyborgSam and myself have compiled the zi3v special app to run on the Nvidia Jetson Nano SBC with its integrated Tegra X1 gpu. Most tasks run in 30 - 60 minutes compared to the stock cpu app which takes 4 - 8 hours per task.
Here is an example. https://setiathome.berkeley.edu/result.php?resultid=7765593986
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1998073 · Report as offensive     Reply Quote
jOc

Send message
Joined: 7 Feb 18
Posts: 6
Credit: 788,782
RAC: 1
Sweden
Message 1998352 - Posted: 15 Jun 2019, 22:50:39 UTC

I was wondering if anyone ever had any luck in compiling the optimized branch with OpenCL for ARM? I installed VC4CL (OpenCL GPU support) on my Raspberry 3B+ and now Boinc recognizes the VideoCore GPU, so it would be interesting to get some work for it.
ID: 1998352 · Report as offensive     Reply Quote
Profile Wiggo
Avatar

Send message
Joined: 24 Jan 00
Posts: 38133
Credit: 261,360,520
RAC: 489
Australia
Message 1998354 - Posted: 15 Jun 2019, 22:59:07 UTC - in response to Message 1998352.  

I was wondering if anyone ever had any luck in compiling the optimized branch with OpenCL for ARM? I installed VC4CL (OpenCL GPU support) on my Raspberry 3B+ and now Boinc recognizes the VideoCore GPU, so it would be interesting to get some work for it.
You're going to have to change over to using the "anonymous platform" as Keith does to get them, though I'm sure that Keith will supply all the info on doing that. ;-)

Cheers.
ID: 1998354 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1998363 - Posted: 15 Jun 2019, 23:45:24 UTC - in response to Message 1998352.  

I was wondering if anyone ever had any luck in compiling the optimized branch with OpenCL for ARM? I installed VC4CL (OpenCL GPU support) on my Raspberry 3B+ and now Boinc recognizes the VideoCore GPU, so it would be interesting to get some work for it.

We looked and Nvidia does not support any OpenCL on the Nano.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1998363 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1998366 - Posted: 16 Jun 2019, 0:00:02 UTC - in response to Message 1998352.  

I was wondering if anyone ever had any luck in compiling the optimized branch with OpenCL for ARM? I installed VC4CL (OpenCL GPU support) on my Raspberry 3B+ and now Boinc recognizes the VideoCore GPU, so it would be interesting to get some work for it.

I'll have to investigate the VC4CL library, Hadn't heard of it.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1998366 · Report as offensive     Reply Quote
jOc

Send message
Joined: 7 Feb 18
Posts: 6
Credit: 788,782
RAC: 1
Sweden
Message 1998371 - Posted: 16 Jun 2019, 0:13:48 UTC - in response to Message 1998363.  

I was wondering if anyone ever had any luck in compiling the optimized branch with OpenCL for ARM? I installed VC4CL (OpenCL GPU support) on my Raspberry 3B+ and now Boinc recognizes the VideoCore GPU, so it would be interesting to get some work for it.

We looked and Nvidia does not support any OpenCL on the Nano.


Well, my Raspberry 3B+ apparently supports OpenCL now so I'd like to find a way to get some work for its GPU. I guess the stock seti arm application only uses the CPU.
ID: 1998371 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1998375 - Posted: 16 Jun 2019, 0:22:05 UTC - in response to Message 1998371.  

I was wondering if anyone ever had any luck in compiling the optimized branch with OpenCL for ARM? I installed VC4CL (OpenCL GPU support) on my Raspberry 3B+ and now Boinc recognizes the VideoCore GPU, so it would be interesting to get some work for it.

We looked and Nvidia does not support any OpenCL on the Nano.


Well, my Raspberry 3B+ apparently supports OpenCL now so I'd like to find a way to get some work for its GPU. I guess the stock seti arm application only uses the CPU.

Can you post the first startup lines of BOINC in the Event Log showing the OpenCL driver that BOINC detects.

You will have to get the sah_v7_opt and Xbranch directories from the BOINC SVN repository. Then install all the ARM development libraries and then run through the autosetup and configure procedures and then hope that you are successful with compiling the SoG app. Expect to spend a lot of time debugging the code and turning all kinds of things off and make changes. The source code is intended for x86_64, not ARM.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1998375 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1998376 - Posted: 16 Jun 2019, 0:25:21 UTC

It might be possible to compile the stock cpu app to be run on the gpu. That is what I have done for the Einstein BRP4 cpu application on my Nano. But that was to make the Nano Maxwell gpu run the cpu code as a CUDA application.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1998376 · Report as offensive     Reply Quote
jOc

Send message
Joined: 7 Feb 18
Posts: 6
Credit: 788,782
RAC: 1
Sweden
Message 1998380 - Posted: 16 Jun 2019, 0:49:20 UTC - in response to Message 1998375.  

I was wondering if anyone ever had any luck in compiling the optimized branch with OpenCL for ARM? I installed VC4CL (OpenCL GPU support) on my Raspberry 3B+ and now Boinc recognizes the VideoCore GPU, so it would be interesting to get some work for it.

We looked and Nvidia does not support any OpenCL on the Nano.


Well, my Raspberry 3B+ apparently supports OpenCL now so I'd like to find a way to get some work for its GPU. I guess the stock seti arm application only uses the CPU.

Can you post the first startup lines of BOINC in the Event Log showing the OpenCL driver that BOINC detects.

You will have to get the sah_v7_opt and Xbranch directories from the BOINC SVN repository. Then install all the ARM development libraries and then run through the autosetup and configure procedures and then hope that you are successful with compiling the SoG app. Expect to spend a lot of time debugging the code and turning all kinds of things off and make changes. The source code is intended for x86_64, not ARM.


This is what BOINC detects:
OpenCL: VideoCore IV GPU 0: VideoCore IV GPU (driver version 0.4.9999, device version OpenCL 1.2 VC4CL 0.4.9999, 128MB, 128MB available, 0 GFLOPS peak)

I tried to compile the optimized branch you mentioned, and the result was every error known to mankind. It's difficult to fix code you aren't familiar with. I don't know if they have prepared the code for ARM at all, there is a configure commandline for ARM included, but it doesn't work very well on my Raspberry at least.
ID: 1998380 · Report as offensive     Reply Quote
jOc

Send message
Joined: 7 Feb 18
Posts: 6
Credit: 788,782
RAC: 1
Sweden
Message 1998381 - Posted: 16 Jun 2019, 0:57:51 UTC - in response to Message 1998376.  

It might be possible to compile the stock cpu app to be run on the gpu. That is what I have done for the Einstein BRP4 cpu application on my Nano. But that was to make the Nano Maxwell gpu run the cpu code as a CUDA application.


This sounds very interesting. Perhaps it would be easier to go that route than trying to compile the optimized branch?
ID: 1998381 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1998382 - Posted: 16 Jun 2019, 1:11:27 UTC - in response to Message 1998380.  
Last modified: 16 Jun 2019, 1:13:47 UTC

I was wondering if anyone ever had any luck in compiling the optimized branch with OpenCL for ARM? I installed VC4CL (OpenCL GPU support) on my Raspberry 3B+ and now Boinc recognizes the VideoCore GPU, so it would be interesting to get some work for it.

We looked and Nvidia does not support any OpenCL on the Nano.


Well, my Raspberry 3B+ apparently supports OpenCL now so I'd like to find a way to get some work for its GPU. I guess the stock seti arm application only uses the CPU.

Can you post the first startup lines of BOINC in the Event Log showing the OpenCL driver that BOINC detects.

You will have to get the sah_v7_opt and Xbranch directories from the BOINC SVN repository. Then install all the ARM development libraries and then run through the autosetup and configure procedures and then hope that you are successful with compiling the SoG app. Expect to spend a lot of time debugging the code and turning all kinds of things off and make changes. The source code is intended for x86_64, not ARM.


This is what BOINC detects:
OpenCL: VideoCore IV GPU 0: VideoCore IV GPU (driver version 0.4.9999, device version OpenCL 1.2 VC4CL 0.4.9999, 128MB, 128MB available, 0 GFLOPS peak)

I tried to compile the optimized branch you mentioned, and the result was every error known to mankind. It's difficult to fix code you aren't familiar with. I don't know if they have prepared the code for ARM at all, there is a configure commandline for ARM included, but it doesn't work very well on my Raspberry at least.

Ha ha LOL, Really, sorry about that.

Yes it is a bear to compile the x86 code for ARM. Had to throw out basically everything for configure that was provided in the source code and come up with our own configures. I think Sam and I have spent over a month on it so far. Might not be so bad for ARMv7a of the RPi compared to our ARMv8 of the Nano since that is a long running mainstream ARM processor.

I also have serious doubt that you can get any OpenCL gpu app to run in 128 MB of GPU RAM

I have 4 GB of shared memory in my Nano.

[Edit] This is what my Nano CUDA tasks see for the application
setiathome_CUDA: Found 1 CUDA device(s):
  Device 1: NVIDIA Tegra X1, 3956 MiB, regsPerBlock 32768
     computeCap 5.3, multiProcs 1

Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1998382 · Report as offensive     Reply Quote
jOc

Send message
Joined: 7 Feb 18
Posts: 6
Credit: 788,782
RAC: 1
Sweden
Message 1998384 - Posted: 16 Jun 2019, 1:24:59 UTC - in response to Message 1998382.  

I was wondering if anyone ever had any luck in compiling the optimized branch with OpenCL for ARM? I installed VC4CL (OpenCL GPU support) on my Raspberry 3B+ and now Boinc recognizes the VideoCore GPU, so it would be interesting to get some work for it.

We looked and Nvidia does not support any OpenCL on the Nano.


Well, my Raspberry 3B+ apparently supports OpenCL now so I'd like to find a way to get some work for its GPU. I guess the stock seti arm application only uses the CPU.

Can you post the first startup lines of BOINC in the Event Log showing the OpenCL driver that BOINC detects.

You will have to get the sah_v7_opt and Xbranch directories from the BOINC SVN repository. Then install all the ARM development libraries and then run through the autosetup and configure procedures and then hope that you are successful with compiling the SoG app. Expect to spend a lot of time debugging the code and turning all kinds of things off and make changes. The source code is intended for x86_64, not ARM.


This is what BOINC detects:
OpenCL: VideoCore IV GPU 0: VideoCore IV GPU (driver version 0.4.9999, device version OpenCL 1.2 VC4CL 0.4.9999, 128MB, 128MB available, 0 GFLOPS peak)

I tried to compile the optimized branch you mentioned, and the result was every error known to mankind. It's difficult to fix code you aren't familiar with. I don't know if they have prepared the code for ARM at all, there is a configure commandline for ARM included, but it doesn't work very well on my Raspberry at least.

Ha ha LOL, Really, sorry about that.

Yes it is a bear to compile the x86 code for ARM. Had to throw out basically everything for configure that was provided in the source code and come up with our own configures. I think Sam and I have spent over a month on it so far. Might not be so bad for ARMv7a of the RPi compared to our ARMv8 of the Nano since that is a long running mainstream ARM processor.

I also have serious doubt that you can get any OpenCL gpu app to run in 128 MB of GPU RAM

I have 4 GB of shared memory in my Nano.

[Edit] This is what my Nano CUDA tasks see for the application
setiathome_CUDA: Found 1 CUDA device(s):
  Device 1: NVIDIA Tegra X1, 3956 MiB, regsPerBlock 32768
     computeCap 5.3, multiProcs 1


Hehe 256MB is the limit in raspi-config, probably possible to go higher in config.txt? But the CPU app doesn't need much memory, I run seti on a Raspberry pi Zero and it has only 512mb RAM. Would a GPU app crave more memory than the CPU app?
ID: 1998384 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1998387 - Posted: 16 Jun 2019, 1:59:07 UTC - in response to Message 1998384.  
Last modified: 16 Jun 2019, 2:00:37 UTC

Hehe 256MB is the limit in raspi-config, probably possible to go higher in config.txt? But the CPU app doesn't need much memory, I run seti on a Raspberry pi Zero and it has only 512mb RAM. Would a GPU app crave more memory than the CPU app?


Absolutely, the whole point of computing on gpus is running parallel computations. That takes memory for the temp compute results in the arrays. I think the smallest amount of gpu ram that any of the gpu apps can run on is 2GB. Or at least I think I've seen posts to that fact. Willing to be corrected otherwise.

You can run a swap file on external hard drive on the Pi. That might make it possible.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1998387 · Report as offensive     Reply Quote
jOc

Send message
Joined: 7 Feb 18
Posts: 6
Credit: 788,782
RAC: 1
Sweden
Message 1998418 - Posted: 16 Jun 2019, 11:27:10 UTC - in response to Message 1998387.  


Absolutely, the whole point of computing on gpus is running parallel computations. That takes memory for the temp compute results in the arrays. I think the smallest amount of gpu ram that any of the gpu apps can run on is 2GB. Or at least I think I've seen posts to that fact. Willing to be corrected otherwise.

You can run a swap file on external hard drive on the Pi. That might make it possible.


The 3B+ has some limitations with only 1GB RAM of course, I'll use a swap file if needed. I'll deal with memory management later :-) For now I'd be happy just to be able to compile something that will run. If it's possible to adapt the stock cpu app to make it run on the GPU then I can work with that. You mentioned you had done something similar with the Einstein cpu application?
ID: 1998418 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1998437 - Posted: 16 Jun 2019, 18:07:36 UTC - in response to Message 1998418.  
Last modified: 16 Jun 2019, 18:08:05 UTC

Yes there isn't any normal BRP4G tasks anymore, for the app that was gpu based at Einstein. But they are still creating the cpu tasks for BRP4. So I have an app that crunches those on the Nano gpu. It is CUDA based.

Basically you take the cpu source code and setup your compiling environment and make the target the gpu instead of the cpu.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1998437 · Report as offensive     Reply Quote
Previous · 1 . . . 15 · 16 · 17 · 18 · 19 · 20 · 21 . . . 26 · Next

Message boards : Number crunching : Raspberry Pi & Other SBC Computers Discussion Thread :)


 
©2025 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.