acrn-hypervisor/misc/config_tools/xforms
Kunhui-Li ecfecd40a0 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-29 13:53:42 +08:00
..
board_info.h.xsl board_inspector: avoid hard-coded topo level names 2022-01-29 11:54:03 +08:00
config_common.xsl misc: modify the logic of generate HV_RAM_START 2022-06-29 13:53:42 +08:00
config.h.xsl Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
config.mk.xsl Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
ivshmem_cfg.h.xsl Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
lib.xsl misc: refine cache config 2022-04-24 16:52:24 +08:00
misc_cfg.h.xsl config_tools: update the hugepage algorithm 2022-06-29 13:53:42 +08:00
pci_dev.c.xsl config_tools: merge data in launch XMLs into scenario XMLs 2022-03-15 10:22:37 +08:00
pt_intx.c.xsl Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
vm_configurations.c.xsl misc: refine clos and vCAT element 2022-05-26 22:02:09 +08:00
vm_configurations.h.xsl misc: config_tool: Add udmabuf.list_limit=8192 to ServiceVM bootargs 2022-05-26 15:26:06 +08:00