

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















2
3
setting up a 16 node farm by hand is prone to errors
ever tried to update a package on every node in the farm?
running a parallel program or set of sequential programs requires the users to figure out which hosts are available and manually assign tasks to the nodes, or use software tools based on static process allocation (queue managers)
5
farm of [diskless] x86 based nodes both UP and SMP that are connected by standard or high-speed LAN
Linux kernel (no library to link with sources)
virtual machine with a lot of memory and CPU
Process
improve the overall (cluster-wide) performance and create a convenient multi-user, time-sharing environment for the execution of both sequential and parallel applications
6
the interactive user and the application level programs are provided by a virtual machine that looks like a single MP machine
any user’s process, trasparently and at any time, can migrate to any available node.
The migrating process is divided into two contexts: system context (deputy) that may not be migrated from “home” workstation (UHN); user context (remote) that can be migrated on a diskless node;
8
initiates process migrations in order to balance the load of farm responds to variations in the load of the nodes, runtime characteristics of the processes, number of nodes and their speeds makes continuous attempts to reduce the load differences between pairs of nodes and dynamically migrating processes from nodes with higher load to nodes with a lower load the policy is symmetrical and decentralized; all of the nodes execute the same algorithm and the reduction of the load differences is performed indipendently by any pair of nodes
9
places the maximal number of processes in the farm main memory, even if it implies an uneven load distribution among the nodes delays as much as possible swapping out of pages makes the decision of which process to migrate and where to migrate it is based on the knoweldge of the amount of free memory in other nodes
is specifically developed to reduce the overhead of the internal kernel communications (e.g. between the process and its home site, when it is executing in a remote site) fast and reliable protocol with low startup latency and high throughput
11
Farm setup: PXE & ClusterNFS
low cost eliminates install/upgrade of hardware, software on diskless client side backups are centralized in one single main server zero administration at diskless client side
12
Server BOOTP server NFS server separate root directory for each client
Client BOOTP to obtain IP TFTP to load “tagged kernel” image rootNFS to load root filesystem
14
cNFS is a patch to the standard Universal-NFS server code that “parses” file request to determine an appropriate match on the server
when client machine foo2 asks for file /etc/hostname it gets the contents of /etc/hostname$$HOST=foo2$$
https://sourceforge.net/projects/clusternfs
15
ClusterNFS allows all machines (including server) to share the root filesystem
all files are shared by default files for all clients are named filename$$CLIENT$$ files for specific client are named filename$$IP=xxx.xxx.xxx.xxx$$ or filename$$HOST=host.domain.com$$
17
easy to set up just copy (or create) the files that need to be different
easy to maintain changes to shared files are global easy to add nodes
18
VIRGO experiment (Jun 2001) (1/4)
VIRGO is the collaboration between Italian and French research teams, for the realization of an interferometric gravitational wave detector;
The main goal of the VIRGO project is the first direct detection of gravitational waves emitted by astrophysical sources;
Interferometric gravitational wave detectors produce a large amount of “raw” data that require a significant computing power to be analysed.
To satisfy such a strong requirement of computing power we decided to build a Linux cluster running MOSIX (and now OpenMosix)
20
VIRGO experiment (Jun 2001) (3/4)
The Linux farm has been strongly tested by executing intensive data analysis procedures, based on the Matched Filter algorithm, one of the best ways to search for known waveforms within a signal affected by background noise.
Matched Filter analysis requires a high computational cost as the method consists in an exhaustive comparison between the source signal and a set of known waveforms, called “templates”, to find possible matches. Using a large number of templates the quality of known signals identification gets better and better but a great amount of floating points operations has to be performed.
Running Matched Filter test procedures on the OpenMosix cluster have shown a progressive reduction of execution times, due to a high scalability of the computing nodes and an efficient dynamic load distribution;
21
VIRGO experiment (Jun 2001) (4/4)
0,
5,
10,
15,
20,
25,
30,
1 4 8 12 16 20 24 Num ber of processors
speed-up
measured speed-up theoretical speed-up
The increase of computing speed respect to the number of processors doesn’t follow an exactly linear curve; this is mainly due to the growth of communication time, spent by the computing nodes to transmit data over the local area network.
speed-up of repeated Matched Filter executions