acrn-hypervisor/misc/config_tools
Kunhui-Li 8c47c324f5 config_tools: update the hugepage algorithm
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>
2022-06-13 20:56:27 +08:00
..
acpi_gen config_tools: track whether each vCPU is used for real-time or not 2022-04-21 10:08:53 +08:00
acpi_template/template config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00
board_config misc: refine CLOS module for expansibility 2022-05-11 17:00:51 +08:00
board_inspector board_inspector: refine board_inspector.py 2022-06-02 15:59:56 +08:00
configurator config_tools: fix a module resolving issue in elementpath overlay 2022-06-13 20:12:04 +08:00
data config tool: change vm_type to required field 2022-06-08 16:30:46 +08:00
hv_config misc: modify the logic of generate HV_RAM_START 2022-06-07 18:19:39 +08:00
launch_config misc: config_tool: fix passthrough device options in launch script 2022-05-30 15:54:54 +08:00
library config_tools: fix a module resolving issue in elementpath overlay 2022-06-13 20:12:04 +08:00
scenario_config config_tools: fix a module resolving issue in elementpath overlay 2022-06-13 20:12:04 +08:00
schema config_tools: fix a module resolving issue in elementpath overlay 2022-06-13 20:12:04 +08:00
service_vm_config misc: modify the non stand s5 vUART generate logic 2022-05-24 11:44:03 +08:00
static_allocators config_tools: update the hugepage algorithm 2022-06-13 20:56:27 +08:00
xforms config_tools: update the hugepage algorithm 2022-06-13 20:56:27 +08:00
build.cmd config_tools: fix Windows config_tools package build script 2022-05-22 20:10:24 +08:00
LICENSE config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
MANIFEST.in config_tools: change JSON Schema source file 2022-05-13 11:13:42 +08:00
pyproject.toml config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
README.md config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
setup.cfg config_tools: change JSON Schema source file 2022-05-13 11:13:42 +08:00

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.