BYTE.com
RSS feed

Newsletter
Free E-mail Newsletter from BYTE.com
Email Address
First Name
Last Name




 
    
             
BYTE.com > Features > 2004

Build Your Own Virtual Cluster

By Mulyadi Santosa

July 19, 2004

(Build Your Own Virtual Cluster :  Page 1 of 1 )



Want to build your own cluster? The first basic requirement is: You need more than one computer! But, if you only have one PC, you can use emulation software to simulate several virtual computers inside a single PC.

Emulation software simulates a complete system environment. It provides a "fake" CPU along with memory, storage, disk drives, ethernet connections and other devices. A system which is running inside the emulator is called a guest system, and the system that runs or manages the emulator and its guest systems is called the host system. In order to function, the emulator borrows resources from the host, such as CPU time for doing floating point calculations. The emulator can, in fact, drain a lot of resources.

It should be stressed that, to get acceptable speed for your virtual cluster, you have to use a fast PC. The word "fast" is relative. I built a virtual cluster on an Athlon 1800 with 256 MB RAM, a 40 GB 5400 RPM EIDE hard disk, and a GeForce2 MX 400 GPU, and I got acceptable speed for two virtual systems running simultaneously.

I used openMosix for the clustering system. OpenMosix provides Linux kernel extensions for Single System Image clustering. Many people use it because of its unique feature: automatic load balancing via process migration. Simply speaking, it allows you to spread runtime load by spreading the running task—not any kind of task, there are limitations—on all nodes based on a statistical formula carefully written and tested to make sure that overall cluster resources (CPU, memory, disk) are utilized as much as possible to yield minimal execution time of the tasks.

Normally, to experiment with openMosix, you need at least two PCs. Now, for this article, we'll combine an emulation program with openMosix to build a virtual cluster. So, the next requirement: We need a fast emulator. Popular emulators include VMWare, Bochs, Xen, Plex86, and User Mode Linux.

I used QEMU.

 Page 1 of 1 


BYTE.com > Features > 2004
Dr. Dobb's Media Center
BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE: Volume 2 - Heuristic Algorithms
The Best of BYTE: Volume 2 - Heuristic Algorithms
In this volume of Best of BYTE, we explore the emergence of some heuristic algorithms. Although we have only scratched the surface of this intriguing subject, we hope we've suggested the potential of the synthesis of heuristics and algorithms.

© 2008 Think Services, Privacy Policy, Terms of Service, United Business Media Limited
Site comments: webmaster@byte.com
Web Sites: BYTE.com, dotnetjunkies.com, Dr. Dobb's Journal, SD Expo, Sys Admin, sqljunkies.com, Unixreview



MarketPlace
IT Service Management that Delivers. Real Value. Real Flexibility. Real Results. Free Demo.
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.
One Stop to Buy All Your Business IT Solutions. Browse Through Dell's Best Deals Online Now!
Find Scalable and Secure Dell� Network Server Solutions at Dell� - Official Site.
Advance Your Business Technology Now with the Thin and Portable Business Solutions at Dell.com Now!
Wanna see your ad here?
 

web2