PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : General discussion : Raspberry Pi ?

Author Message
Profile CoffeemanProject donor
Send message
Joined: 29 May 19
Posts: 10
ID: 1132353
Credit: 178,414
RAC: 0
Cullen LLR Bronze: Earned 10,000 credits (18,023)321 Sieve Bronze: Earned 10,000 credits (51,230)AP 26/27 Silver: Earned 100,000 credits (109,161)
Message 130726 - Posted: 27 Jun 2019 | 17:53:51 UTC


A friend and I are thinking to setup a Raspberry Pi for Primegrid. Has anyone done that, how well does that work? I know that Intel CPUs have AVX-512 and GPUs in Desktops help a lot. But Raspberry Pi is so cheap, I could get a bunch of them.

Related: can Raspberry Pi be modified, specific to BOINC/Primegrid projects? Its an adaptable platform, so what could be done to make a dedicated machine just for these prime searches?

Thanks for you advice!

Profile GrebulonerProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Nov 09
Posts: 269
ID: 49572
Credit: 1,412,695,411
RAC: 1,361,958
Found 2 primes in the 2018 Tour de PrimesFound 4 primes in the 2019 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,836,135)Cullen LLR Jade: Earned 10,000,000 credits (10,168,095)ESP LLR Jade: Earned 10,000,000 credits (11,401,438)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (11,458,304)PPS LLR Sapphire: Earned 20,000,000 credits (27,944,383)PSP LLR Jade: Earned 10,000,000 credits (12,520,965)SoB LLR Jade: Earned 10,000,000 credits (13,815,699)SR5 LLR Jade: Earned 10,000,000 credits (13,259,658)SGS LLR Jade: Earned 10,000,000 credits (10,157,780)TRP LLR Jade: Earned 10,000,000 credits (12,578,327)Woodall LLR Jade: Earned 10,000,000 credits (10,037,126)321 Sieve Sapphire: Earned 20,000,000 credits (20,128,873)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,178,073)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (56,046,594)PPS Sieve Double Gold: Earned 500,000,000 credits (500,087,723)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (9,468,384)TRP Sieve (suspended) Jade: Earned 10,000,000 credits (10,076,645)AP 26/27 Double Silver: Earned 200,000,000 credits (368,348,679)GFN Double Bronze: Earned 100,000,000 credits (189,450,557)PSA Double Bronze: Earned 100,000,000 credits (109,745,972)
Message 130727 - Posted: 27 Jun 2019 | 18:10:42 UTC - in response to Message 130726.

Raspberry Pi CPUs (ARM) aren't compatible with Primegrid apps, sorry. There may be other projects that it works with, though.
____________
Eating more cheese on Thursdays.

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Project scientist
Avatar
Send message
Joined: 21 Jan 10
Posts: 13027
ID: 53948
Credit: 201,152,298
RAC: 166,137
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Turquoise: Earned 5,000,000 credits (5,009,577)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Turquoise: Earned 5,000,000 credits (8,281,157)PSP LLR Ruby: Earned 2,000,000 credits (4,948,815)SoB LLR Sapphire: Earned 20,000,000 credits (34,221,148)SR5 LLR Turquoise: Earned 5,000,000 credits (8,293,415)SGS LLR Ruby: Earned 2,000,000 credits (2,014,138)TRP LLR Ruby: Earned 2,000,000 credits (2,737,347)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve Turquoise: Earned 5,000,000 credits (5,082,705)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (20,110,788)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,114,260)GFN Emerald: Earned 50,000,000 credits (66,450,661)PSA Jade: Earned 10,000,000 credits (12,404,447)
Message 130728 - Posted: 27 Jun 2019 | 18:13:51 UTC - in response to Message 130726.
Last modified: 27 Jun 2019 | 18:17:34 UTC


A friend and I are thinking to setup a Raspberry Pi for Primegrid. Has anyone done that, how well does that work? I know that Intel CPUs have AVX-512 and GPUs in Desktops help a lot. But Raspberry Pi is so cheap, I could get a bunch of them.

Related: can Raspberry Pi be modified, specific to BOINC/Primegrid projects? Its an adaptable platform, so what could be done to make a dedicated machine just for these prime searches?

Thanks for you advice!


Absolutely, as long as you're willing to think outside the box.

If, for example, the screen on your computer that is running PrimeGrid isn't quite level, you could wedge the Raspberry Pi under one side to level the display.

If you have a laptop running PrimeGrid, you could put one Raspberry Pi under each corner to raise the laptop up a little in order to improve cooling. You'll need three or four Raspberry Pis for this.

Even better, you could *not* buy any Raspberry Pis, and instead donate the money you just saved to Primegrid. (Link to donation page.)

Note that in terms of power consumption, this is an extremely efficient application for the Raspberry Pi since you don't even need to turn them on!

Realistically, however, unless you're a hard-core programmer, the answer is no. Our applications are compiled for a different (x86) architecture, and make heavy use of the high performance capabilities of modern CPUs. Raspberry Pi is designed for the polar opposite side of the computing spectrum. One would need to port our applications (not a trivial task), and then the reward would be absolutely abysmal performance. There are also undoubtedly all sorts of hurdles that you would have to overcome, such as disk space and memory.

And after all that, you would have to make sure IT ACTUALLY WORKS. Someone several years ago had the bright idea of porting our TRP sieve to Android. A whole bunch of people started using it. Half a year later we discovered every result it returned was wrong. By then, it was too late to rerun the lost sieve tasks.

So, if you eat, drink, and sleep C++, then yes, you might be able to get something to run ("crawl" might be more accurate) after a whole lot of effort. If that's not your skill set, then no.
____________
Please do not PM me with support questions. Ask on the forums instead. Thank you!

My lucky number is 75898524288+1

Yves Gallot
Volunteer developer
Project scientist
Send message
Joined: 19 Aug 12
Posts: 520
ID: 164101
Credit: 304,651,169
RAC: 33,080
GFN Double Silver: Earned 200,000,000 credits (304,651,169)
Message 130740 - Posted: 28 Jun 2019 | 10:19:53 UTC - in response to Message 130726.

A friend and I are thinking to setup a Raspberry Pi for Primegrid. Has anyone done that, how well does that work? I know that Intel CPUs have AVX-512 and GPUs in Desktops help a lot. But Raspberry Pi is so cheap, I could get a bunch of them.

Raspberry Pi is not cheap if you get a bunch of them.
20 Raspberry Pi 4 1GB with their power supply and cooling system (~160 W) are more expensive than a low-end PC with a GTX 1660 which is much more efficient for computations.

Yves Gallot
Volunteer developer
Project scientist
Send message
Joined: 19 Aug 12
Posts: 520
ID: 164101
Credit: 304,651,169
RAC: 33,080
GFN Double Silver: Earned 200,000,000 credits (304,651,169)
Message 130741 - Posted: 28 Jun 2019 | 11:21:34 UTC - in response to Message 130740.

Just a quick comparison of peak performance:
GTX 1660: 1408 32-bit cores @ 1.785 GHz
Cortex A72: 4 cores with 128-bit ARM NEON SIMD @ 1.5 GHz

1408 * 1.785 / (4 * 4 * 1.5) ~ 100 => 1 GTX 1660 ~ 100 Raspberry Pi 4

Profile CoffeemanProject donor
Send message
Joined: 29 May 19
Posts: 10
ID: 1132353
Credit: 178,414
RAC: 0
Cullen LLR Bronze: Earned 10,000 credits (18,023)321 Sieve Bronze: Earned 10,000 credits (51,230)AP 26/27 Silver: Earned 100,000 credits (109,161)
Message 130745 - Posted: 28 Jun 2019 | 19:31:51 UTC - in response to Message 130741.


Thanks!

I think this makes it clear. So Raspberries are better for eating.

Profile Nicholas Peter Bamber
Send message
Joined: 23 Dec 18
Posts: 78
ID: 1087751
Credit: 2,967,417
RAC: 6,081
321 LLR Silver: Earned 100,000 credits (148,032)Cullen LLR Silver: Earned 100,000 credits (286,464)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (235,077)PPS LLR Silver: Earned 100,000 credits (198,697)SGS LLR Silver: Earned 100,000 credits (113,594)TRP LLR Bronze: Earned 10,000 credits (14,994)Woodall LLR Silver: Earned 100,000 credits (224,018)321 Sieve Gold: Earned 500,000 credits (504,985)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (104,315)PPS Sieve Gold: Earned 500,000 credits (519,134)AP 26/27 Silver: Earned 100,000 credits (331,526)GFN Silver: Earned 100,000 credits (215,652)PSA Bronze: Earned 10,000 credits (69,031)
Message 130849 - Posted: 2 Jul 2019 | 20:37:05 UTC - in response to Message 130728.


And after all that, you would have to make sure IT ACTUALLY WORKS. Someone several years ago had the bright idea of porting our TRP sieve to Android. A whole bunch of people started using it. Half a year later we discovered every result it returned was wrong. By then, it was too late to rerun the lost sieve tasks.


Ouch. How did you recover if I might ask?

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Project scientist
Avatar
Send message
Joined: 21 Jan 10
Posts: 13027
ID: 53948
Credit: 201,152,298
RAC: 166,137
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Turquoise: Earned 5,000,000 credits (5,009,577)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Turquoise: Earned 5,000,000 credits (8,281,157)PSP LLR Ruby: Earned 2,000,000 credits (4,948,815)SoB LLR Sapphire: Earned 20,000,000 credits (34,221,148)SR5 LLR Turquoise: Earned 5,000,000 credits (8,293,415)SGS LLR Ruby: Earned 2,000,000 credits (2,014,138)TRP LLR Ruby: Earned 2,000,000 credits (2,737,347)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve Turquoise: Earned 5,000,000 credits (5,082,705)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (20,110,788)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,114,260)GFN Emerald: Earned 50,000,000 credits (66,450,661)PSA Jade: Earned 10,000,000 credits (12,404,447)
Message 130853 - Posted: 3 Jul 2019 | 0:30:59 UTC - in response to Message 130849.


And after all that, you would have to make sure IT ACTUALLY WORKS. Someone several years ago had the bright idea of porting our TRP sieve to Android. A whole bunch of people started using it. Half a year later we discovered every result it returned was wrong. By then, it was too late to rerun the lost sieve tasks.


Ouch. How did you recover if I might ask?


We shrugged. There was nothing we could do about it.

Androids are slow, so the total number of tasks run by them was a very small percentage of the total.

It means we missed some factors, so the TRP search is going to end up testing some candidates that should have been sieved out. We can live with that. A few missed factors wasn't worth re-running many months of work.

This was one (of several) reasons we started double checking everything, even sieves.
____________
Please do not PM me with support questions. Ask on the forums instead. Thank you!

My lucky number is 75898524288+1

Post to thread

Message boards : General discussion : Raspberry Pi ?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2019 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 2.77, 2.56, 2.56
Generated 22 Nov 2019 | 21:30:31 UTC