Sample Header Ad - 728x90

Linux use huge pages only

1 vote
1 answer
302 views
I have a x64 Linux system. The page size reported by getconf is 4 k:
$ getconf PAGESIZE
4096
I want the kernel to use only large pages (2 M or 4 M) for all memory allocations. I've calculated that I have enough RAM to handle the memory that will be wasted because of this. How do I configure the Linux kernel so that it uses large pages for all allocations?
Asked by fctorial (203 rep)
Dec 31, 2020, 12:03 AM
Last activity: Dec 31, 2020, 08:56 AM