mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-06 06:41:57 +08:00
We verify and recalculate hugepages after rebooting the VM host by summing SPDK hugepages and VM hugepages. When a burstable VM is allocated on the host, `vm_host.used_hugepages_1g` is incremented by the hugepage usage of the slice (8g), not the burstable VM itself (4g). Therefore, if slicing is enabled on the host, we should sum `vm_host_slice.total_memory_gib` instead of VM memory. |
||
---|---|---|
.. | ||
github_runner.rb | ||
host_nexus.rb | ||
nexus.rb | ||
prep_host.rb | ||
vm_host_slice_nexus.rb | ||
vm_pool.rb |