public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Sriram Murthy <sriramsm@yahoo.com>
To: kvm@vger.kernel.org
Subject: Re: 1G huge pages in Linux guest VM
Date: Thu, 10 May 2012 08:53:33 -0700 (PDT)	[thread overview]
Message-ID: <1336665213.26988.YahooMailClassic@web160503.mail.bf1.yahoo.com> (raw)
In-Reply-To: <4FAA3EF4.4060700@redhat.com>

If I have a mix of 2M and 1G pages on the host, how will I be able to pass the same to the guest?. Does KVM and Libvirtd allow multiple -mem-path options?. 
Also, where in the source can I find more info about hugepage support in KVM?
Thanks and regards,
Sriram

--- On Wed, 5/9/12, Avi Kivity <avi@redhat.com> wrote:

> From: Avi Kivity <avi@redhat.com>
> Subject: Re: 1G huge pages in Linux guest VM
> To: "Sriram Murthy" <sriramsm@yahoo.com>
> Cc: kvm@vger.kernel.org
> Date: Wednesday, May 9, 2012, 2:55 AM
> On 05/08/2012 09:38 PM, Sriram Murthy
> wrote:
> > Hi,
> >    I wanted to know if we can pass a
> hugetlbfs with pagesize=1G created on the host to a Linux
> guest (The host is running RHEL 6.2 - x86_64 on Intel
> Westmere)?. 
> 
> Yes, this is supported.
> 
> >    I am using RHEL 6.2 on the host and guest
> and the processor that has been passed by KVM to the guest
> is Intel Westmere and has the pdpe1gb flag set. Does this
> mean that the guest supports 1G huge pages?
> 
> Yes.  Note 1gb hugepages on the guest are supported
> even if not provided
> by the host (of course the performance improvement will be
> smaller).
> 
> -- 
> error compiling committee.c: too many arguments to function
> 
> 

  reply	other threads:[~2012-05-10 15:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 18:38 1G huge pages in Linux guest VM Sriram Murthy
2012-05-09  9:55 ` Avi Kivity
2012-05-10 15:53   ` Sriram Murthy [this message]
2012-05-15  2:53     ` Marcelo Tosatti

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=1336665213.26988.YahooMailClassic@web160503.mail.bf1.yahoo.com \
    --to=sriramsm@yahoo.com \
    --cc=kvm@vger.kernel.org \
    /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