Message ID | 4A7839C3.9060900@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
2009/8/4 Lukáš Doktor <ldoktor@redhat.com>:
> This adds an explanation of the "64" constant in vmsm equation.
Thanks, Applied!
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/client/tests/kvm/scripts/hugepage.py b/client/tests/kvm/scripts/hugepage.py index dc36da4..3828533 100644 --- a/client/tests/kvm/scripts/hugepage.py +++ b/client/tests/kvm/scripts/hugepage.py @@ -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)