The Register® — Biting the hand that feeds IT

Feeds

New guide: Bake your own Raspberry Pi Lego-crust cluster

'And here's one we made earlier!'

Pics Scientists at the University of Southampton have built a "supercomputer" from Raspberry Pis lashed together to form a colourful data-cruncher.

Professor Simon Cox and his team racked up 64 credit card-sized Pis using Lego building blocks to create the parallel computer. They named their beast Iridis-Pi after the university's Intel-powered 72-teraflops supercomputer, Iridis.

Here's a photo of their very modest super in all its Pi-and-brick glory:

Raspberry Pi and Lego Supercomputer, credit Simon J Cox 2012

Back of the net: Ethernet cables running to Iridis-Pi's nodes

The cheapo cluster has 1TB of storage, thanks to the 16GB SD card inserted into each board, and 16GB of RAM. Each Pi is connected by 100MBit Ethernet, and is powered by a Broadcom BCM2835 graphics chip that handily features a 700MHz ARMv6 processor core.

Raspberry Pi and Lego Supercomputer, credit: Simon J Cox 2012

A two-Pi unit from the Iridis-Pi 'supercomputer' (Pictures by Prof Cox)

The Debian GNU/Linux cluster runs off a single 13-amp mains plug, and uses the Message Passing Interface (MPI) protocol to manage the communications between each of the 64 nodes. Professor Cox wrote the control code in Python using Microsoft's Visual Studio.

Prof Cox estimated the whole caboodle cost under £2,500, not including the network switches.

The biggest challenge was sourcing enough Raspberry Pis to build the cluster: the tiny $35 computer sells out quickly after each batch is built. There are full details on rigging up two Pis into a block, and how to harness in a whole bunch, on the uni's website. El Reg notes this is not the first time Raspberry Pis have been cased in Lego.

Prof Cox said:

As soon as we were able to source sufficient Raspberry Pi computers we wanted to see if it was possible to link them together into a supercomputer. We installed and built all of the necessary software on the Pi starting from a standard Debian Wheezy system image and we have published a guide so you can build your own supercomputer.

It's not in danger of threatening IBM's Sequoia beast, the world's most powerful supercomputer, which delivers 16.32 petaflops of sustained performance running across 1,570,000 PowerPC cores. ®

Genius..

I was wondering when someone would cluster the PIs, buut using Lego as a cluster rack just makes the project a whole let better..

Well done!

21
0

Nothing to say really...

...just raise a pint to those profs at Southampton Uni (from the Hobbit pub). Excellent.

Perhaps the Pi can be used as the standard unit of super-computing performance?

10
0

Re: Or...

What? The pi uses less than 4 watts at full tilt, and a quad-core macmini uses 85 W

http://support.apple.com/kb/HT3468

64 * 4 = 256 watts

4 * 85 = 340 watts

So your wrong :)

9
1

Re: Or...

Doubt it would use less power or perform parallel tasks better. A quad core is not the same as 4 different CPUs.

At least if one of the raspberry pi's dies , its pretty cheap to replace.

7
0

Re: One Pi is Pi

The collective noun for Raspbery Pies is a punnet.

7
0

More from The Register

Android is a mess and needs sprucing up, admits chief
Can Google really fix it? It isn't in control any more
New Lumia 925: This, loyalists, is the BIG ONE you've waited for
Nokia veep drills high-end master plan for El Reg
Android device? Ooohhhh, you mean a Samsung phone
Koreans nabbed nearly all the Q1 profits – more even than Google
Review: HP Pavilion 14 Chromebook
All roads lead to Chrome?
Borked your iDevice? Pay EVEN MORE to have it fixed by Applecare
Or scream at their hapless techies on their forums
Euro PC shipments plummet into bottomless pit of DOOOOM
11th quarter of decline, 20pc drop on last year - Gartner
MIT takes battery-powered robot cheetah for a gallop
Biomimetic big cat needs no power cord, just a walker