Documentation survey

This is unreleased documentation for SUSE® Storage 1.10 (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 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

For node-specific CPU core allocation, 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 will use the global setting specified by data-engine-cpu-mask. When a per-node configuration is set, the v2 data engine will prioritize this value over the global setting for that specific node.