Abstract
Traditional DMA requires the operating system to perform many tasks to initiate a transfer, with overhead on the order of hundreds or thousands of CPU instructions. This paper describes a mechanism, called User-level Direct Memory Access (UDMA), for initiating DMA transfers of input/output data, with full protection, at a cost of only two user-level memory references. The UDMA mechanism uses existing virtual memory translation hardware to perform permission checking and address translation without kernel involvement. The implementation of the UDMA mechanism is simple, requiring a small extension to the traditional DMA controller and minimal operating system kernel support. The mechanism can be used with a wide variety of I/O devices including network interfaces, data storage devices such as disks and tape drives, and memory-mapped devices such as graphics frame-buffers. As an illustration, we describe how we used UDMA in building network interface hardware for the SHRIMP multicomputer.
Original language | English (US) |
---|---|
Pages | 154-165 |
Number of pages | 12 |
State | Published - 1996 |
Event | Proceedings of the 1996 2nd International Symposium on High-Performance Computer Architecture, HPCA - San Jose, CA, USA Duration: Feb 3 1996 → Feb 7 1996 |
Other
Other | Proceedings of the 1996 2nd International Symposium on High-Performance Computer Architecture, HPCA |
---|---|
City | San Jose, CA, USA |
Period | 2/3/96 → 2/7/96 |
All Science Journal Classification (ASJC) codes
- Hardware and Architecture