Skip to content

Resource Requirements Config Groups

When building an execution profile, Resource Requirements Config Groups can be used to define the amount of compute resources to budget for each Altair SLC Hub workload. Config groups can be thought of as chunks of configuration that make up an execution profile.

Workload Execution

For every Altair SLC Hub workload run on a worker node, an execution profile is used to apply constraints to that workload. Altair SLC Hub specifies default compute resource values for a workload that does not contain any resource requirements config groups. Where these default values are not appropriate for the workload, different values can be specified on a per-execution profile basis using config groups.

The resources specified for a config group are used to prevent overloading Altair SLC Hub worker nodes with too many workloads competing for finite compute resources. Altair SLC Hub restricts the number of concurrent workloads by allocating a workload based on the budgeted resource to a worker up to the point the available Worker resources are insufficient for any unallocated workload.

Create a Resource Requirements Config Group

The maximum resource for a worker node is calculated as either the number of cores multiplied by the clock speed, or the amount of memory available to the node. For example, a worker node has 4 cores at 800 MHz (3,200 MHz total CPU) and 4.7 GB (4,800 MB) of memory. If the default resource requirements are applied to all workloads (200 MHz CPU and 300 MB memory), the worker node will be able to run 16 workloads at any one time.

Image

The diagram above represents the 16 workloads that can be run concurrently. Slots 1-6 are currently occupied meaning there is enough space for another 10 workloads.

To specify a resource requirements config group, on the execution profile editing page click Add in the Config Groups section and select Resource requirements from the drop down. Enter a Name for the config group and specify the CPU and Memory recommended resources. Click Save and the end of the Properties section to create the config group. Multiple resource requirements config groups can be defined for a single execution profile.