Skip to content

azat-archive/hugeelfexec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

hugeelfexec

./hugeelfexec
Usage: ./hugeelfexec /path/to/bin args-for-bin

uses

  • memfd_create (w/o MFD_HUGETLB, since it requires hugetlbfs setup)
  • madvise(MADV_HUGEPAGE)
  • fexecat

requirements

One of the following:

  • echo advise > /sys/kernel/mm/transparent_hugepage/shmem_enabled
  • echo always > /sys/kernel/mm/transparent_hugepage/shmem_enabled
  • echo within_size > /sys/kernel/mm/transparent_hugepage/shmem_enabled

reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published