How To Build a Homebrew PS3 Cluster Supercomputer
eldavojohn writes "UMass Dartmouth Physics Professor Gaurav Khanna and UMass Dartmouth Principal Investigator Chris Poulin have created a step-by-step guide designed to show you how to build your own supercomputer for about $4,000. They are also hoping that by publishing this guide they will bring about a new kind of software development targeting this architecture & grid (I know a few failed NLP projects of my own that could use some new hardware). If this catches on for research institutions it may increase Sony's sales, but they might not be seeing the corresponding sale of games spike (where they make the most profit)."
something to finally run Vista?
why would ibm be involved in this if it means they will sell less servers?
Why would you want to use PS3s for a homebrew supercomputing cluster if it means you have to write and optimize code for the SPEs to get benefit out of it? The PS3's linux environment doesn't let you utilize the GPU or all of the built-in SPEs and it doesn't have a lot of RAM available either. It seems like it would be cheaper to build a cluster out of commodity PC parts, and maybe use GPUs+CUDA to get more muscle without having to completely hand-roll your own accelerated computation code (since CUDA is roughly C). I can't imagine that the PS3 would end up cheaper for these purposes, considering it includes a Blu-Ray player along with a bunch of other things you're not going to be using.
using namespace slashdot;
troll::post();
I don't understand why this isn't possible with normal PC hardware - what is special about the PS3 - or is it just because it is better value for money?
AGAIN, revenue of console sales is not N*const (positive or negative), but const1+N*const2 where const2 is negative (it's a gain per console) but upfront costs=const1(R&D, licences ...) are big. So the fact that the total is negative implies const is negative, but in fact it's mostly that N*const2 is still less than const1. (I hope this makes sense to some at least)
Couple issues with this as an alternative to the garden-variety x86 cluster connected with InfiniBand:
Slow network interconnect. For problems that are not trivially parallel, network latency is usually a big deal. Ethernet doesn't cut it.
Lack of RAM. 'Nuff said.
Have to care about Cell and PS3 architecture. The codes ("codes" has a slightly different meaning in the context of supercomputing) have to be modified to take advantage of this very specific architecture. Software always outlives hardware, so in the long run the effort may not be worth it.
That said, it's really cheap. If your application isn't held back too much by these issues then enjoy your insanely cheap cluster!
Or maybe he did catch it and thinks that sort of thing belongs on Reddit?
Imagine a beowulf cluster of those!
I'm not trying to be a smartass, but why did he mention in TFA that his supercomputer cost $4000 if the 8 consoles were "Sony-donated"?
Oh come on, you are being pedantic. Clearly what he meant was "$4000 worth of consoles", never mind that they were donated. $X worth of consoles is a useful number if someone is considering buying PS3s and setting up a supercomputer; it's also a fun number to compare to the cost of renting time on some large supercomputer.
The original Wired article is informative:
http://www.wired.com/techbiz/it/news/2007/10/ps3_supercomputer
He asked for Sony to donate the PS3s because he didn't think the NSF would give him grant money to buy video game systems. Now that he has actually built the supercomputer and it does everything he hoped it would do, perhaps other researchers will be able to justify the money to set up their own clusters (without donations from Sony).
The numbers are a no-brainer: he used to spend $5000 to do a single simulation run using rented supercomputer time. For less than the cost of a single simulation run, you can set up your own supercomputer and make simulation runs whenever you feel like it.
ALso, like the iPod example at the top of the post, most research use of the technology won't come from actual iPods or consoles
Um, he is using actual PS3 consoles to do actual research.
If one wanted to build their own home "super" computer then why not just use CUDA and a few Nvidia cards?
If you think that is a good way to make a super computer, why don't you go ahead and do it, and make a web site explaining how it is done?
Meanwhile, he thought he had a good way to go with the PS3, and it did in fact work as he expected, so what's the problem?
Anyway, here's why he thought it was a good idea. From the above linked Wired article:
steveha
lf(1): it's like ls(1) but sorts filenames by extension, tersely
At first I laughed... But then I realized that, no, Vista won't be able to run on this.
Vista doesn't support the PowerPC architecture.
Old CPU's have a much lower MIPS/Watt and a lower MIPS/interconnect so they have a higher cost. Many organizations have found it's cheaper to retire an old supercomputer and add a few nodes to the new one even if it is more capital outlay to get the same performance. Basically a Cell does many times as much useful work than a P4 at a fraction of the power budget.
There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
Luke: Your overconfidence is your weakness.
Emperor: Your faith in your moderators is yours!
The number of PS3's sold will never be enough to hurt Sony's bottom line, but will boost the image of the console. Having credible scientists call your product a "supercomputer" is worth something. Does Ferrari's Forumla 1 racing team pay for itself? Nah, it's an investment to promote an image.
It's not my fault you didn't catch the Invader Zim reference.
Invader Zim is non-free. It's easier to catch pop culture references if they are pre-1923 or otherwise free.
How is it useless, when the guy who built it, used it already for a month? And it has replaced 200 supercomputer nodes, for his purpose? I'd say that's very fucking useful.
But you know what, maybe you should send him an e-mail and try to convince him how his cluster is useless. Make it a nice, insightful and intelligent e-mail, like your post.
"The agriculture ministry is not in charge of Gundam" - Japanese ministry official.
sorry, but that's stupid -how many pop culture references from 1923 are relevant to TODAY's pop culture:
seeya snookums, me and the squeeze are the bees knees in our raccoon coats, we're gonna get jazzed up in our hupmobile on hootch and go check out Mary Astor's horse after we hit the blind pig.
I agree its unfortunate that this stuff is non free, but pre 1923 means that most talkies would be out of bounds as well -including stuff you can see on tv all the time.
I'm just sayin'
Researchers pay not only for the initial capital outlay required to install a supercomputer, but also for its power, cooling, the building it resides in, and its maintenance. This PS3 cluster might be cheap from the researchers' standpoint if they don't pay for any of these things directly, but I imagine their departments won't be real thrilled if a bunch of researchers start building their own individual "cheap" supercomputers! Those issues aside, it sounds like they're doing pretty cool stuff with those machines, so maybe more supercomputers should be cell-based!
sorry, but that's stupid -how many pop culture references from 1923 are relevant to TODAY's pop culture:
A perfect illustration of the fact that copyright terms are way too long.
Chernobyl 'not a wildlife haven' - BBC News
http://www.physorg.com/news92674403.html
http://dgl.com/itinfo/2003/it030528.html
http://www.lbl.gov/Science-Articles/Archive/sabl/2006/Jul/06.html
http://folding.stanford.edu/English/FAQ-PS3
What a complete farce! Here I was all excited to go see this PS3 cluster "guide". From TFA:
"Found at www.ps3cluster.org, the resource fully illustrates how to create a fully functioning and high performance supercomputer with the Sony Playstation 3."
And what is actually *on* the site?? How to install Linux on a PS3 (as if there weren't any guides for that out there already). Then, they show the magical touch where they download the stock Fedora Open MPI implementation, and configure it using all *TWO THREADS* of the Power PC unit.
No mention that Open MPI doesn't even utilize the synergistic processors on the Cell. No benchmarks. Nada. They can boot Linux, and run a networked application that has absolutely NOTHING to do with the CELL architecture itself.
From the site: "One of the authors (Khanna) estimates that his MPI computations run much faster than on desktop workstation chipsets, and that his original 8 PS3 (i.e. 64 core) Cell cluster had comparable if not better performance to a 200 Node IBM Blue Gene system."
B.S. (And I am being generous.) Their MPI isn't using any 64 processors (when there are actually only 56 available cores for use on the PS3). His data sets may run about as fast as they would on 8 older Apple laptops, but there is no way they're anywhere near a Blue Gene. My tax dollars had better not have been used to fund this "research"....
see afidel's posting.
basically it comes down to the costs of having your own personal power station in the TCO to run a cluster.
this started (well, really hit it off) a few years back, when the pentium M and centrino tech became widespread. basically, to my knowledge, it was the first time you could actually have more processors with less jiggahertz, that consumed less power in total and still had more flops than the others. it swayed everyone from "more powerful cpus plz" train of thought to the "more cpus, less power-consumption". (also cpus/chips in general will eventually hit an upper barrier, making parallel computing a necessity)
I haven't checked the facts on the ps3, but seeing how much nether-region sucking is going on, ps3s probably fit into this scheme.
It's not about fate, it's about character.
there be no shelter here, the frontline is everywhere!
I betcha there's enough talent out there to make a small desktop unit. An affordable, out of box, mass produced Sony supercomputer./p>
I think Sony feels that's exactly what the PS3 is.
it's not that simple. sure you can make up for a lack of per-CPU processing power through cluster computing, but at some point it becomes more practical or even cheaper to go with a smaller cluster using a better processor architecture.
you could use hundreds of P3s or even P4s and still not achieve the same real-world performance as a couple dozen cell processors or modern GPGPU stream processors. that's because P3s & P4s are general-purpose CPUs designed for SISD/scalar processing. they're great for the bulk of general-purpose commodity computing applications like running an OS, web browser, word processor, etc., but high-performance computing problems typically involve processing very large data sets that greatly benefit from data parallelism. so if you had two processors, one scalar and one vector, each with the same power consumption and clock rate, the vector processor would be an order of magnitude faster at performing HPC tasks than the processor with the scalar architecture.
and the combined use of parallelization at multiple levels will always be more efficient than relying solely on a single form of parallelism. blindly adding more cheap 32-bit scalar CPUs won't get you as good of results as building a smaller cluster comprised of 64-bit fully-pipelined stream processors with multithreaded superscalar cores that support VLIW. in the former case, you're only employing task-level parallelism, whereas in the later case you're taking advantage of bit-level, instruction-level (pipelining + superscalar + VLIW), data, and task-level (multiprocessing + multithreading) parallelism. you'd not only save power by using fewer (more power-efficient) processors, but you'd also reduce memory coherence & bandwidth problems, not to mention the space savings.
Answer: PS3s were used because of the vector processors - they are significantly faster than general purpose CPUs for some of Dr. Khanna's needs and the general vision of the project. These are chips designed for raytracing which makes them perfect for some forms of scientific processing.
Also a rack unit full of PS3s looks way cooler than some crufty old PCs pulled from a dumpster.
Josh - PS3Cluster tester
gigantino.tv - Heavy but weighs nothing.
If this catches on for research institutions it may increase Sony's sales, but they might not be seeing the corresponding sale of games spike
Come on - that's the whole point. This is what you'll need to run the PS3 version of Crysis!
Not 100% but very still very high. Out of my collection of 64 PS2 games, only 2 have enough problems that I consider them unplayable on the PS3: Tekken Tag Tournament (doesn't run full speed) and Fallout Brotherhood of Steel (with very pronounced texture glitching)
Sigh, why do people keep getting this wrong. Although the latest release PS3 consoles can't play PS2 games, ALL PS3's can play PS1 games since that's entirely software emulation.
I've thought about Folding @Home and I've always wondered why can't there be a diy distributed computing server that could be setup. Something like this PS3 cluster but could be replicated with any home pc.
I helped Chris with the documentation, testing and image capture on this project. I see some "it doesn't do this!" comments above - please remember this is a young project that started out of one researcher's need to solve a specific type of problem. If you want to see this advance, it's all open source so start hacking.
So my setup:
1 40Gb Playstation3 w/ HDMI cable out and keyboard
Hauppauge HDPVR digitizer
PC running Windoze and Photoshop
TV hanging off the HDPVR for reference
Software as described on PS3Cluster.org including Geoff's Cell libraries, boot image on USB and Fedora 8 for PPC.
Plugged everything together, installed Fedora 6 the first time around since we knew that worked, then redid it with Fedora 8. Added the MPI libraries and ran the little Pi test code. Digitized the whole install as video, proofed out the process in terms of instructions. Did frame grabs from the video, cropped etc in Photoshop. Lots of work, totally worth it seeing the project posted here.
Oh, and it runs X - kinda cool having Firefox running on a game deck.
Enjoy,
Josh
gigantino.tv - Heavy but weighs nothing.
Well the funny thing is they're still losing money on every PS3 sold. At least from the last cost analysis I saw, which was back in July. They are counting on you watching Blu-Ray disks or buying games, and any PS3 in a computing scenario won't be doing any of that (barring someone 'misallocating resources' *koff koff*).
So your idea makes sense. They are partnered with Toshiba to produce the low(er) cost Cell add-ons outside of a PS3. And you should see http://en.wikipedia.org/wiki/Cell_%28microprocessor%29#Possible_applications for some others.
The sad thing is that a Cell is far more suited for supercomputing than it is for writing games on, but Sony seems insistent that the primary purpose is making game devs's lives miserable while IBM and Toshiba seem more focused on using it where it's actually useful.
or bank reclaimed assets from a sunken business?
What type of processor do Woolworth's POS tills use?
This is probably a silly question but why/how are they running PPC Linux (which is presumably for the Power PC) on PS/3s which have cell processors?
I guess that either the PS3 has a PPC chip as well, or it runs some sort of emulation mode. I can't find either documented.