mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35: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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |