Problem
The codebase still uses deprecated housekeeping terminology in backward compatibility code, which causes confusion and maintenance burden.
Current State
detect-numa-topology.yml has a deprecated backward compatibility section (lines 90-108) that creates housekeeping, guidellm, and vllm fields
setup-platform.yml relies on these deprecated fields in multiple places:
- Lines 58, 107, 108:
housekeeping_cpus
- Lines 252-255:
housekeeping_cpus, guidellm_cpus, vllm_cpus
- Lines 264-266: Display output using old field names
Proposed Solution
- Update
setup-platform.yml to use the new numa_topology structure:
- Replace
host_numa_topology.housekeeping.cpus with appropriate allocation based on numa_topology.allocation_policy
- Replace
host_numa_topology.guidellm.cpus and host_numa_topology.vllm.cpus with dynamic allocation
- Remove the backward compatibility section from
detect-numa-topology.yml
- Update any other playbooks that might be using the old terminology
Files to Update
automation/test-execution/ansible/roles/common/tasks/detect-numa-topology.yml
automation/test-execution/ansible/setup-platform.yml
References
- The new allocation model is already implemented in concurrent testing playbooks
- The
numa_topology.allocation_policy provides the modern approach
Problem
The codebase still uses deprecated
housekeepingterminology in backward compatibility code, which causes confusion and maintenance burden.Current State
detect-numa-topology.ymlhas a deprecated backward compatibility section (lines 90-108) that createshousekeeping,guidellm, andvllmfieldssetup-platform.ymlrelies on these deprecated fields in multiple places:housekeeping_cpushousekeeping_cpus,guidellm_cpus,vllm_cpusProposed Solution
setup-platform.ymlto use the newnuma_topologystructure:host_numa_topology.housekeeping.cpuswith appropriate allocation based onnuma_topology.allocation_policyhost_numa_topology.guidellm.cpusandhost_numa_topology.vllm.cpuswith dynamic allocationdetect-numa-topology.ymlFiles to Update
automation/test-execution/ansible/roles/common/tasks/detect-numa-topology.ymlautomation/test-execution/ansible/setup-platform.ymlReferences
numa_topology.allocation_policyprovides the modern approach