mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
7633d47293
On guests with large amounts of memory, using the `prefault` option can lead to a very long boot time. This commit implements the strategy taken by QEMU to prefault memory in parallel using multiple threads, decreasing the time to allocate memory for large guests by an order of magnitude or more. For example, this commit reduces the time to allocate memory for a guest configured with 704 GiB of memory on 1 NUMA node using 1 GiB hugepages from 81.44134669s to just 6.865287881s. Signed-off-by: Sean Banko <sbanko@crusoeenergy.com> |
||
---|---|---|
.. | ||
api | ||
igvm | ||
acpi.rs | ||
clone3.rs | ||
config.rs | ||
coredump.rs | ||
cpu.rs | ||
device_manager.rs | ||
device_tree.rs | ||
gdb.rs | ||
interrupt.rs | ||
lib.rs | ||
memory_manager.rs | ||
migration.rs | ||
pci_segment.rs | ||
seccomp_filters.rs | ||
serial_manager.rs | ||
sigwinch_listener.rs | ||
vm_config.rs | ||
vm.rs |