A Beowulf Cluster (Con't)

Since building a cluster of Linux XBOXes was something that no one at Microsoft (probably) ever intended, there are some rough edges. The machines do not stack entirely well as the top of each XBOX is slightly curved. It would be asinine to use anything other than duct tape to correct this problem; although, heavy duty double-sided tape would probably make more sense if you were not trying to cover the air intakes on the sides of the XBOX.

Now that all of our machines have hard drive images and have been "installed" in our rack, we restarted dhcpd on the master machine and powered on the cluster. On the master XBOX, we can view the slaves connecting to the master and gaining an IP.

Configuring the cluster to do different things can be a little difficult; obviously, we do not want to log into each machine and execute each command by hand. Instead, we opted to use ssh to launch commands remotely. We wrote a simple script below named cluster_control.sh:

for i in ...; do
   ssh root@$i $@

Since we do not want to enter our password every time we run a command, we wrote another script to set up our public keys and allow each slave machine on the cluster to authenticate via authorized keys instead of a password.

ssh-keygen  - t rsa
for i in ...; do
  scp ~/.ssh/id_rsa.pub root@$i:~/.ssh/authorized_keys

Now we can run single line commands via our cluster_control.sh script. Given a little more time, we could create something a little more robust, but we are just trying to launch some benchmarks. You'll notice that we are just logging in as root and ssh'ing around with no regard for what programs we are running as root. Security is not an issue here because our cluster network is physically removed from all other networks. However, if this were a real cluster, we would take more drastic measures of locking the machines down. We have just set up a very basic Beowulf Cluster made out of eight XBOXes.

A Beowulf Cluster Distributed Compiling
Comments Locked


View All Comments

  • ukDave - Wednesday, November 10, 2004 - link

    Yes the xbox has a PS1 emulator, only one that i know of. Its called "PCSXbox". Good place for emulator info: http://xport.xbox-scene.com/ , obviosuly a subsection of xbox-scene.

    And before anyone asks, no there are none for the PS2 (nor will there ever be).
  • ukDave - Wednesday, November 10, 2004 - link

    I'm not 100% sure about the SmartXX, as i have the well known Xecuter 2.3b chip which has DIP switches mountable on the outsode of the xbox so that youc an disable it in order to play X-Box live and whatnot.

    From what i've just read over on the forums at xbox-scene, SmartXX is fully X-BoX Live compliant. You simply (as you say Kris) boot back into the MS BIOS. This can be done by turning the xbox on by pressing the EJECT button. To enable the modchip, turn on with the POWER button. (source: http://forums.xbox-scene.com/index.php?showtopic=3...

    SmartXX section of the forums: http://forums.xbox-scene.com/index.php?showforum=6...
  • ksherman - Wednesday, November 10, 2004 - link

    #3, you said there is mulators for n64 and down. Is there an emulator for PSone games? would love to be able to play FF7 again
  • KristopherKubicki - Wednesday, November 10, 2004 - link

    Jeff7181: I think with the SmartXX chip you can actually boot back into the normal MS BIOS and have no problems with X-Link and such. If you install Linux on the last 2 unpartitioned GB of your 10GB drive, your XBOX should basically have no idea that the machine is modded at all.

    LotoBak, ukDave, am I correct on that statement?

  • ukDave - Wednesday, November 10, 2004 - link

    Oh and Jeff, i believe many mod chips have the facility to simply turn them off with a flick of a switch, so you can continue to use XBOX Live. But as LotoBak says, there is the free X-Link service available too.
  • ukDave - Wednesday, November 10, 2004 - link

    http://www.xbox-scene.com is really the only place to go for XBOX related discussion, tutorials, really anything you need to know that isn't covered in this article.

    I bought a bodged XBOX mod from someone in the UK, got it professionally fixed and re-modded. It now has a 120GB disk for all my games, its connected to my LAN. With the excellent XBMC i can play literally any media file from any PC over the network, be it standard files such as MP3's or AVI's, or images such as .bins/cue's.

    Well worth looking into if you have an XBOX that is currently un-modded.

    Also, /me wants 8 XBOX's :D Although, those 'leccy costs, eek!
  • Jeff7181 - Wednesday, November 10, 2004 - link

    I've been thinking about modding mine to use to play video over the network... but I don't want to lose normal Xbox (and Xbox Live) functionality. Wish that was covered here, but I guess it's not really a "mod your Xbox" article as much as it's a "mod an Xbox to make a cheap PC" article.
  • LotoBak - Wednesday, November 10, 2004 - link

    Nice guys... besides your linking problem

    Knowing a little more about the xbox scene a few things your might consider...

    1) Mods go for as cheap as 10USD retail.
    2) Software exploiting the xbox is always an option which results in a 'free' modchip
    3) http://tutorials.xbox-scene.com to learn about most anything
    4) XBMC dvd menu support is comming!
    5) XBMC irc channel on irc.efnet.info #xbmc
    6) Online gaming is free through Xlink www.teamxlink.com
    7) Emulators for n64 and 'down' are available
    8) This is the cheapest htpc with 480p 720 and 1080i available
    9) xbmc supports many formats
    Audio : wav, aac, ac3, mp3, flac, ra, vorbis
    Video : ogg avi mkv rm, mov containers
    Codec : xivd, divx, mpeg2, mpeg1, quicktime, realvideo and realaudio (limited) and many others. The video engine is based apon mplayer open source project

    Networking :
    Shares :Supports ccx, samba (windows file sharing), and replaytv shares.
    Streaming : Supports a multitude of video and audio streaming formats. webradio is included which has a 'channel' browser for online shoutcast streams. There is also a apple movie trailer browser.

    Scripting :
    XBMC has python scripting language implimented so its open to many possibilities

    XBMC does have some rough edges but it is maturing quickly. If you are interested in contributing to the project check out www.xboxmediacenter.com and the 'XBMC' project on sourceforge

    Feel free to ask questions about xbox stuff here... ill watch it for a while
  • Marlin1975 - Wednesday, November 10, 2004 - link

  • Marlin1975 - Wednesday, November 10, 2004 - link

    Page 6 has HOME instead of page 7 link

Log in

Don't have an account? Sign up now