Hi all, I'd like to add native NUMA support for KVM instances and would welcome views on the design before I start on the code.
In short: a compute offering can mark instances as NUMA-aware. Such an instance gets guest NUMA nodes that match the host, its vCPUs are pinned to each node's cores, and its memory is bound to the same node. CloudStack only places it on hosts where every node fits. It's off by default, admin-controlled, and needs no schema change for the first phase. This has come up on users@ more than once, and in GitHub discussions #9801 and #11187. The usual answer has been a hook. We've run it that way on a 4.22 lab, and it works, but CloudStack doesn't know about it, so placement, migration and scaling can undo it. The full proposal is here: https://github.com/apache/cloudstack/issues/14868 The open questions I'd most like input on: - Live scaling for NUMA-aware instances: refuse it at first, or support it within fixed nodes? - Whether a `preferred` mode is useful, or only `strict`. - The setting names. - Branch. CONTRIBUTING says features go to main, but 4.22.2 took a couple (#13877, #14254). I'd like the first phase to be small enough to consider for 4.22.3. Would the release managers be open to that, or should it target main? Thanks, David Taylor (GitHub: Alpha162)
