Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions protect/control/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ message ZoneNetworkOptionsDnsSpec {

message ZoneVirtualizationOptionsSpec {
ZoneVirtualizationBackend backend = 1;
// Requested vNUMA node count.
// 0 (default) = auto: placement is driven by vCPU vs. per-node pCPU coverage,
// matching legacy behavior. >0 = exact: the daemon will hard-fail if the
// request cannot be satisfied with exactly this many vNUMA nodes.
uint32 numa_nodes = 2;
// Strategy used when expanding the selected node set beyond the seed node.
// UNSPECIFIED is treated as COMPACT.
NumaStrategy numa_strategy = 3;
}

enum ZoneVirtualizationBackend {
Expand All @@ -93,6 +101,19 @@ enum ZoneVirtualizationBackend {
ZONE_VIRTUALIZATION_BACKEND_AUTOMATIC = 3;
}

enum NumaStrategy {
// Treated as COMPACT for placement purposes.
NUMA_STRATEGY_UNSPECIFIED = 0;
// Expand to the nearest unselected NUMA node by SLIT distance from the
// already-selected set, tie-breaking by most free memory.
NUMA_STRATEGY_COMPACT = 1;
// Expand to the most distant unselected NUMA node by SLIT distance from the
// already-selected set, tie-breaking by most free memory. Note: SLIT distance
// does not guarantee separation across sockets, IMCs, or LLCs; the benefit
// depends on the host's physical topology.
NUMA_STRATEGY_SCATTER = 2;
}

message OciImageSpec {
string digest = 1;
OciImageFormat format = 2;
Expand Down
Loading