<< Previous question   Table of contents   MOSIX home   Next question >>

Question:

Which type of processes are available in MOSIX

Answer:

MOSIX2 recognizes two types of processes: Linux and MOSIX processes.

Linux processes are not affected by MOSIX2 - they run as they do on any Linux system, but cannot be migrated.

MOSIX processes are run in an environment that allows them to migrate from one node to another.

Linux processes usually include administrative and other tasks that are not suitable for migration, whereas MOSIX processes are selected user-applications that are suitable and can benefit from migration.

Apart from process-migration that is available only to MOSIX processes, MOSIX2 includes batch mechanisms that can queue and assign new jobs to begin on the best available node: these batch mechanisms are available for both Linux and MOSIX jobs.

Unlike MOSIX1, in MOSIX2 you need to invoke "mosrun" in order to use MOSIX - otherwise you run your programs on your standard Linux platform. If you want to make use of the MOSIX batch mechanisms for Linux (non-migratable) processes, use the "mosrun -E" option.

This can be summarized in the following table:

Process type Migratable (MOSIX) Non-Migratable (Linux)
Batch mosrun -M [-b] mosrun -E [-b]
Fully-interactive mosrun [-b] (do not use "mosrun")

where the "-b" selects the best location to run it.