Re:Memory is slow, Disk is fast – Part 2
by bawolff on Friday September 05, 2025 @04:01PM
(#45142964)
The mmap man page kind of implies that would be a no-op, but i haven't tested myself.
Re:Memory is slow, Disk is fast – Part 2
by jared_hulbert on Friday September 05, 2025 @02:05PM
(#45141621)
Adding MAP_HUGE_1GB and not MAP_HUGETLB does compile and run for me. Not convinced that its' actually doing anything. Performance is the same.
See a quick example I whipped up here: https://github.com/inetknght/mmap-hugetlb