All of lore.kernel.org
 help / color / mirror / Atom feed
From: Federico Parola <federico.parola@polito.it>
To: kvm@vger.kernel.org
Subject: Pre-populate TDP table to avoid page faults at VM boot
Date: Wed, 26 Jul 2023 10:09:10 -0700	[thread overview]
Message-ID: <65262e67-7885-971a-896d-ad9c0a760907@polito.it> (raw)

Hi everyone,
is it possible to pre-populate the TDP table (EPT in my case) when 
configuring the VM environment, so that there won't be a page fault / VM 
exit every time the guest tries to access a RAM page for the first time?
At the moment I see a lot of page faults when the VM boots, is it 
possible to prevent them to reduce boot time?
(I'm using QEMU to run my VMs.)

Best regards,
Federico Parola

             reply	other threads:[~2023-07-26 17:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-26 17:09 Federico Parola [this message]
2023-07-26 17:31 ` Pre-populate TDP table to avoid page faults at VM boot Sean Christopherson
2023-07-26 18:03   ` Federico Parola
2024-02-01 18:11     ` Sean Christopherson

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=65262e67-7885-971a-896d-ad9c0a760907@polito.it \
    --to=federico.parola@polito.it \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.