ESXi: 8.0.2 23424722 (Hot Patch build with C6 State support) or later
Follow the steps below to enable C6 state in a Nodepool virtual machine.
In TCA 3.1.0, create a nodepool VM from the given BYOI template (photon-5-kube-v1.28.4-vmware.1).
Instantiate the CNF (Here testnf is used as an example):
Modify the CSAR to enable C6 State from the TCA UI go to Catalog > Network Function
Select a Network Function, click on the 3 dots and select Edit.
In the Infrastructure Requirements section expand Kernel Arguments and make the following changes: Remove idle=halt Change intel_idle.max_cstate to 6 Add cpuidle.off=0
Create a text file (e.g. testnf-c6-tuned.conf) with the following contents:
#Enable C6 State
[cpu]
force_latency=-
Go to the Resources section and upload the text file to Artifacts/scripts/ and save as /usr/lib/tuned/c6/tuned.conf
Once uploaded, set the Tuned Profiles under Infrastructure Requirements to realtime,c6.
Also make sure NUMA Alignment is set to Yes
Save the testnf CSAR by selecting either Update Package or Save as New.
Instantiate the Network Function with the newly updated NF CSAR.
After the Network Function has been instantiated, the virtual machine’s Advanced Parameters should show the cpuid.5.0.edx attribute.