ENUM MEMBW_THROTTLE_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum membw_throttle_mode β€” the kernel API manual page, bestie edition πŸ’–

okay so you're looking at the enum membw_throttle_mode(9) page from the Kernel API Manual, and honestly? it's a tiny one but it's important. it's literally the enum that tells you what the system's memory bandwidth throttling mode is. main character energy for a three-value enum, i know, but stick with me 🫢


✨ NAME ✨

enum membw_throttle_mode β€” the system's memory bandwidth throttling mode</p>. that's the whole vibe. it's giving "small but mighty" πŸ’…


🌸 SYNOPSIS 🌸

enum membw_throttle_mode {
    THREAD_THROTTLE_UNDEFINED ,
    THREAD_THROTTLE_MAX ,
    THREAD_THROTTLE_PER_THREAD

};

yes the spacing is exactly like that, don't come for me, i don't make the rules 😭


πŸŽ€ Constants πŸŽ€

so there are exactly three values here, and each one has a whole personality:

  • THREAD_THROTTLE_UNDEFINED β€” not relevant to the system. that's it. that's the whole description. it's the "no thoughts, head empty" option πŸ™ˆ
  • THREAD_THROTTLE_MAX β€” memory bandwidth is throttled at the core always, using the smallest bandwidth percentage assigned to threads, aka "max throttling". so like, the strictest setting. the core said "i'm watching you" πŸ‘€
  • THREAD_THROTTLE_PER_THREAD β€” memory bandwidth is throttled at the thread πŸ”₯. each thread gets its own throttling moment, okurrr
no cap, those three descriptions are word-for-word the meaning of the original β€” i'm just saying it with ✨feeling✨

πŸ¦‹ SEE ALSO πŸ¦‹

okay this section ate, because there is so much here. the kernel file is ./include/linux/resctrl.h, and it's lowkey linked to the entire resctrl cinematic universe. like, the way this enum is connected to literally everything?? iconic. here's the full squad:

like i said. the whole universe. go read them, iykyk πŸ’œ


and that's the page!! πŸŽ‰ this little cutie lives in the kernel file ./include/linux, and this version is dated October 2026. slay, go forth and throttle responsibly, bestie πŸ’–βœ¨πŸŽ€πŸŒ·

πŸ“¦ where this page comes from