STRUCT RESCTRL_MEMBW(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct resctrl_membw β€” the memory bandwidth allocation data bundle, straight out of the Kernel API Manual bestie, and yes it's exactly as iconic as it sounds πŸŽ€


✨ SYNOPSIS ✨

struct resctrl_membw {
    u32 min_bw;
    u32 max_bw;
    u32 bw_gran;
    u32 delay_linear;
    bool arch_needs_linear;
    enum membw_throttle_mode        throttle_mode;
    bool mba_sc;
    u32 *mb_map;
 };

πŸ¦‹ Members πŸ¦‹

okay so this struct is literally the whole vibe check for memory bandwidth, and here's every single field, no cap:

  • min_bw β€” the minimum memory bandwidth percentage that a user is allowed to ask for. floor energy πŸ“‰
  • max_bw β€” the maximum memory bandwidth value, and it's also the reset value. so it's giving main character and backup dancer at the same time πŸ’…
  • bw_gran β€” the granularity at which the memory bandwidth actually gets allocated. the chunk size, if you will ✨
  • delay_linear β€” True if the memory B/W delay is on a linear scale. so like, straight line vibes πŸ“
  • arch_needs_linear β€” True if we literally can't configure non-linear resources. no wiggle room, the architecture said what it said πŸ™ˆ
  • throttle_mode β€” the bandwidth throttling mode used when threads are requesting different memory bandwidths. drama between threads, basically πŸ’€
  • mba_sc β€” True if the MBA software controller (mba_sc) is enabled. she's awake and she's working 🫢
  • mb_map β€” the mapping of memory B/W percentage β†’ memory B/W delay. the translation layer, the interpreter, the go-between 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/resctrl.h β€” go read it, it's the source of truth fr fr 🧚

and then the whole extended friend group, all present and accounted for:


that's the whole page bestie, every field, every reference, nothing skipped πŸ’– go forth and allocate your bandwidth responsibly ✨

and yeah, this lil page lives in ./include/linux and it's dated October 2026 β€” future queen behavior honestly πŸ‘‘πŸŒΈ slay, see u in the next manpage 🫢

πŸ“¦ where this page comes from