From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: Superpages for VT-D Date: Thu, 19 Jul 2012 11:23:26 +0100 Message-ID: <20120719102326.GC75169@ocelot.phlegethon.org> References: <7914B38A4445B34AA16EB9F1352942F1012F0CDD8A71@SJCPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <7914B38A4445B34AA16EB9F1352942F1012F0CDD8A71@SJCPMAILBOX01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Santosh Jodh Cc: "jun.nakajima@intel.com" , "xiantao.zhang@intel.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org 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.