Configurable CPU Cores
Longhorn now supports configurable CPU cores for the v2 data engine, offering both global and per-node configuration options.
To set CPU cores globally, update the v2-data-engine-cpu-mask setting using a hexadecimal encoded string. For example:
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 v2-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.
© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.