mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-23 05:57:33 +00:00
config-tools: add CPU performance policy option
Add 'CPU performance policy type' option to configurator. User can choose from 'Performance' or 'Nominal' as the CPU performance policy for ACRN to apply. Tracked-On: #8168 Signed-off-by: Wu Zhou <wu.zhou@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
914e7a1d25
commit
a971e12fc6
@ -129,6 +129,14 @@ If your VM is not a security VM, leave this option unchecked. </xs:documentation
|
||||
<xs:documentation>Configure Software SRAM. This feature reserves memory buffers as always-cached memory to improve an application's real-time performance.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="CPU_PERFORMANCE_POLICY" type="policyType" default="Performance">
|
||||
<xs:annotation acrn:title="CPU performance policy type" acrn:views="advanced">
|
||||
<xs:documentation>Select the default performance policy type for all CPUs. The hypervisor will set up CPU frequency based on the policy type.
|
||||
|
||||
- ``Performance``: CPU runs at its maximum frequency. Enable hardware autonomous frequency selection if the system supports Hardware-Controlled Performance States (HWP).
|
||||
- ``Nominal``: CPU runs at its guaranteed frequency.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
|
||||
|
@ -147,6 +147,24 @@ higher value (lower severity) are discarded.</xs:documentation>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="policyType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A string specifying the CPU frequency policy type:
|
||||
|
||||
- ``Performance``: CPU runs at its maximum frequency. Enable hardware autonomous frequency selection if the system supports Hardware-Controlled Performance States (HWP).
|
||||
- ``Nominal``: CPU runs at its guaranteed frequency.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Performance">
|
||||
<xs:annotation acrn:title="Performance" />
|
||||
</xs:enumeration>
|
||||
<xs:enumeration value="Nominal">
|
||||
<xs:annotation acrn:title="Nominal" />
|
||||
</xs:enumeration>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="PriorityType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Two priorities are supported for priority based scheduler:
|
||||
|
Loading…
Reference in New Issue
Block a user