DescriptionAnaga Vijaykumar
2018-04-04 18:57:25 UTC
Description of problem:
The RHV4.2 guest I created for testing SAP workloads is running the "High Performance" profile and requires a high performance hook for optimized performance. This hook contains flags that are required and need to be incorporated into the guest but when I look at the guest XML they don't seem to be present. Regardless of whether or not I select "highperf = 1" under Custom Properties while editing my guest, I don't see these flags reflected in the guest XML at all.
How reproducible: Always
Steps to Reproduce:
1. Create a "High Performance" guest with all the information required for running "High Performance" guest (i.e. CPU pinning, huge page size, etc.)
2. Run guest and check the guest XML on the host
Actual results:
I see this in the guest XML:
....
<cpu mode='host-passthrough' check='none'>
<topology sockets='4' cores='24' threads='2'/>
....
Expected results:
The flags from the hook are supposed to present themselves in the guest XML in the following manner:
....
<cpu mode='host-passthrough' check='none'>
<topology sockets='4' cores='24' threads='2'/>
<cache level='3' mode='emulate'/>
<feature policy='require' name='invtsc'/>
<feature policy='require' name='rdtscp'/>
....
"highperf = 1" is for unreleased hook you’ve been using which is not in the product. Stop using it first.
For modifying the flags you need to use cpuflags hook which you seem to be missing.
Need to check docs if instructions are clear