From: john cooper <john.cooper@redhat.com>
To: Avi Kivity <avi@qumranet.com>
Cc: john cooper <john.cooper@third-harmonic.com>,
kvm@vger.kernel.org, Anthony Liguori <anthony@codemonkey.ws>,
Marcelo Tosatti <mtosatti@redhat.com>,
john.cooper@redhat.com
Subject: Re: Resend: patch: qemu + hugetlbfs..
Date: Wed, 27 Aug 2008 00:13:34 -0400 [thread overview]
Message-ID: <48B4D46E.4010503@redhat.com> (raw)
In-Reply-To: <48B3BAC6.90903@qumranet.com>
Avi Kivity wrote:
> john cooper wrote:
>> This patch from over a month ago doesn't seem to have
>> made it into kvm-73 and may have been lost in the
>> shuffle. Attached is essentially the same patch but
>> as applied to kvm-73, and validated relative to that
>> version.
>>
>
> What is the motivation for providing an option to disable this? If we
> can detect mem-path is backed by huge pages somehow, I think we can
> prefault the memory unconditionally.
>
Pre-allocation of the entire huge page backed guest
memory avoids the nondeterministic termination but
admittedly is overly pessimistic. As this patch does
so by default when -mem-path is specified, allowing
for disable of pre-allocation simply reverts this
change to prior behavior for use cases more tolerant
to it as well as for debug purposes.
The real fix arguably hinges on huge pages having
more general virtual memory behavior. But that
appears to be a much longer term prospect.
-john
--
john.cooper@redhat.com
next prev parent reply other threads:[~2008-08-27 4:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 22:02 patch: qemu + hugetlbfs john cooper
2008-07-08 23:09 ` Anthony Liguori
2008-07-09 0:23 ` john cooper
2008-07-09 1:08 ` Anthony Liguori
2008-07-09 17:03 ` Marcelo Tosatti
2008-07-09 17:11 ` Anthony Liguori
2008-07-10 16:40 ` john cooper
2008-07-10 17:58 ` Anthony Liguori
2008-07-10 20:16 ` john cooper
2008-07-10 20:47 ` Anthony Liguori
2008-07-10 21:12 ` john cooper
2008-07-10 21:38 ` Anthony Liguori
2008-08-25 23:05 ` Resend: " john cooper
2008-08-26 8:11 ` Avi Kivity
2008-08-27 4:13 ` john cooper [this message]
2009-01-16 2:19 ` john cooper
2009-01-20 10:29 ` Avi Kivity
2009-01-23 21:21 ` john cooper
2009-02-05 15:42 ` Avi Kivity
2009-02-05 16:12 ` Marcelo Tosatti
2009-02-05 16:15 ` Avi Kivity
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=48B4D46E.4010503@redhat.com \
--to=john.cooper@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=avi@qumranet.com \
--cc=john.cooper@third-harmonic.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.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