openEuler 20.09的关键特性中提到的虚拟化增强包括了以下内容:
- 通过双层调度和Hypervisor感知VM调度,优化VM锁抢占,提升多核超分场景性能
分析了openEuler 20.09内核代码,其中有5个commit和PV sched相关,PV指的是paravirt。
这5个commit实际是向guest提供了一组hypercall接口,通过这一组hypercall接口,guest可以感知vCPU是否被抢占并调度vCPU运行。
commit | 说明 |
---|---|
cec359f078ea7a29f1f073ef57e465156786ff19 |
KVM: arm64: Document PV-sched interface Introduce a paravirtualization interface for KVM/arm64 to PV-sched. A hypercall interface is provided for the guest to interrogate the |
0a2d04f6dd3fff3c772dab7d057db29aea065a3b |
KVM: arm64: Implement PV_SCHED_FEATURES call This provides a mechanism for querying which paravirtualized sched Add some SMCCC compatible hypercalls for PV sched features: Also add the header file which defines the ABI for the paravirtualized |
7558f682dc42b45 |