Re:Computers are fast
by nkurz on Tuesday May 13, 2014 @03:13PM
(#7740029)
This is well worth trying, but not directly applicable to reading from a file. This would help if you were allocating a buffer with malloc() and you wanted it to be backed by hugepages. But if you have control of the source, you are probably better using MAP_HUGETLB with madvise() or mmap(), or using the get_huge_pages() directly instead of using the LD_PRELOAD.
[ Parent
| on HN ]
There are no comments on this comment yet.