MattiOvermark
Posts: 1
Joined: Wed Aug 19, 2015 1:26 am

Using Pi clusters

Wed Aug 19, 2015 1:39 am

Hi,
I am a teacher and I intend to make a project in a technology class at upper secondary level. The purpose is to a) build a scaleable cluster of R-pi:s, b) to use the cluster in some intelligent way.

Has anyone made use of clusters in education? What programs were written? The students all have taken a course in Python (3).

I have read the LUD issue 145 article and Raspberry Pi Super Cluster book.

Any hits or pointings are welcome,

Regards,
Matti in Sweden

User avatar
DougieLawson
Posts: 37069
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Using Pi clusters

Wed Aug 19, 2015 9:03 am

Part a) is relatively easy, part b) is next to impossible because a cluster of RPis isn't much more useful than a single RPi2B.

Clustering relies on getting the data in and out of the processor extremely quickly so you can run the processor at close to 100% and it's never waiting for data because the next chunk is ready and waiting in a buffer. It also relies on getting an application that can run in parallel on small chunks of the data with a supervisor program that breaks the dataset into chunks and builds the results from each parallel process back into a single results set.

All the I/O on a RPi goes through the SMSC9514 so each member of the cluster can never run faster than the sustainable data rate on that USB controller chip.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
scidata
Posts: 92
Joined: Tue Jan 06, 2015 4:21 pm
Location: Toronto
Contact: Website

Re: Using Pi clusters

Tue Sep 01, 2015 4:48 pm

A few of the projects I've built since 2000 on the path to a pi cluster
http://www.scidata.ca/?page_id=1131

Python is the obvious choice for programming. IMHO, Forth is far, far better (but takes a brave school/teacher).
"Self-education is, I firmly believe, the only kind of education there is" - Isaac Asimov

Return to “Advanced users”