HUGEEDIT(7)

πŸ“¦ version 2.24.0.g1322884, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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 πŸ’–πŸŽ€πŸ¦‹