Monday 20 May 2013

Joshua builds 32-way Raspberry Pi cluster

Boise University PhD candidate Joshua Kiepert has built a 32-way Beowulf cluster from Raspberry Pis.

Kiepert says his research focuses on “developing a novel data sharing system for wireless sensor networks to facilitate in-network collaborative processing of sensor data.” To study that field Kipert figured he would need a decent simulator, preferably a cluster so he could simulate lots of distributed sensors. The University possesses just such a cluster, comprised of 32 nodes each packing a quad-core Intel Xeon E3-1225 CPU humming away at 3.1GHz.

That's a lovely facility and is therefore much in-demand, which meant Kiepert could not guarantee access for lengthy experiments. That got Kiepert thinking that if he had a cluster of his own he could tweak as required, and that cluster was a bit closer to the low-level hardware used in sensors, that would be a fine thing.

Kiepert's mathematical skills then did some multiplication: at $45 per Pi, including an 8GB SD card, he could acquire the raw materials for a 32-way cluster for $1500, or the same price as one Xeon-powered PC. As he contemplated the design for such a cluster, Kipert settled on Arch Linux for its tiny size. He eschewed the Pi's micro-USB port as a power source, as he felt it would complicate cabling, instead using a 5V pin on the machines' I/O headers.

USB power would also have complicated the housing for the cluster by adding weight, a problem Kiepert said was not insignificant because 32 ethernet cables were a drag on the slim and light computers.

“In order to keep the cluster size to a minimum while maintaining ease of access, the RPis were stacked in groups of eight using PCB-to-PCB standoffs with enough room in between them for a reasonable amount of air flow and component clearance,” he writes. “This configuration suited our needs for power distribution very well since it allowed for a power line to be passed vertically along each stack.”

“Using this orientation, four RPi stacks were assembled and mounted between two pieces of acrylic. This created a solid structure in which the cluster could be housed and maintain physical stability under the combined weight of 32 Ethernet cables.”

The Pis were also overclocked, using Turbo Mode, to give Kiepert the grunt needed to run his simulations.

Kiepert's now doing all his research on the cluster, writing in a lengthy (PDF) account of the build that “I have found performance perfectly acceptable for my simulation needs, and have had the luxury of customizing the cluster software to fit my requirements exactly.”

Custom software doesn't, however, mean faster performance: Kiepert admits performance of the cluster isn't stellar, even after he re-wrote simulation software for his cluster.

But the price was right: the PDF above includes a bill of materials that includes cabling, lighting and even screws needed to assemble his acrylic racks. The total came to $1967.21


Monday 13 May 2013

Raspberry Pi Won't Boot, Red Power Light Only (update)

Yesterday one of my Pi worked perfectly, but today just the red power light turns on. There is nothing through either HDMI or Composite outputs and the OK light bearly turns on.

Yesterday it worked with a 32GB SD card, Logitech wireless USB keyboard, , Amazon 5V 1.8A charger for a Kindle.

I tried re-flashing the SD card and tried a Lexar 4GB SDHC Class 2 card and neither worked. Unplugging everything but the power and SD card didn't work either.


Reading about this problem on various forums it seems to be quite common so I will need to play about with the raspberry Pi and try and find out what if if I'm able to bring it back to life.

(Update)

After much playing about and messing around plus reading the many Raspberry Pi related forums (raspberrypi.org is the best). I discovered that there were infect 2 faults with the raspberry Pi in question!!!

1) A broken SD card socket. Currently using a match stick to hold the SD card in its socket


2) The SD card that wasn't compatible but it didn't initially say on the list, the list has been updated since I initially looked.

Saturday 11 May 2013

LTE core network embedded on Raspberry Pi

The industry’s march toward commodity hardware continued apace this week, as system integrator and small cell specialist Quortus squeezed a core network with full GSM, 3G and LTE support onto a Raspberry Pi.

The company said that its aim is to take mobile core network functionality and distil it in to an application that can be run on commodity hardware, instead of the expensive heavy iron infrastructure currently used. Quortus’ flagship product, SoftCore, placed a core network with full GSM, 3G and LTE support in an application with as small a footprint as possible, in this case, the $35 Raspberry Pi.

The software mobile core application turned the Raspberry Pi into a fully functioning 3G and 4G network core and by adding a regular residential femtocell created a complete mobile network able to fully support voice calls, SMS and data over 3G and LTE.

The caveat is that this project isn’t necessarily immediately suitable for commercial use. “But it goes some way to illustrate how our software can be used to lower the costs of network deployments and can be installed on low-cost, non-proprietary hardware or even to enable a ‘virtual core’ model where an operator or MVNO can have its core network hosted by a third party,” the company said.

This is not the first such attempt to make use of a Raspberry Pi in a mobile network. Earlier this year telecoms consultancy PA Consulting crammed a GSM cellular basestation onto the three inch device.

Written by James Middleton 

Wednesday 8 May 2013

Add a Reset Switch to a Raspberry Pi

The Raspberry Pi doesn't come packed with any buttons for power or resetting, but over on Raspi.TV, they noticed that the newest Rev 2 version of the Raspberry Pi actually comes with a place to add in your own reset switch.

Generally if you want to reset the Raspberry Pi you have to either unplug it and then plug it back in, or enter a command with a keyboard. That's fine if you actually have a monitor hooked up, but if you don't, constantly unplugging it is going to wear down the connections. To add a a reset switch, you'll just need to solder on a couple of pins as described in the video above. You can then use any old PC reset switch, or just join the pins with a jumper when you have to reset it. The Raspberry Pi isn't exactly made for frequent resets, but it comes in handy on occasion. Head over to Raspi.TV for the full guide

Tuesday 7 May 2013

Raspberry Pi Won't Boot, Red Power Light Only

Yesterday one of my Pi worked perfectly, but today just the red power light turns on. There is nothing through either HDMI or Composite outputs and the OK light bearly turns on.

Yesterday it worked with a 32GB Toshiba SD card, Logitech wireless USB keyboard, , Amazon 5V 1.8A charger for a Kindle.

I tried re-flashing the SD card and tried a Lexar 4GB SDHC Class 2 card and neither worked. Unplugging everything but the power and SD card didn't work either.

Reading about this problem on various forums it seems to be quite common so I will need to play about with the raspberry Pi and try and find out what if if I'm able to bring it back to life

Sunday 5 May 2013

Firefox OS for Raspberry Pi

It has been quite some time since my last post about Firefox OS running on a Raspberry Pi, but the questions didn’t stop to come in “when will it be released”? Well, I’m sorry that it took so long (sometimes finding time is not that easy), but finally, here we are: the sources and build instructions are available!

Head over to the Firefox OS for Raspberry Pi Manual, which contains all build instructions, download links to a pre-built SD card image and much more information.

But before you start, please note the following limitations of this current release:

No input devices are supported. No mouse, no keyboard.

The screen resolution is hardcoded to 1280 x 1024 px.

The used Firefox/Gecko used is not up-to-date (it’s using revision 801ba75ac563 from 2013-01-03).

Quite some patches are required to get Gecko building, most of which were developed by Oleg Romashin. Unfortunately, they are not yet part of the official Mozilla source tree, and some of them are quite hacky. Progress to get this work upstream is tracked in bug 731498.All those patches are exported into the meta-b2g layer. A source repository for easier development will be made available soon together with instructions how to contribute to the Gecko development.


So what is all of this useful for at this point? I mainly leave this up to your imagination, but I’m using it as public info screen, displaying the weather forecast, room occupation, the next subway connections and today’s lunch menu.

All data comes from publicly available web services or is scraped from Internet pages, all client-side with no web server or anything.

I hope you find Firefox OS for Raspberry Pi as useful and exciting as I do, and please send me your comments, suggestions or (best) patches, to make it even greater!

By Philipp Wagner

Thursday 2 May 2013

Raspberry Pi 'supercomputer'

I was reading an intriguing article talking about creating a parallel 'supercomputer' at the University of Southampton using 64 Raspberry Pi computers housed in a rack made of Lego ( link to website ).

Now I had to replicate this feat in some fashion myself.

My plan is to build a 4 R,Pi supercomputer ( 3 nodes and a RaspberryPrime, this is the 4th node in the stack and will be the coordinator of the 4 worker nodes ) Something like what keith has built

I've placed an order for a NETGEAR GS108 Gigabit Ethernet Switch plus network cales, all I can do is wait. While waiting, I will read the University of Southampton's "Raspberry Pi Supercomputer "How To".
and the following links found on that site to other documents and blogs, as well as sources for the required software.

The main software image for the operating system is called Rasbpian and is a version of Debian Linux specially created for the Raspberry Pi. In addition, for parallel computing various compiler packages would have to be downloaded and installed.