Re: pci-dma disables iommu on nforce4 motherboards?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux