Get the latest tech news
Direct I/O For DMA-BUF Can Yield A Big Performance Win
Smart device manufacturer HONOR has posted a patch series adding direct I/O support to DMA-BUF with the 'DMA_BUF_IOCTL_RW_FILE' flag
Smart device manufacturer HONOR has posted a patch series adding direct I/O support to DMA-BUF with the "DMA_BUF_IOCTL_RW_FILE" flag. In turn this direct I/O use can yield significant throughput improvements and lower latency to help with AI model loading, real-time data streaming, and other uses. The aim is to allow direct I/O support to avoid the heavy time spent within the page cache and memory copy code-paths and higher latency and power use observed in buffered I/O mode when dealing with UFS storage.
Or read this on Phoronix