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

Question:

How the queuing system of MOSIX works

Answer:

In a MOSIX grid, each cluster has its own queue and this queue is shared by all the users of that cluster. The number of jobs that can be placed in the queue is limited by the number of Linux processes (about 30000 for all users). To queue a larger number of jobs, there is an option to run multiple command-lines from a file, each with its own arguments. This option is commonly used to run the same program with many different sets of arguments. Another option allows to set an upper limit on the number of simultaneous jobs that are allowed to run. This option combines well with the queuing system which run jobs based on the availability of grid/cluster resources.

There is an argument to inform the queuing system that the job may split into a number of parallel processes, so that more resources are reserved for it. Another argument allows bundling for easy identification of several instances of a job by a single job-ID. Jobs can also be handled as a group and be killed collectively.