Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 7412

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>openMosix in action: An example</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="The openMosix HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="So what is openMosix Anyway ? "
HREF="what.html"><LINK
REL="PREVIOUS"
TITLE="The story so far"
HREF="x172.html"><LINK
REL="NEXT"
TITLE="Components"
HREF="x210.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>The openMosix HOWTO: </TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x172.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 2. So what is openMosix Anyway ?</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x210.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN204"
></A
>2.3. openMosix in action: An example</H1
><P
>&#13; openMosix clusters can take various forms. To demonstrate this, let's
 assume you are a student and share a dorm room with a rich computer
 science guy, with whom you have linked computers to form an openMosix
 cluster.  Let's also assume you are currently converting music files
 from your CDs to Ogg Vorbis for your private use, which is legal in
 your country. Your roommate is working on a project in C++ that he
 says will bring World Peace. However, at just this moment he is in
 the bathroom doing unspeakable things, and his computer is idle.&#13;</P
><P
>&#13;  So when you start a program like bladeenc  to convert Bach's 
  .... from .wav to .ogg format, the openMosix routines on your
  machine compare the load on both nodes and decide that things will
  go faster if that process is sent from your Pentium-233 to his
  Athlon XP. This happens automatically: you just type or click your
  commands as you would if you were on a standalone machine. All you
  notice is that when you start two more coding runs, things go a lot
  faster, and the response time doesn't go down.&#13;</P
><P
>&#13;  Now while you're still typing ...., your roommate comes back,
  mumbling something about red chili peppers in cafeteria food. He
  resumes his tests, using a program called 'pmake', a version of
  'make' optimized for parallel execution. Whatever he's doing, it
  uses up so much CPU time that openMosix even starts to send
  subprocesses to your machine to balance the load.&#13;</P
><P
>&#13;  This setup is called *single-pool*: all computers are used as a
  single cluster. The advantage/disadvantage of this is that your
  computer is part of the pool: your stuff will run on other
  computers, but their stuff will run on yours too.&#13;</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x172.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x210.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>The story so far</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="what.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Components</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>