HUGEEDIT(7)
π HUGEEDIT π
okay bestie, welcome to HUGEEDIT(7) β straight out of the Miscellaneous Information Manual, and yes it's a section 7 page so we're in misc territory, very "the lore" energy. grab a snack, we're setting default policies for backing text and data with hugepages. no cap. π¦
β¨ NAME β¨
hugeedit β set default policy for backing text and data with hugepages π
πΈ SYNOPSIS πΈ
hugeedit binary
hugeedit [options] binary
that's it. that's the whole vibe check. two ways in: just hand it a binary, or hand it some options and then a binary. π
π DESCRIPTION π
so here's the tea, bestie. hugectl runs processes with a specific policy for backing memory regions with hugepages. that's its whole thing, it's very main character about it.
but ordinarily β like, the normal case β when processes are relinked with libhugetlbfs using the recommended linking method, you've got two annoying choices: either hugectl is required on each execution, or environment variables must be set for each execution. every single time. exhausting. π
and that's where our girl hugeedit comes in!! she can be used to set bits in the ELF header that determine if the text or data segments are backed by default without further intervention. no per-run babysitting, no env var spam. she just handles it. periodt. π
β¨
and if you run her with no arguments specified, hugeedit will display what the current defaults for each segment in a binary are. a little diagnostic moment. she's showing you the receipts. π§
the available options are:
--textβ back the text segments of the binary by default π«Ά--dataβ back the data segments of the binary by default π--disableβ back all segments using small pages by default π
π₯ SEE ALSO π₯
go read these next, iykyk:
π AUTHORS π
libhugetlbfs was written by various people on the libhugetlbfs-devel mailing list.
a whole group chat of legends, fr fr. π
and that's the page, bestie!! this iconic little writeup is from the Miscellaneous Information Manual, dated October 8, 2008, and it goes out as HUGEEDIT(7). mwah πππ¦
π¦ where this page comes from
- debian bookworm: libhugetlbfs-bin 2.23-5 Β· LGPL-2.1-only
- debian trixie: libhugetlbfs-bin 2.24-1+b1 Β· LGPL-2.1-only
- ubuntu jammy: libhugetlbfs-bin 2.23-4 Β· LGPL-2.1-only
- ubuntu noble: libhugetlbfs-bin 2.23-5build1 Β· LGPL-2.1-only
- ubuntu questing: libhugetlbfs-bin 2.24-1
- ubuntu resolute: libhugetlbfs-bin 2.24-1build1 Β· LGPL-2.1-only
- ubuntu stonking: libhugetlbfs-bin 2.24-1build1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms