I do not have a clear answer about use of super pages in VT-D for the IOMMU.
Here is from the release notes for 4.1:
http://blog.xen.org/index.php/2011/03/25/xen-4-1-releases/
Further, support for EPT/VTd 1GB/2MB super pages has been added to Xen, reducing the TLB overhead. EPT/VTd page table sharing simplifies the support for Intel’s IOMMU by allowing the CPU’s Enhanced Page Table to be directly utilized by the VTd IOMMU.
Based on this check in, I also see the output from Xen on my system showing HAP page sizes as 4kB, 2MB, and 1GB – but it does not say which one is in use.
http://lists.xen.org/archives/html/xen-changelog/2012-03/msg00140.html
1. Are superpages (2MB, 1GB) enabled by default in Xen? If enabled, what size?
2. On Intel, if superpages are enabled, is that used for the IOMMU?
3. If it is not enabled by default, how does one enable it?
Thanks,
Santosh