News for hackers. Stuff that matters.
Re:But how, exactly, do databases use mmap? by alaties on Saturday January 23, 2021 @12:30PM (#25884252)
The answer is that it works pretty similarly, but GPUs usually do this in specialized hardware whereas mmap'ing of files for DMA-style access is implemented mostly in software.

https://insujang.github.io/2017-04-27/gpu-architecture-overv... has a pretty good visual of what's doing what for GPU DMA. You can imagine much of what happens here is almost pure software for mmap'd files.

There are no comments on this comment yet.