发明名称 Determining a mapping mode for a DMA data transfer
摘要 According to embodiments of the invention, methods, computer readable storage medium, and a computer system for determining a mapping mode for a DMA data transfer are disclosed. The method may include receiving a request for a DMA data transfer within a computer system. The method may also include determining a mapping mode for the DMA data transfer based on available system profile data in response to receiving the request. The method may also include mapping the memory using the determined mapping mode.
申请公布号 US8966133(B2) 申请公布日期 2015.02.24
申请号 US201414153450 申请日期 2014.01.13
申请人 International Business Machines Corporation 发明人 Hart Brian W.;Jiang Liang;Kalavakolanu Anil
分类号 G06F13/28 主分类号 G06F13/28
代理机构 代理人 Wilhelm Richard A.;Nock James R.
主权项 1. A computer system, comprising: a processor; a memory communicatively coupled with the processor; and a direct memory access (DMA) controller to: receive a request for a DMA data transfer within the computer system; determine, in response to the receiving of the request for the DMA data transfer, a mapping mode based on available system profile data, wherein the DMA controller is configured to: perform two or more mapping performance tests, wherein: a first mapping performance test includes performing one or more transfers using a data copy mapping mode and collecting one or more associated performance statistics, anda second mapping performance test includes performing one or more transfers using a map/unmap mapping mode and collecting one or more associated performance statistics,determine the mapping mode based on a comparison of a result of the mapping performance tests, andrecord the mapping mode with the system profile data; and map one memory using the determined mapping mode.
地址 Armonk NY US