mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-02 21:46:58 +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> |
||
---|---|---|
.. | ||
acpi_gen | ||
acpi_template/template | ||
board_config | ||
board_inspector | ||
configurator | ||
data | ||
hv_config | ||
launch_config | ||
library | ||
scenario_config | ||
schema | ||
service_vm_config | ||
static_allocators | ||
xforms | ||
build.cmd | ||
LICENSE | ||
MANIFEST.in | ||
pyproject.toml | ||
README.md | ||
setup.cfg |
Supporting libraries of ACRN configuration toolset
This package contains the libraries supporting ACRN configuration toolset, including:
- The manipulators and validators of scenario schemas or XMLs
- The generator of guest ACPI tables
The main objective of this package is to ease the import of the supporting libraries in the ACRN configurator which uses a Python interpreter built in WebAssembly (WASM). This package is thus NOT intended to be used by users; invoke the Python scripts directly if needed.