1

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?

fctorial
  • 203
  • 1
  • 6

1 Answers1

2

It isn’t possible to configure the kernel to only use huge pages.

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164