public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Lukáš Doktor" <ldoktor@redhat.com>
To: KVM list <kvm@vger.kernel.org>, Ryan Harper <ryanh@us.ibm.com>
Subject: [KVM-AUTOTEST PATCH] FIX add a comment to hugepage variant
Date: Tue, 04 Aug 2009 15:38:11 +0200	[thread overview]
Message-ID: <4A7839C3.9060900@redhat.com> (raw)

[-- 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)
 

             reply	other threads:[~2009-08-04 13:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 13:38 Lukáš Doktor [this message]
2009-08-04 15:15 ` [KVM-AUTOTEST PATCH] FIX add a comment to hugepage variant Lucas Meneghel Rodrigues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A7839C3.9060900@redhat.com \
    --to=ldoktor@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=ryanh@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox