From: Tim Deegan <tim@xen.org>
To: Santosh Jodh <Santosh.Jodh@citrix.com>
Cc: "jun.nakajima@intel.com" <jun.nakajima@intel.com>,
"xiantao.zhang@intel.com" <xiantao.zhang@intel.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Superpages for VT-D
Date: Thu, 19 Jul 2012 11:23:26 +0100 [thread overview]
Message-ID: <20120719102326.GC75169@ocelot.phlegethon.org> (raw)
In-Reply-To: <7914B38A4445B34AA16EB9F1352942F1012F0CDD8A71@SJCPMAILBOX01.citrite.net>
At 09:18 -0700 on 13 Jul (1342171126), Santosh Jodh wrote:
> 1. Are superpages (2MB, 1GB) enabled by default in Xen? If enabled, what size?
Yes, they are enabled; for guest memory, Xen uses whatever the tools ask
for, which (IIRC) is the largest available for HVM (falling back to
smaller pages if no large ones can be found) and 2MB for PV if the guest
supports PV superpages.
> 2. On Intel, if superpages are enabled, is that used for the IOMMU?
Yes. In fact the IOMMU code checks for IOMMU superpage support
separately; if the IOMMU and the MMU have the same superpage sizes, they
share a table; otherwise the p2m is duplicated in the IOMMU's format.
Cheers,
Tim.
next prev parent reply other threads:[~2012-07-19 10:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-13 16:18 Superpages for VT-D Santosh Jodh
2012-07-19 10:23 ` Tim Deegan [this message]
2012-07-19 14:01 ` Santosh Jodh
2012-07-19 14:53 ` Tim Deegan
2012-07-20 21:38 ` Nakajima, Jun
2012-07-23 17:56 ` Santosh Jodh
2012-07-24 19:41 ` Tim Deegan
2012-07-31 20:44 ` Santosh Jodh
2012-08-02 11:11 ` Tim Deegan
2012-08-02 15:56 ` Santosh Jodh
2012-08-03 11:40 ` Tim Deegan
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=20120719102326.GC75169@ocelot.phlegethon.org \
--to=tim@xen.org \
--cc=Santosh.Jodh@citrix.com \
--cc=jun.nakajima@intel.com \
--cc=xen-devel@lists.xen.org \
--cc=xiantao.zhang@intel.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;
as well as URLs for NNTP newsgroup(s).