Slashdot Mirror


Xbox Linux Cluster

aeiz writes "Adam Cecchetti put together a Linux cluster using 3 modded Xboxes and was quite surprised with the results. He used the Mandrake Linux distro." illumin8 summarizes Cecchetti's conclusion after investigating "the cost-effectiveness (or lack thereof) and trouble involved in setting up a 3 node Linux cluster based on the Microsoft hardware. The end result: A cheaper Walmart PC would perform better at the same task."

25 of 199 comments (clear)

  1. was quite suprised with the results.... by Kenja · · Score: 5, Funny

    After all that, chicks still didn't dig him.

    --

    "Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
    1. Re:was quite suprised with the results.... by ez76 · · Score: 5, Funny

      What are you talking about? Didn't you read the article? This guy has a whole cluster of box at his disposal.

    2. Re:was quite suprised with the results.... by ArsonSmith · · Score: 3, Funny

      someone really did imagine a beowulf cluster of these xboxes.

      guess that -1 redudntant/offtopic/whatever post that always gets modded down was on topic this time.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
  2. Surprised? by Anonymous Coward · · Score: 5, Funny

    Quite surprised by the result? Does that mean that Microsoft didn't threaten legal action?

  3. Quick Summary... and a Why? by mikeage · · Score: 5, Insightful

    Basically, this guy modded three XBox's, put on Mandrake, didn't like the minimal compillation tools it came with, fixed it, and is done. He was impressed with the network performance... not because it was so good, but because he thought it had 10Mbps (it has 100). Ding-dong.. hello... anyone home? Read the specs!

    This is news why?

    --
    -- Is "Sig" copyrighted by www.sig.com?
    1. Re:Quick Summary... and a Why? by Kentamanos · · Score: 3, Interesting

      I'm a bit confused as well...

      Why would you want to buy an XBox for this in general? It's somewhat difficult to determine the cost factors here, but I would think you could buy just as powerful of a MB/CPU/RAM combo (actually, you could get a better CPU easily) cheaper. Heck, it's hard to even find people still selling 733 Celerons.

      The only thing that might blow the budget is the video card you would need (it's a specialized G2, right?), and if you're clustering them, what's the point of having a good video card?

      Seems like a fun little project, but the article seemed pretty light on actual performance data, etc.

    2. Re:Quick Summary... and a Why? by Ghengis · · Score: 5, Interesting
      if you're clustering them, what's the point of having a good video card?


      Not that you would use X-boxes for this, but on a similar note, some visualization clusters are specifically meant to harness the power of the video cards. The MB, CPU's and ram are just there because they have to be there (you can't plug 1024 video cards into one x86 box!)

      --

      "The best laid plans of mice and men gang oft agley..." - ROBERT BURNS

    3. Re:Quick Summary... and a Why? by ReelOddeeo · · Score: 4, Insightful

      Why would you want to buy an XBox for this in general?

      If you RTFA you will see that he didn't buy them. He received funds from his university to do this. He remarks that the XBox worked great as a general computing platform.

      So why would you want to do this in general? Because if you can get someone else to pay for it, you get three useful Linux computers to use for some period of time, in exchange for producing your experimental results.

      --

      Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
    4. Re:Quick Summary... and a Why? by pyr0 · · Score: 4, Insightful

      " but I would think you could buy just as powerful of a MB/CPU/RAM combo (actually, you could get a better CPU easily) cheaper..."

      I think his point was to test if this is true or not. A lot of people posting about this story seem to be saying things like "well duh! everyone knows it would be slower," but they are saying these things in the absence of data. Suppose his cluster would have performed exceptionally well and was ridiculously easy to set up? The purpose of research is to test theories out and see if they hold up. The theory or idea he was testing in this case was the applicability of X-Box machines to making a cheap cluseter.

  4. Copy of Text Before Meltdown by Anonymous Coward · · Score: 5, Informative

    Stats:
    3 XBOXes
    Mandrake 9
    MPICH
    distcc

    Quick Overview:
    I was walking back from class thinking to myself I haven't done much in the way of parallel computing lately. So I thought it would be a interesting idea to test the usefulness of the XBOX platform as a cluster node, as the XBOX Linux project says they are useful as. At the same time I had heard a lot on various message boards that individuals were using the XBOX as a Linux desktop to check email and browse the web, etc, etc. So, I wrote a grant proposal to Saint Vincent College asking for funds to build a Linux cluster out of XBOXes. I was issued enough funds to purchase 3 units and accompanying hardware for the project.

    Parts
    After ordering all the neccessary components and a stop to the local Best Buy. I had all the necessary parts to built this cluster.
    3 XBOXes
    3 Matrix Mod Chips
    1 VGA Switch
    1 USB Keyboard
    1 USB Mouse
    1 USB Motherboard Card

    Install
    My first step was to flash the mod chips, as they came without a BIOS. After some digging on the web it became clear that the only place I was going to find BIOSes were from irc channels, where they were more than happy to hand them out. The programer that came with the Matrix mod chips was easy enough to use. I simply had to choose my BIOS file, and the program wrote and verified it for me.

    The alignment of the chips on the board took sometime, however compared to earlier chips that required 29 wires be soldered to the motherboard this was the only viable solution if the XBOX was to be considered as a replacement for a store PC. The next step was to get Linux onto the XBOX. I used the ISO images boot and install from the XBOX Linux projects web site. Most people on the web had luck with cdrws instead of cdrs and mine worked just fine as well.

    Installing Mandrake Linux was the next step. The install disk simply wrote the image over the disk and only took about 15 mins to do so. The only problem was that all three units came with different size hard drives. The hard drive units were not clearly marked to their size, and I ended up pulling out my calculator to calculate their disk size.

    After swapping disks the Mandrake partition started right up with no problems. I had no trouble using the XBOX as a standard desktop PC after the install. Nor did anything for day to day computing seem missing. Seems if you can get this up and running its fairly easy to use PC after.

    Cluster

    The clustering of the XBOX units would not go as easily. I wanted to be able to remote admin the XBOXes and the MPICH package needed ssh to pass commands and I was not about to use rsh. After downloading the sshd source from openssh.org, I found my next big missing piece. Gcc was not installed as well. After installing eight rpms for the gcc package I had a C compiler. The version of openssl was outdated for the current version of openssh so that had to be installed before moving on too. It would seem that the Mandrake install was minimal indeed! As even zlib, required by openssl, was not installed. Finally after a few hours of installing and searching I had a node that was ready to install my clustering software on. Distcc which would allow me to cross compile software across nodes was installed. I also installed MPICH as I had experience with it from my other projects. Finally things were ready to go.

    Results
    The XBOX unit functions well as a desktop computer for general usage, email, web browsing, etc. The total cost of the unit with keyboard, mouse, and parts came to 383.72 dollars. However, it is not as cost effective or as easy as using a general PC obtainable from almost anywhere for the same purpose. The technical merit of soldering the usb to XBOX controller wires as well as installing the mod chip are beyond the technical skills of most. In short if you already have an XBOX and want to tinker/need a computer and have no fear of the possibility of ruining your unit then this is a viable solution. However, as a general replacement to a desktop pc, the XBOX is not nearly as userfriendly or cost effective as a 200 dollar pc from walmart.

    As for the XBOXes as a cluster I have to admit that I obtained better results than I had predicted. This was in part due to that the XBOX has a 100 Mbps Ethernet card and I was told they had only a 10 Mpbs card. I recompiled the Linux kernel 2.4.20 on a single node took 48 mins 30 sec. Using distcc the process was cut down to 20 mins. This represented a 2.4 times out of 3.0 speedup. Not to bad for the 3 nodes. My MPICH results were less telling. After nearly 100 runs of the same test programs my results varied between twice as slow across the three nodes and five times as fast as running the same program on a single node.

    In conclusion, the XBOX functions well due to the work done by the XBOX Linux project. However the same or greater computing power could be obtained for an equal price, without the complications of modifying the XBOX. This makes the XBOX an unfit solution as a replacement for a personal computer or a cluster node.

  5. Well, duh by InfinityWpi · · Score: 3, Funny

    "Lookie here, Beauford! This here electric can opener, see, I got me three of 'em, and I tinkered with 'em, but damned if a blender don't mix up a nice al-key-holic drink better than three of these dang-gum things!"

    It's an X-Box. It's made to play games, not run Seti@Home.

    1. Re:Well, duh by _xeno_ · · Score: 4, Funny
      It's worse than that. Read the article:
      So, I wrote a grant proposal to Saint Vincent College asking for funds to build a Linux cluster out of XBOXes. I was issued enough funds to purchase 3 units and accompanying hardware for the project.
      He got a grant to figure that out.

      He actually was given money to try and cluster three X-Boxes together and find out the results. Hmm... time to bug WPI for some funds... Yes, I need an X-Box, PS2, and a GameCube and will try to - uh - "cluster" them. Maybe around an LCD projector, depending on the grant...

      --
      You are in a maze of twisty little relative jumps, all alike.
    2. Re:Well, duh by ReelOddeeo · · Score: 3, Funny

      He got a grant to figure that out.

      Grant poposal:

      The purpose of this experiment will be to determine the effect on the brain and other organs of massive exposure to pornography and any health effects that might result. Also the effects on academic performance will be observed and reported.

      --

      Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
  6. Re:Nice. by Anonymous Coward · · Score: 5, Insightful
    Possibly the furture of super-cheap supercomputers?

    Ok, now I know it is too much trouble for the average slashdotter to actually read the articles before commenting, BUT PLEASE! How about READING THE FUCKING DESCRIPTION? Once again for the slow people: "The end result: A cheaper Walmart PC would perform better at the same task."

    While it might be fun to mod an xbox to run linux to output content on a tv, it is worse than pointless to build a computational cluster with them.

  7. neo? whoa... by sweeney37 · · Score: 4, Funny

    too bad The Neo Project is gone, maybe they could of broke the encryption key just that much faster....

    Mike

  8. Imagine by Moloch666 · · Score: 4, Funny

    Imagine a....

    *bends head down and walks away*

    --
    Understanding is a three-edged sword. -- Kosh Naranek
  9. Looks as if MS has succeded. by RealAlaskan · · Score: 4, Insightful
    From the article's conclusion:
    In conclusion, the XBOX functions well due to the work done by the XBOX Linux project. However the same or greater computing power could be obtained for an equal price, without the complications of modifying the XBOX. This makes the XBOX an unfit solution as a replacement for a personal computer or a cluster node.
    MS has made a machine which it isn't practical to use for cheap computing power. It's possible to use the Xbox as a PC, and a few folks will do it, but it isn't practical, and I'm sure that's just what MS was aiming for.

    Whether they actually lose money on every machine or not (and it surely doesn't sound as if marginal cost is greater than the price), they don't want their low margin hardware being snapped up by the thousands by pc-clustering scientists who will never buy a high margin game.

  10. Xbox mods should focus on a PURPOSE by Rolman · · Score: 5, Insightful

    Really, what would you expect? A cluster's main application is to increase the CPU cycles available for a given program. Raw CPU power is not Xbox's strength.

    The Xbox mods should be focused on what makes them useful. No Wal-Mart PC would have Component Video Output or Digital Audio Output at $200. Xbox can be used as a cheap terminal but it will shine as a Media Player that allows you to use your existing content on your existing equipment in the same way a consumer electronics product would.

    That's the real difference. A normal PC has many stupid quirks that are useful only when you have unpredictable hardware combinations, i.e. the dozens of volume controls (PCM, MIDI, Master, etc.) and different resolutions. These are not required in a DVD/TV/Stereo setup. And don't get me started on the so far terrible "desktop-on-your-TV" hacks on Video cards.

    I'm looking for an Xbox mod that allows me to playback my content stored on ANOTHER computer through the network (the 10GB HDD on the thing would never be enough to store my files), and still be able to play my original, legally owned games in a non-intrusive way. Simplicity and ease-of-use are valued above all else in a console.

    Now that would be a mod with a _real world_ purpose.

    --
    - Otaku no naka no otaku, otaking da!!!
  11. To answer the inevitible question by Anonym0us+Cow+Herd · · Score: 3, Funny

    Let's try to head the inevitible troll post off at the pass. It happens every single friggin time an XBox-Linux discussion appears.


    Why do XBox Linux? <insert boring list of reasons why a standard PC is better>


    Because it's there!


    Any more questions?

    --
    The price of freedom is eternal litigation.
  12. Bad Writeup by hakker · · Score: 5, Interesting

    Not to be a troll, but this guy seems to be claiming he knows what he's doing. From his writeup, I very much doubt that. Performance modelling a cluster is FAR more complicated that "this is how long it takes to compile a kernel on one box, and this is how long in parallel." There are all kinds of issues such as MPICH's underlying communication structure (Tree, Linear, Cube, whatever). The fact that he could not get his MPI test program results consistant tells me that he has no idea how to configure it. Furthermore, when is the last time you saw a Linux kernel take 48 minutes to compile, on any Pentium 3 machine? The XBOX is capable of building a kernel far faster than that.. As another reader pointed out, read the specs.

    Oh yeah, one final note. I *hate* how everyone always thinks that they were the first one to think of building a Xbox or PS2 cluster. Kudos to this guy for actually coming through, but his scientific reporting skills leave much to be desired.

  13. distcc by WPIDalamar · · Score: 5, Informative

    Well, on the whole, fairly uninteresting.

    But in case people don't know about it. distcc, the clustering solution he used rocks! It's just a wrapper for gcc, and works on most platforms. We use it here at work on Mac OSX!

    http://distcc.samba.org/

    super easy to set up too!

  14. Re:neo? whoa... by Anonymous Coward · · Score: 5, Informative

    Its not dead, read up on it if your going to post about it.

    Release coming Feb. 15th
    http://www.theneoproject.com

  15. Why not OpenMosix? by ReelOddeeo · · Score: 4, Interesting

    If you're trying to cluster XBox'es, why not use OpenMosix? I think everything about it is cool. The load is distributed automatically. Applications don't have to be specially written. All of the boxes can see each other's filesystem? Maybe there is some downside to using OpenMosix for clustering?

    --

    Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
  16. ummm.... uhhh.. by tommck · · Score: 3, Insightful
    Yeah... that kinda stuff pisses me off!

    I spent all day wrapping up some fresh salmon in aluminum foil and cooking it on my engine block..

    After replacing the first two fish (fell inside the engine) and getting the engine steam cleaned, I realized that it's MUCH cheaper just to put the fish on the grill, or even use OVEN, believe it or not!

    WTF!? Yeah, a PC is probably better than a GAME CONSOLE, you moron! This article was a REALLY weak attempt to bash Microsoft.

    T

    --
    ---- It puts the lotion on its skin or else it gets the hose again. It does this whenever it's told.
  17. I guess Saddam by asv108 · · Score: 3, Interesting

    Will not be upgrading his ps2 cluster for quite some time.