This is unreleased documentation for SUSE® Storage 1.9.0 (Dev). |
Configurable CPU Cores
Longhorn now supports configurable CPU cores for the V2 Data Engine, offering both global and node-specific configuration options.
Global Configuration
Update the v2-data-engine-cpu-mask setting using a hexadecimal encoded string.
Examples:
-
Use
0x01
to allocate 1 core. -
Use
0x03
to allocate 2 cores. -
Use
0x07
to allocate 3 cores.
Node-Specific Configuration
Update the spec.dataEngineSpec.v2.cpuMask
field of the instance manager with a hexadecimal encoded string. By default, this value is empty, and the V2 Data Engine uses the global setting v2-data-engine-cpu-mask
. When a node-specific setting is configured, the V2 Data Engine prioritizes this value over the global setting for that specific node.