PriorityBias Enumeration
Namespace: Microsoft.Hpc.Scheduler.Properties
Assembly: Microsoft.Hpc.Scheduler.Properties (in microsoft.hpc.scheduler.properties.dll)
| Member name | Description |
|---|---|
| HighBias | Specifies that jobs in a given priority range are given ten times the share of the additional resources than the jobs in the next range below the given priority range. This enumeration member represents a value of 2. |
| MediumBias | Specifies that jobs in a given priority range are given twice the share of the additional resources than the jobs in the next range below the given priority range. The priority ranges are Highest, Above Normal, Normal, Below Normal, and Lowest. This value is the default. This enumeration member represents a value of 1. |
| NoBias | Specifies that the additional resources are allocated equally across the job queue. This enumeration member represents a value of 0. |
In the Balanced scheduling mode, additional resources are the cluster resources that exceed the total minimum resources for all running jobs. Tasks that run on additional resources can be canceled with immediate preemption to accommodate new jobs or to converge on the desired pattern for the allocation of resources.
In the Queued scheduling mode, the PriorityBias setting has no effect.
To use this enumeration in Visual Basic Scripting Edition (VBScript), you need to use the numeric values for the enumeration members or create constants that correspond to those members and set them equal to the numeric values. The following code example shows how to create and set constants for this enumeration in VBScript.
const NoBias = 0 const MediumBias = 1 const HighBias = 2
Platform Note: This enumeration is supported only for Windows HPC Server 2008 R2.