3 ms·
Linux pagecache doesn't use hugepages, but definitely when doing direct I/O into application buffers, would make sense to use hugepages for that. I plan to run
by tanelpoder 6y ago
Linux pagecache doesn't use hugepages, but definitely when doing direct I/O into application buffers, would make sense to use hugepages for that. I plan to run tests on various database engines next - and many of them support using hugepages (for shared memory areas at least).
- tyingq 6y agoThanks! Apparently, they did add it for tmpfs, and discussed it for ext4. https://lwn.net/Articles/718102/ https://lwn.net/Articles/718102/
- tanelpoder 6y agoGood point - something to test, once I get to the filesystem benchmarks!
- guerby 6y agoIn the networking world (DPDK) huge pages and static pinning everything is a huge deal as you have very few cpu cycles per network packet.
- tanelpoder 6y agoYep - and there's SPDK for direct NVMe storage access without going through the Linux block layer: https://spdk.io https://spdk.io (it's in my TODO list too)