PriorityBias Enumeration

Defines how additional resources are allocated to jobs when the scheduling mode is set to Balanced.


Namespace: Microsoft.Hpc.Scheduler.Properties
Assembly: Microsoft.Hpc.Scheduler.Properties (in microsoft.hpc.scheduler.properties.dll)

public enum PriorityBias
public enum PriorityBias
public enum PriorityBias

Member nameDescription
HighBiasSpecifies 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.
MediumBiasSpecifies 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.
NoBiasSpecifies 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.


Development Platforms

Microsoft Windows HPC Server 2008, Windows HPC Server 2008 R2, Windows Server 2008 R2, Windows Server 2008, Windows 7, Windows Vista, Windows XP

Target Platforms

Windows Server 2003 R2 with HPC Pack 2008 R2 Client Utilities, Microsoft Windows HPC Server 2008, Windows Server 2008 with HPC Pack 2008 Client Utilities, Windows Vista with HPC Pack 2008 Client Utilities, Windows XP with HPC Pack 2008 Client Utilities, Windows HPC Server 2008 R2, Windows Server 2008 R2 with HPC Pack 2008 R2 Client Utilities, Windows Vista with SP2 and HPC Pack 2008 R2 Client Utilities, Windows XP with SP2 (32-bit version) or SP3 (64-bit version) and HPC Pack 2008 R2 Client Utilities

Community Additions

ADD
Show: