mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-05 14:23:03 +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_spec.rb | ||
host_nexus_spec.rb | ||
nexus_spec.rb | ||
prep_host_spec.rb | ||
vm_host_slice_nexus_spec.rb | ||
vm_pool_spec.rb |