Compute Worker Requirements for OpenStack¶
Adding StarlingX OpenStack to StarlingX turns compute workers into hypervisor hosts. This introduces a set of services (Nova compute agent, Neutron agent, libvirt, and optionally a DPDK-based virtual switch) that consume CPU, memory, and NIC resources on top of what the base platform already uses. Under-provisioning these resources reduces VM capacity or causes stability issues during operation.
StarlingX OpenStack adds the following requirements beyond your existing StarlingX reservations.
Additional CPU Overhead¶
Every compute worker runs OpenStack agents alongside your VMs. If these agents do not have dedicated cores, they compete with VMs for CPU time, causing scheduling delays and unreliable host reporting.
Platform and vSwitch cores: Reserve 8 logical CPUs per compute worker for platform services (Nova compute agent, Neutron agent, libvirt daemon) and the vSwitch. With OVS-DPDK, 2 of the 8 are vSwitch CPUs. These vSwitch CPUs are fully consumed by poll-mode drivers and cannot be shared.
Remaining cores: Available for VM vCPUs.
Additional Memory¶
Memory that is not available for VMs cannot be over-committed when using huge pages. Under-estimating platform memory means fewer VMs can be scheduled to the host than expected.
Platform overhead: ~11 GB for base platform (7 GB base + 1 GB per NUMA node + 3 GB for OpenStack services). Add 4 GB per Ceph OSD if Rook-Ceph storage is deployed on the compute worker.
vSwitch (DPDK): 1 GB huge page per NUMA node.
VM memory: The bulk of physical RAM goes to VM instances.
Additional NICs¶
VM traffic runs on separate data-plane NICs, not the platform management interfaces. If these NICs are too slow or lack hardware offload capabilities, VM network performance is the bottleneck regardless of how much CPU or memory you have.
Minimum 1 × 10 GE or 25 GE data NIC (2 recommended for bonding).
Must be DPDK-compatible if using OVS-DPDK.
Must be SR-IOV-capable if using SR-IOV interfaces.
BIOS Requirements¶
These settings must be configured before deployment. If they are missing, features such as SR-IOV and PCI passthrough can fail without generating any error or warning, and you will need to reboot the host into BIOS to fix them.
Directed I/O: Enable VT-d. Required for SR-IOV and PCI passthrough. Enable on all compute workers regardless of immediate SR-IOV plans.
Virtualization: Intel Virtualization Technology (VT-x) is already enabled (required for KVM on StarlingX).
Power Profile: Maximum Performance (prevents latency jitter from frequency scaling).
Requirements Table¶
Requirement |
Minimum |
Recommended |
Notes |
|---|---|---|---|
Total CPU cores |
16 |
32+ |
8 reserved for platform + vSwitch; rest for VMs |
RAM |
32 GB |
128–256 GB |
Evenly distributed across NUMA nodes. Platform and vSwitch memory is reserved before VM memory; see Additional Memory. More RAM means more VMs per worker. |
Data NICs |
1 × 10 GE |
2 × 25 GE (bonded) |
DPDK/SR-IOV compatible as needed |
nova-local disk |
100 GB SSD |
500 GB+ NVMe |
Size depends on boot strategy |
SR-IOV VFs (if used) |
16 per PF |
32–64 per PF |
One VF per VM interface |
VT-d in BIOS |
Enabled |
Enabled |
Required for SR-IOV and passthrough |