Re: Intel IOMMU (and IOMMU for Virtualization) performances

From: FUJITA Tomonori
Date: Thu Jun 05 2008 - 10:49:36 EST


On Wed, 04 Jun 2008 18:56:35 +0200
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> 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).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/