gpu_busy_percent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 gpu_busy_percent β€” the kernel API manual, bestie edition πŸ’…

okay so real talk, this page is gpu_busy_percent(9) and it's genuinely shorter than my attention span, so we're gonna get through this together in like one breath ✨

🫢 DESCRIPTION (a.k.a. what it actually does)

So the amdgpu driver ships a sysfs API, and its whole job is telling you how busy the GPU is β€” as a percentage πŸ”₯ That's it. That's the vibe.

The file you're gonna be poking at for this is literally called gpu_busy_percent. That's the one. πŸ‘‘

And how does it get that number? Not the driver doing math in its notes app, nope β€” the SMU firmware computes a percentage of load, and it does it based on the aggregate activity level in the IP cores. So it's like the firmware looked at all the IP cores' activity, smooshed it all together, and was like "here's a percent, you're welcome" 🧚

lowkey iconic that the firmware does the flexing here and not the driver. no cap.

πŸŽ€ SEE ALSO (the whole friend group, fr fr)


aaaand that's the whole page, bestie β€” short, sweet, and it ate 🌈 mwah πŸ’–

sign-off time: this lil cutie lives under ./drivers/gpu/drm/amd/pm, it's dated October 2026, and yep, it's still gpu_busy_percent(9) β€” periodt πŸ’…πŸŽ€

πŸ“¦ where this page comes from