Download Day Day Up
Transcript
int foo(int,int);
int main( void )
{
int i,j;
for (i=1; i<100000; i++)
for (j=1; j<100000; j++)
foo(i,j);
return 0;
}
int foo(int x, int y)
{
return(x+y);
}
This program does nothing useful, but it will take several minutes to complete on most machines.
(You can adjust the loop count if it doesn't run long enough to suit you.) By compiling this (without
optimizations) and then starting several copies running in the background, you'll have a number of
processes you can watch.
While timing will confirm that you are actually getting a speedup, you'll get a better idea of what is
going on if you run mosmon. With mosmon, you can watch process migration and load balancing as it
happens.
If you are running a firewall on your machines, the most likely problem you will have is getting
connection privileges correct. You may want to start by disconnecting your cluster from the Internet
and disabling the firewall. This will allow you to confirm that openMosix is correctly installed and that
the firewall is the problem. You can use the command netstat -a to identify which connections you
are using. This should give you some guidance in reconfiguring your firewall.
Finally, an openMosix stress test is available for the truly adventurous. It can be downloaded from
Related documents
Here - Kluster ISC`12
M68060 User`s Manual
TAU User Guide - Computer and Information Science
HowTo Build a Diskless Debian Cluster
Final Report - Purdue University
Dyne:bolic GNU/Linux User`s Guide
Parallel Performance Wizard User Manual
Intel Xeon Phi (MIC) User`s Manual - GPU Clusterware
Stage Eindwerk - DSpace at Howest
Auditing the Astaro Secure Linux Firewall: An Evaluation
hydra cluster IASI-CNR
Evaluation of Cluster Middleware in a Heterogeneous