mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware

Reply
 
Thread Tools
Old 1970-01-01, 00:00   #1
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3×3,613 Posts
Default Raspberry Pi

A thread to collect together all number crunching on Raspberry Pi computers.
xilman is offline   Reply With Quote
Old 2016-10-14, 17:26   #2
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

482510 Posts
Default Raspberry Pi

Quote:
Originally Posted by xilman View Post
My Raspberry Pi-3 arrived today. It's a kit which includes PSU, NOOBS and a Legoβ„’-compatible case.
I'm ordering a new one (my previous went to a High School experiment related with heat probes). As I plan to use it also for math computing, I'd like to know your first impressions about it. I.E. does it work with GMP extensions and GMP-ECM?

Luigi
ET_ is offline   Reply With Quote
Old 2016-10-14, 18:38   #3
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3·3,613 Posts
Default

Quote:
Originally Posted by ET_ View Post
I'm ordering a new one (my previous went to a High School experiment related with heat probes). As I plan to use it also for math computing, I'd like to know your first impressions about it. I.E. does it work with GMP extensions and GMP-ECM?

Luigi
I'll let you know. Not yet powered it, let alone tried it out.

Running a 64-bit OS is likely to be challenging, but that's also likely to be required in order to get decent arithmetic perfomance. I've very little doubt that 32-bit Debian will just work.

FWIW, my Parallella cluster of credit-card sized computers built around a 32-bit ARM core is running GMP-ECM very nicely. It's just another Linux box which runs essentially everything written in C. For instance, the Algol 68 Genie compiler/interpreter works perfectly.
xilman is offline   Reply With Quote
Old 2016-10-14, 20:57   #4
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

24×32×41 Posts
Default

The raspberry pi 2 ran fine with gmp-ecm. The main issues I had with it were its speed was 1/20th of a Q6600 core and it had 1 GB of memory to share between 4 cores.
You should get a bit more speed on the pi 3 but I believe it still only has 1gb of memory.
henryzz is offline   Reply With Quote
Old 2016-10-14, 21:20   #5
Mark Rose
 
Mark Rose's Avatar
 
"/X\(β€˜-β€˜)/X\"
Jan 2013

1011011100002 Posts
Default

Quote:
Originally Posted by xilman View Post
FWIW, my Parallella cluster of credit-card sized computers built around a 32-bit ARM core is running GMP-ECM very nicely. It's just another Linux box which runs essentially everything written in C. For instance, the Algol 68 Genie compiler/interpreter works perfectly.
What was the solution to the ethernet problem?
Mark Rose is offline   Reply With Quote
Old 2016-10-15, 12:29   #6
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

482510 Posts
Default

Quote:
Originally Posted by xilman View Post
Running a 64-bit OS is likely to be challenging, but that's also likely to be required in order to get decent arithmetic perfomance. I've very little doubt that 32-bit Debian will just work.
Pi3 comes with a full-fledged 64-bit OS and 4 1.2 GHz cores, so I'm curios about its performance :-)
ET_ is offline   Reply With Quote
Old 2016-10-15, 12:51   #7
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2A5716 Posts
Default

Quote:
Originally Posted by ET_ View Post
Pi3 comes with a full-fledged 64-bit OS and 4 1.2 GHz cores, so I'm curios about its performance :-)
Interesting. That's not what I read elsewhere. For instance https://wiki.gentoo.org/wiki/Raspber...el_Compilation has
Quote:
The official Raspberry Pi Foundation kernels are built 32 bit, which is appropriate for Raspberry Pi 1, 2 and 3 (running in 32 bit mode; recommended). This guide does not cover building a 64 bit kernel for the Raspberry Pi 3 (issues / unstable / not recommended).
and https://wiki.gentoo.org/wiki/Raspberry_Pi has
Quote:
Raspberry Pi 3 B is based on BCM2837 SoC. According to #gentoo-arm, although the ARMv8 CPU in the Raspberry Pi 3 B is 64-bit, almost everything else is 32-bit, and therefore only 32-bit kernels are supplied from upstream for the machine.[1] To boot a 64-bit kernel, it is necessary to add the arm_control=0x200 parameters to the boot loader.[2] This is to enable 64-bit mode for the processor. The disable_commandline_tags=1 kernel boot argument is also needed, otherwise "the boot loader will otherwise overwrite the code (without -O2) at 0x100 with ATAGS[3]. Therefore, for the Raspberry Pi 3 B, those who want to build a 32-bit kernel, simply walk through the Raspberry Pi 2 options listed below. Those who want to try to build a 64-bit kernel will need the mainline Linux kernel. Be aware there are very few people who are able to provide assistance for 64-bit attempts. Proceeding down the 64-bit path may enter a world of pain.[4] Many things (such as Firefox[5]) may not work at all. Other things have issues but function (wifi)[6][7]. Be sure to remember to add the boot arguments!
I'm largely brainless right now because of the heavy cold mentioned in the companion Unhappy Me thread so I've not yet tried to get the Pi working.
xilman is offline   Reply With Quote
Old 2016-10-15, 14:02   #8
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

52·193 Posts
Default

Quote:
Originally Posted by xilman View Post
Interesting. That's not what I read elsewhere. For instance https://wiki.gentoo.org/wiki/Raspber...el_Compilation has
and https://wiki.gentoo.org/wiki/Raspberry_Pi has

I'm largely brainless right now because of the heavy cold mentioned in the companion Unhappy Me thread so I've not yet tried to get the Pi working.
My bad 64-bit capable CPU is not the same as 64-bit OS. There has been a branch of NOOBS, Fedora and Arch at 64-bit but it seems too heavy to maintain to be openly delivered. Only computer mathematicians would love such distro, and we do not count enough users to ask for a new kernel.
ET_ is offline   Reply With Quote
Old 2016-10-15, 17:29   #9
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3×3,613 Posts
Default

Quote:
Originally Posted by ET_ View Post
My bad 64-bit capable CPU is not the same as 64-bit OS. There has been a branch of NOOBS, Fedora and Arch at 64-bit but it seems too heavy to maintain to be openly delivered. Only computer mathematicians would love such distro, and we do not count enough users to ask for a new kernel.
I plan to go the Gentoo route. What little I've read suggests that a system suitable for number crunching may be buildable even if all the bells and whistles that people expect these days are flaky.

There's an ulterior motive for wanting a 64-bit compute-optimized system. I'm giving very serious thought to building a baby supercomputer and, ATM, the Pi-3 appears to be the ideal machine for prototyping from a cost/benefit viewpoint. Perhaps people here may also be interested in this idea if it can be made to work.
xilman is offline   Reply With Quote
Old 2016-10-16, 14:08   #10
Mark Rose
 
Mark Rose's Avatar
 
"/X\(β€˜-β€˜)/X\"
Jan 2013

24×3×61 Posts
Default

Depending on your application, you may or may not find the Pi's slow Ethernet to be a bottleneck. There are other small boards that have gigabit on board. Something to consider.

Last fiddled with by Mark Rose on 2016-10-16 at 14:09
Mark Rose is offline   Reply With Quote
Old 2016-10-16, 15:06   #11
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

251278 Posts
Default Raspberry Pi

Quote:
Originally Posted by Mark Rose View Post
Depending on your application, you may or may not find the Pi's slow Ethernet to be a bottleneck. There are other small boards that have gigabit on board. Something to consider.
Thanks. That issue has already been noted but, for prototyping, I'm not too concerned because things can only get better if it works at all. Some other small boards are also better supported by 64-bit operating systems right now. Presently I want to optimize for simplicity of construction

Longer term I'd prefer not to use processing elements with all the extraneous gubbins (HDMI, USB, ethernet, ...) that stand-alone systems require. All the interfaces with the outside world ought to be (IMAO, anyway) the responsibility of a front-end processor.
xilman is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
raspberry pi3 and srxsieve speed pepi37 Hardware 6 2018-03-20 18:01
Runs Prime95 on Raspberry Pi primeawesome Hardware 6 2018-02-14 08:19
Which SIMD flag to use for Raspberry Pi BrainStone Mlucas 14 2017-11-19 00:59
Raspberry Pi lavalamp Hobbies 10 2017-08-16 00:37
Raspberry Pi sloppyonefoot Software 1 2017-07-02 08:48

All times are UTC. The time now is 16:21.


Sat Sep 18 16:21:09 UTC 2021 up 57 days, 10:50, 0 users, load averages: 1.32, 1.22, 1.22

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.