The hugepages-control interface allows controlling HugePages, a Linux kernel feature that enables memory blocks to be managed in larger page sizes.
See Interface management and Supported interfaces for further details on how interfaces are used.
Auto-connect: no
This interface assumes that huge pages are mounted at either:
/dev/hugepages (Debian, Ubuntu)/run/hugepages (various other distributions)The test code can be found in the snapd repository: snapd/interfaces/builtin/hugepages_control_test.go at master · canonical/snapd · GitHub
The source code for the interface is in the snapd repository: snapd/interfaces/builtin/hugepages_control.go at master · canonical/snapd · GitHub
Last updated 28 days ago.