Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

Xgrid - A first look at Apple's new cluster software
ComputerWorld ^ | 1/12/2004 | Yuval Kossovsky

Posted on 01/14/2004 12:18:05 AM PST by Swordmaker

Like many of the Macintosh faithful, I watched Steve Jobs' keynote speech at MacWorld last week with anticipation, and I wasn't disappointed. The announcements about the new G5 Xserve and the beefed up Xserve RAID were just what I had been hoping for in the data center (see story). And if those new iPod Minis were just $50 cheaper, I'd have bought two by now.

However, the most underplayed news, and yet the most interesting thing to emerge from the show in my view, was Apple's new Xgrid application. This software is aimed at scientific applications like gene sequencing, missile trajectory calculations, cryptography and other incredibly compute-intensive applications that previously could be crunched only by supercomputers.

Apple has already proved it can deliver supercomputer technology with a cluster installation at Virginia Tech (see story), so what does Xgrid bring to the table?

In typical Apple fashion, Xgrid provides an easy-to-implement solution for two common problems in the scientific community: The lack of cheap computing power, and wasted cycles on unused desktops.

Think of Xgrid as a customizable SETI at Home software package for serious computing folk. The Xgrid software allows you to tie together any number of desktop machines (Apple suggests using those with G4 and G5 processors) to work as a single machine to process a job. When one of the computing hosts is idle, it can join the 'hive' and process part of the currently running job. For large research institutions such as Penn State University (my undergrad alma matter), which often have huge student labs that are mostly idle from midnight to 6 a.m., this is a tremendous computing resource that can now be harnessed on the Mac side.

The software also allows for anyone with a modicum of programming knowledge to create his own plug-in enabling the Xgrid software to process custom jobs. Scientist-programmers are quite common in the biological sciences field and would be very comfortable with a Unix application that they can easily customize such as Xgrid. In fact, see it for yourself at Apple's Advanced Computation GroupWeb site.

I never write about something without taking it for a real-world test drive, so I downloaded the Xgrid software last week -- though it took me a few tries. The download link didn't respond in the Safari Web browser, nor could I access it from the Finder, so I tried a few other tricks, which you may need to use in order to get the software.

In the Finder, do a connect to server (Apple-k keyboard shortcut) at ftp://ftp.apple.com/developer/. Then go into the directory called tool_chest. Inside, you'll see the Xgrid .dmg file. For some reason, I couldn't FTP directly and had to use this method to get the software. So if you have problems with the download, try what I did. It's worth it to get your hands on this software.

Getting the software was the hardest part of setting up Xgrid. Once I had the .dmg mounted on my desktop, I installed the client on my 15-in. TI laptop and also on my server, a Power Mac G4 (dual 533 MHz) running Panther server. Both were set up as clients, and for simplicity sake I didn't require authentication. It's important to note that you can secure the Xgrid service so that only authorized Xgrid controllers can use the CPUs in their cluster. This prevents "rogue clusters" from appearing in your computing environment.

Since both of my nodes were on the same subnet, I was able to use Apple's Rendezvous software to configure the cluster. If you intend to access machines on other subnets, you'll need to enter the IP address or DNS name of the cluster host the service should bind to on those nodes.

To test the software, I used the built-in jobs directing the cluster to process a Mandelbrot fractal -- first using only one node and then using both. The processing time for the job was, as expected, cut in half. You can see both nodes listed below in the X-Blast screenshot and the summary of available power in the "tachometer."

I can't stress enough how easy it was to set up this software and get Xgrid up and running. Total time invested was under an hour, including downloading the software and uninstalling it after my tests. For any scientific computing environment wishing to take advantage of unused computing cycles or wanting to achieve some form of supercomputing on a budget that doesn't allow for InfiniBand cards and multiple racks of Xserves, this is a great application.

Lastly, it occurred to me that this Xgrid could be used in 3-D graphics processing for applications that are compute-intensive such as MAYA and SHAKE. I can see this as a real boon to many postproduction shops that have unused cycles in their editing machines that could be used for rendering during off-hours. I asked the Xgrid folks at Apple about this, and while they stressed that Xgrid was developed for the scientific community and is currently geared toward it in terms of usability and interface, they were upbeat about the prospect of working with developers of these graphics applications to create an interface for Xgrid. I suggest the folks at Alias Software give them a call!

Now if they could only find a way to link five 40GB iPods together, I could carry my entire music collection everywhere I go!


TOPICS: Business/Economy; Culture/Society; Miscellaneous; News/Current Events; Technical
KEYWORDS: apple; clustercomputing; macintosh; macuser; supercomputers; xgrid
Make your own poor man's supercomputer... connect as many Macs together as you need!
1 posted on 01/14/2004 12:18:06 AM PST by Swordmaker
[ Post Reply | Private Reply | View Replies]

To: Bush2000; antiRepublicrat; LasVegasMac; Action-America; eno_; N3WBI3; zeugma; TechJunkYard; ...
Mac Ping

Make your own poor man's supercomputer cluster with Apple Xgrid!
2 posted on 01/14/2004 12:20:25 AM PST by Swordmaker (This tagline shut down for renovations and repairs. Re-open June of 2001.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Swordmaker
The announcements about the new G5 Xserve and the beefed up Xserve RAID were just what I had been hoping for in the data center (see story). And if those new iPod Minis were just $50 cheaper, I'd have bought two by now.

However, the most underplayed news, and yet the most interesting thing to emerge from the show in my view, was Apple's new Xgrid application. This software is aimed at scientific applications like gene sequencing, missile trajectory calculations, cryptography and other incredibly compute-intensive applications that previously could be crunched only by supercomputers.

I'm clueless. All I read was "WAA WA...WA WA WAAAAAH".

3 posted on 01/14/2004 12:38:47 AM PST by Fledermaus (Paul O'Neill is still a moron.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Swordmaker
Is the average 1000 base-T ethernet network fast enough for this?
Are the processors actually working together directly (i doubt it) or is the main system simply allocating threads to various client systems?
This isn't a blade set up. I'd have to see the specs, but it looks like a better integrated and customizable version of the "Seti screensaver".
4 posted on 01/14/2004 12:40:02 AM PST by rmlew (Peaceniks and isolationists are objectively pro-Terrorist)
[ Post Reply | Private Reply | To 2 | View Replies]

To: rmlew
Are the processors actually working together directly (i doubt it) or is the main system simply allocating threads to various client systems?

For Xgrid, the latter. It controls "large grain" concurrent processing.

It's also possible to do a form of fine grain concurrent processing using the G5 processor's vector unit.

5 posted on 01/14/2004 1:35:52 AM PST by HAL9000
[ Post Reply | Private Reply | To 4 | View Replies]

To: rmlew
This isn't a blade set up. I'd have to see the specs, but it looks like a better integrated and customizable version of the "Seti screensaver".

That's what the article said, and that's what it is. Think of a large Mac campus, with large G5 computer labs and G4 iMacs for all the admins, possibly hundreds of computers. Then with only minor setup work needed you run XGrid and harness teraflops of processing power throughout the campus for what you're doing at night. It's not going to be as efficient as the Virginia Tech G5 cluster with its Infiniband backplane and high speed switches, but it'll still get a lot of work done at no extra cost but the electricity.

If you have some good programmers it would be possible to write the client for any Linux or BSD boxes to be nodes in this system too. Actually, just wait a while and I'm sure the OSS community will produce one.

6 posted on 01/14/2004 6:22:11 AM PST by antiRepublicrat
[ Post Reply | Private Reply | To 4 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson