Re:Memory is slow, Disk is fast – Part 2
by nine_k on Friday September 05, 2025 @04:29AM
(#45136289)
No. "io_uring faster than mmap" is sort of a truism: sequential page faults are slower than carefully orchestrated async I/O. The point of the article is that reading directly from a PCIe device, such as an NVMe flash, can actually be faster than caching things in RAM first.
[ Parent
| on HN ]
reading directly from a PCIe device, such as an NVMe flash, can actually be faster than caching things in RAM first.
That's not true though, because the PCIe device DMAs into RAM anyway.
Re:Memory is slow, Disk is fast – Part 2
by nine_k on Friday September 05, 2025 @09:02PM
(#45145587)
No, it can DMA straight into L3 cache, as mentioned in the article.
See https://www.intel.com/content/www/us/en/io/data-direct-i-o-t...
Your server doesn't have DDIO turned on though.