Information AboutIommu |
| CATEGORIES ABOUT IOMMU | |
| computer storage | |
| computer memory | |
|
The IOMMU or ''' Input/output Memory Management Unit ''' is a computer memory management unit (MMU) that connects a DMA -capable I/O Bus to the Primary Storage memory. Like the CPU memory management unit, an IOMMU takes care of mapping Virtual Address es (also called device addresses or I/O addresses) to Physical Address es and some units guarantee Memory Protection from misbehaving devices. An example IOMMU is the Graphics Address Remapping Table (GART) used by AGP and PCI Express graphics cards. AMD has published a specification for IOMMU technology in the HyperTransport architecture1. Intel has published a specification for IOMMU technology as Virtualization Technology for Directed I/O, abbreviated VT-d.2 Information about the Sun IOMMU has been published in the Device Virtual Memory Access (DVMA) section of the Solaris Developer Connection.3 The IBM Translation Control Entry (TCE) has been described in a document entitled Logical Partition Security in the IBM EServer PSeries 690.4 The PCI-SIG has relevant work under the terms I/O Virtualization (IOV)5 and Address Translation Services (ATS). ADVANTAGES The advantages of having an IOMMU, compared to direct physical addressing of the memory, include:
All these advantages are also available when communicating with devices through I/O Port s, although with a significant CPU overhead when moving large volumes of data (see Direct Memory Access ). In general, the IOMMU provides isolation ( Memory Protection ) and address translation. Some architectures allow for interrupt remapping in a manner generally similar to address translation. The memory protection and direct-access attributes are based on the fact that the system software running on the CPU (see figure) controls both the MMU and the IOMMU. As a result, the devices and the guest operating systems are unable to circumvent or corrupt properly configured memory management tables. DISADVANTAGES The disadvantages of having an IOMMU, compared to direct physical addressing of the memory, include:6
IOMMU IN RELATION TO VIRTUALIZATION When an operating system is running in a virtual machine, including systems that use Paravirtualization , such as Xen , it does not usually know the physical addresses of memory that it accesses. This makes providing direct access to the computer hardware difficult, because if the OS tried to instruct the hardware to perform a Direct Memory Access , it would likely corrupt the memory, as the hardware does not know about the mapping between the virtual real addresses used by the virtualized guest system. The corruption is avoided because the hypervisor or OS intervenes in the I/O operation to apply the translations; unfortunately, this injects delays and overhead in the I/O operation. An IOMMU can solve this problem by re-mapping the addresses accessed by the hardware according to the same (or a compatible) translation table used by the virtual machine guest7. SEE ALSO REFERENCES |
|
|