public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pci-dma disables iommu on nforce4 motherboards?
@ 2005-12-24 15:20 Ed Sweetman
  2005-12-24 15:53 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Ed Sweetman @ 2005-12-24 15:20 UTC (permalink / raw)
  To: Linux Kernel Mailing List

I have an asus A8N-E motherboard and recieve the following message on 
boot. 

PCI-DMA: Disabling IOMMU.

I have no issues with anything not functioning.  I guess i'm just 
curious as to why this is done and if i'm missing out on any sort of 
performance gain by not using the iommu.   I have less than 4GB of ram, 
would that be why it's disabled (which is why i think it is)?  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: pci-dma disables iommu on nforce4 motherboards?
  2005-12-24 15:20 pci-dma disables iommu on nforce4 motherboards? Ed Sweetman
@ 2005-12-24 15:53 ` Jeff Garzik
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2005-12-24 15:53 UTC (permalink / raw)
  To: Ed Sweetman; +Cc: Linux Kernel Mailing List

Ed Sweetman wrote:
> I have an asus A8N-E motherboard and recieve the following message on boot.
> PCI-DMA: Disabling IOMMU.
> 
> I have no issues with anything not functioning.  I guess i'm just 
> curious as to why this is done and if i'm missing out on any sort of 
> performance gain by not using the iommu.   I have less than 4GB of ram, 
> would that be why it's disabled (which is why i think it is)?  -

What happens if you boot with iommu=force ?

	Jeff




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: pci-dma disables iommu on nforce4 motherboards?
       [not found] <5njvv-JD-11@gated-at.bofh.it>
@ 2005-12-24 23:37 ` Robert Hancock
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Hancock @ 2005-12-24 23:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: safemode

Ed Sweetman wrote:
> I have an asus A8N-E motherboard and recieve the following message on boot.
> PCI-DMA: Disabling IOMMU.
> 
> I have no issues with anything not functioning.  I guess i'm just 
> curious as to why this is done and if i'm missing out on any sort of 
> performance gain by not using the iommu.   I have less than 4GB of ram, 
> would that be why it's disabled (which is why i think it is)?  -

The IOMMU is not needed if your RAM all lies below 4GB (note that due to 
memory space used for PCI and PCI-E resources, even with only 4GB of 
memory, some may end up above 4GB). The purpose of the IOMMU is to allow 
32-bit devices which cannot access memory above 4GB to read from such 
memory. If the system does not have an IOMMU (i.e. the Intel CPUs with 
EM64T) then bounce buffers must be used when these devices want to 
perform DMA to memory above 4GB, which reduces performance.

On some platforms the IOMMU can be used to remap memory such that a 
discontigous memory region appears contiguous to the device, so that it 
can perform DMA transfers in larger chunks. I suspect the performance 
benefit of this is somewhat negated by the time to set up the IOMMU 
mapping, however.

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-24 23:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-24 15:20 pci-dma disables iommu on nforce4 motherboards? Ed Sweetman
2005-12-24 15:53 ` Jeff Garzik
     [not found] <5njvv-JD-11@gated-at.bofh.it>
2005-12-24 23:37 ` Robert Hancock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox