News: 0001613020

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Intel Is Making It Easier In Linux 7.0 To Monitor Energy Use For A Group Of Tasks

([Intel] 5 Hours Ago Resource Control)


Intel has upstreamed some Resource Control "resctrl" improvements to Linux 7.0 for enhanced telemetry monitoring. This is the good kind of telemetry with this new code being useful for being able to monitor how much energy or work is attributed to a group of tasks / process IDs on the system.

The [1]x86/cache pull request for the Linux 7.0 merge window comes down to the Intel resctrl additions for being able to more easily monitor energy use for a defined group of tasks:

"Extend the resctrl machinery to support telemetry monitoring on Intel. The practical usage of this is being able to tell how much energy or how much work can be attributed to a group of tasks tracked under a single idenitifier. Prepend this work with proper refactoring of resctrl domains handling code. Work by Tony Luck."

Tony Luck at Intel has been working on this resctrl telemetry monitoring for quite a while. After 17 rounds of patch review, it's finally merged for Linux 7.0. This telemetry monitoring does depend upon hardware capabilities found within Intel CPUs.

The [2]patch cover letter provides more background on the telemetry monitoring capabilities as well as some examples ofr setting up resctrl for monitoring based on a list of process IDs. From there via resctrl sysfs is energy monitoring targeting that group of tasks and the like.

It's a useful addition for Linux 7.0 for those wanting to have more detailed energy reporting based on processes with modern Intel platforms.



[1] https://lore.kernel.org/lkml/20260209230813.GAaYpo3eGpO7PzyNxp@fat_crate.local/

[2] https://lore.kernel.org/all/20251217172121.12030-1-tony.luck@intel.com/



Ladies and Gentlemen, Hobos and Tramps,
Cross-eyed mosquitos and bowlegged ants,
I come before you to stand behind you
To tell you of something I know nothing about.
Next Thursday (which is good Friday),
There will be a convention held in the
Women's Club which is strictly for Men.
Admission is free, pay at the door,
Pull up a chair, and sit on the floor.
It was a summer's day in winter,
And the snow was raining fast,
As a barefoot boy with shoes on,
Stood sitting in the grass.
Oh, that bright day in the dead of night,
Two dead men got up to fight.
Three blind men to see fair play,
Forty mutes to yell "Hooray"!
Back to back, they faced each other,
Drew their swords and shot each other.
A deaf policeman heard the noise,
Came and arrested those two dead boys.