public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [KVM-AUTOTEST PATCH] FIX add a comment to hugepage variant
@ 2009-08-04 13:38 Lukáš Doktor
  2009-08-04 15:15 ` Lucas Meneghel Rodrigues
  0 siblings, 1 reply; 2+ messages in thread
From: Lukáš Doktor @ 2009-08-04 13:38 UTC (permalink / raw)
  To: KVM list, Ryan Harper

[-- Attachment #1: Type: text/plain, Size: 64 bytes --]

This adds an explanation of the "64" constant in vmsm equation.

[-- Attachment #2: kvm_hugepage2.patch --]
[-- Type: text/plain, Size: 504 bytes --]

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)
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [KVM-AUTOTEST PATCH] FIX add a comment to hugepage variant
  2009-08-04 13:38 [KVM-AUTOTEST PATCH] FIX add a comment to hugepage variant Lukáš Doktor
@ 2009-08-04 15:15 ` Lucas Meneghel Rodrigues
  0 siblings, 0 replies; 2+ messages in thread
From: Lucas Meneghel Rodrigues @ 2009-08-04 15:15 UTC (permalink / raw)
  To: Lukáš Doktor; +Cc: KVM list, Ryan Harper

2009/8/4 Lukáš Doktor <ldoktor@redhat.com>:
> This adds an explanation of the "64" constant in vmsm equation.

Thanks, Applied!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-04 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 13:38 [KVM-AUTOTEST PATCH] FIX add a comment to hugepage variant Lukáš Doktor
2009-08-04 15:15 ` Lucas Meneghel Rodrigues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox