The hugepages-control interface

The hugepages-control interface allows controlling HugePages, a Linux kernel feature that enables memory blocks to be managed in larger page sizes.

Interface documentation:
See Interface management and Supported interfaces for further details on how interfaces are used.

Developer details

Auto-connect: no

This interface assumes that huge pages are mounted at either:

  • /dev/hugepages (Debian, Ubuntu)
  • /run/hugepages (various other distributions)

Code examples

The test code can be found in the snapd repository:

The source code for the interface is in the snapd repository:

Last updated 2 years ago.