FIX add a comment to hugepage variant
PATCH 1/1 FIX add a comment to hugepage variant
This adds an explanation of the "64" constant in vmsm equation.
client/tests/kvm/scripts/hugepage.py +1 -0
@@ -57,6 +57,7 @@ class HugePage: """ if self.vms < self.max_vms: self.vms = self.max_vms + # memory of all VMs plus qemu overhead of 64MB per guest vmsm = (self.vms * self.mem) + (self.vms * 64) return int(vmsm * 1024 / self.hugepage_size)
Lucas Meneghel Rodrigues
Applied2009/8/4 Lukáš Doktor <[email protected]>:
Quoted 1 line
This adds an explanation of the "64" constant in vmsm equation.
Thanks, Applied!