Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: