Redigera

Dela via


ResourceOptimizedPlacementOptions Class

Definition

Settings which regulate the placement of grains across a cluster when using ResourceOptimizedPlacement.

public sealed class ResourceOptimizedPlacementOptions
type ResourceOptimizedPlacementOptions = class
Public NotInheritable Class ResourceOptimizedPlacementOptions
Inheritance
ResourceOptimizedPlacementOptions

Remarks

All 'weight' properties, are relative to each other.

Constructors

ResourceOptimizedPlacementOptions()

Fields

DEFAULT_ACTIVATION_COUNT_WEIGHT

The default value of ActivationCountWeight.

DEFAULT_AVAILABLE_MEMORY_WEIGHT

The default value of AvailableMemoryWeight.

DEFAULT_CPU_USAGE_WEIGHT

The default value of CpuUsageWeight.

DEFAULT_LOCAL_SILO_PREFERENCE_MARGIN

The default value of LocalSiloPreferenceMargin.

DEFAULT_MAX_AVAILABLE_MEMORY_WEIGHT

The default value of MaxAvailableMemoryWeight.

DEFAULT_MEMORY_USAGE_WEIGHT

The default value of MemoryUsageWeight.

Properties

ActivationCountWeight

The importance of the current activation count to the silo.

AvailableMemoryWeight

The importance of the available memory to the silo.

CpuUsageWeight

The importance of the CPU usage by the silo.

LocalSiloPreferenceMargin

The specified margin for which: if two silos (one of them being the local to the current pending activation), have a utilization score that should be considered "the same" within this margin.

  • When this value is 0, then the policy will always favor the silo with the lower resource utilization, even if that silo is remote to the current pending activation.
  • When this value is 100, then the policy will always favor the local silo, regardless of its relative utilization score. This policy essentially becomes equivalent to PreferLocalPlacement.
MaxAvailableMemoryWeight

The importance of the maximum available memory to the silo.

MemoryUsageWeight

The importance of the memory usage by the silo.

Applies to