Re: Intel IOMMU (and IOMMU for Virtualization) performances

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <grundler@...>
Cc: <fujita.tomonori@...>, <linux-kernel@...>, <mgross@...>, <linux-scsi@...>
Date: Thursday, June 5, 2008 - 10:49 am

On Wed, 4 Jun 2008 11:06:15 -0700
"Grant Grundler" <grundler@google.com> wrote:


Good point, it would be more appropriate to evaluate the performances
of such workload rather than simple I/Os.

I'm interested in what workload Intel people played with and why they
chose RB tree.



Yeah, probabaly right. I thought that 10GbE give the IOMMU more
workloads than SSD does and tried to emulate something like that.



OK, I'll try next time.



Agreed.



Thanks! I think that the summary is excellent too :)



Yeah, I can add a nice trick in parisc sba_iommu uses. I'll try next
time.

But it probably gives the bitmap method less gain than the RB tree
since clear the bitmap takes less time than changing the tree.

The deferred_flush_tables also batches flushing TLB. The patch flushes
TLB only when it reaches the end of the bitmap (it's a trick that some
IOMMUs like SPARC does).



Agreed. VT-d can handle DMA virtual address space larger than 32 bits
but it means that we need more memory for the bitmap. I think that the
majority of systems don't need DMA virtual address space larger than
32 bits. Making it as a kernel parameter is a reasonable approach, I
think.



Calgary IOMMU code does the similar stuff, but I'm not sure. Anyway,
as you said, it's about what Mark might be interested in.



OK, I'll do next time. Most of them are about 4GB virtual address
space that the patch uses.



Thanks a lot! I didn't expect this patch to be reviewed. I really
appreciate it.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Intel IOMMU (and IOMMU for Virtualization) performances, FUJITA Tomonori, (Wed Jun 4, 10:47 am)
Re: Intel IOMMU (and IOMMU for Virtualization) performances, FUJITA Tomonori, (Fri Jun 6, 12:44 am)
Re: Intel IOMMU (and IOMMU for Virtualization) performances, FUJITA Tomonori, (Thu Jun 5, 10:49 am)
Re: Intel IOMMU (and IOMMU for Virtualization) performances, FUJITA Tomonori, (Fri Jun 6, 12:44 am)
Re: Intel IOMMU (and IOMMU for Virtualization) performances, FUJITA Tomonori, (Thu Jun 5, 10:49 am)