|
|||||||||||||||||||||||||||||||||||||||||||||
10.4 Resource Usage Limits
Resource usage limits constrain the amount of resources a given job may consume. These limits are generally proportional to the resources requested and may include walltime, any standard resource, or any specified generic resource. The parameter RESOURCELIMITPOLICY controls which resources are limited, what limit policy is enforced per resource, and what actions the scheduler should take in the event of a policy violation. 10.4.1 Configuring ActionsThe RESOURCELIMITPOLICY parameter accepts a number of policies, resources, and actions using the format and values defined in what follows: Format RESOURCELIMITPOLICY <RESOURCE>:[<SPOLICY>,]<HPOLICY>:[<SACTION>,]<HACTION>[:[<SVIOLATIONTIME>,]<HVIOLATIONTIME>]...
Example - Notify and then Cancel Job if Requested Memory is Exceeded Example - Checkpoint Job on Walltime Violations Example - Migrating a job when it blocks other workload 10.4.2 Specifying Hard and Soft Policy ViolationsMoab is able to perform different actions for both hard and soft policy violations. In most resource management systems, a mechanism does not exist to allow the user to specify both hard and soft limits. To address this, Moab provides the RESOURCELIMITMULTIPLIER parameter that allows per partition and per resource multiplier factors to be specified to generate the actual hard and soft limits to be used. If the factor is less than one, the soft limit is lower than the specified value and a Moab action is taken before the specified limit is reached. If the factor is greater than one, the hard limit is set higher than the specified limit allowing a buffer space before the hard limit action is taken. In the following example, job owners are notified by email when their memory reaches 100% of the target, and the job is canceled if it reaches 125% of the target. For wallclock usage, the job is requeued when it reaches 90% of the specified limit and is checkpointed when it reaches the full limit. 10.4.3 Constraining Walltime UsageWhile Moab constrains walltime using the parameter RESOURCELIMITPOLICY like other resources, it also allows walltime exception policies that are not available with other resources. In particular, Moab allows jobs to exceed the requested wallclock limit by an amount specified on a global basis using the JOBMAXOVERRUN parameter or on a per credential basis using the OVERRUN attribute of the *CFG credential parameters. See Also
|
|||||||||||||||||||||||||||||||||||||||||||||
| © 2001-2008 Cluster Resources, Incorporated | |||||||||||||||||||||||||||||||||||||||||||||