mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-02 05:34:04 +00:00
update the hugepages algorithm as the following steps. 1. calculate the total hugepages of service vm using the formula. "total memory*0.98 - the memory consumed by pre-launched VMs - 5G -300M*num(number of virtio gpu instance)". 2. calculate hugepage 1G based post-launched vm memory setting. 3. check if the memory configured in post launch VMs is not larger than the total hugepages. Compared with the previous version, this patch removes the 2M hugepage and the correction value, also update the formula of total hugepage. Tracked-On: #7301 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> |
||
---|---|---|
.. | ||
lib | ||
bdf.py | ||
board_capability.py | ||
clos.py | ||
cpu_affinity.py | ||
gpa.py | ||
guest_flags.py | ||
hv_ram.py | ||
intx.py | ||
main.py | ||
memory_allocator.py | ||
pio.py | ||
s5_vuart.py |