thermal_throttling_logging(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… thermal_throttling_logging(9) β€” or, how your GPU stops itself from melting

okay so bestie, welcome to the Kernel API Manual ✨ this one's all about thermal_throttling_logging(9), and it's lowkey the reason your laptop doesn't turn into a grill 🍳


🌸 DESCRIPTION 🌸

So like, thermal throttling literally pulls down the clock frequency, and that means it pulls down your performance too 😭 but honestly? It's a super useful mechanism for protecting the chip from overheating πŸ”₯ so we stan a self-care queen.

Since it does impact performance, you (the user) get to control whether it's enabled β€” and if it is, the log frequency. main character energy, honestly πŸ‘‘

Reading back the file shows you the status (enabled or disabled) plus the interval (in seconds) between each thermal logging πŸŽ€

Writing an integer to the file sets a new logging interval, in seconds. The value should be between 1 and 3600. And the edge cases, because there always are some:

  • If the value is less than 1, thermal logging is disabled.
  • Values greater than 3600 are ignored β€” literally just vibes, they do nothing πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/gpu/drm/amd/pm/amdgpu_pm.c β€” that's the spot, iykyk ✨

and the whole friend group, no cap:


okay that's the whole thing, go read the docs bestie 🫢 this page came straight out of ./drivers/gpu/drm/amd/pm, dated October 2026, and it's thermal_throttling_logging(9) signing off πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from