Messages in this thread | | | Date | Thu, 5 Jun 2008 23:49:11 +0900 | Subject | Re: Intel IOMMU (and IOMMU for Virtualization) performances | From | FUJITA Tomonori <> |
| |
On Wed, 04 Jun 2008 18:56:35 +0200 Andi Kleen <andi@firstfloor.org> wrote:
> FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> writes: > > > > I'm just interested in other people's opinions on IOMMU > > implementations, performances, possible future changes for performance > > improvement, etc. > > I think using the bitmap is an excellent idea and your numbers look good. > Do you have numbers on the memory consumption too? > Trading some memory for performance is ok for something as performance critical > as the IOMMU.
If we use 4GB virtual DMA address space (as the patch does), we need 128 KB for the bitmap for one domain.
With the RB tree, the memory consumption depends on how many addresses are mapped (it needs one entry for one address though we could merge multiple addresses).
| |