News: 0001482525

  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)

Linux's Turbostat Utility Can Now Be Used For Reading Intel PMT Counters

([Linux Kernel] 6 Hours Ago turbostat)


Merged on Sunday prior to tagging the first release candidate of [1]Linux 6.11 were some last minute updates to Turbostat, the tool that lives within the kernel source tree and used for reporting CPU frequency and idle statistics along with other useful metrics. With Linux 6.11, Turbostat is gaining some new abilities.

With the new kernel, the Turbostat utility is now able to report counters from Intel's Platform Monitoring Technology (PMT). Intel [2]Platform Monitoring Technology is one of their newer ways of exposing telemetry across client, server, and companion products.

This new code for Turbostat allows reading PMT counters similar to the tool's MSR and perf counters. One of the initial focuses with this PMT integration is for Turbostat to be able to report Meteor Lake's DC6 residency metrics to user-space. Other PMT functionality can also be read via Turbostat but depends upon the necessary PMT metadata being supplied for analysis.

Those interested in tapping into Intel PMT telemetry via Turbostat can find the documentation and some examples as part of [3]this merge that is part of this week's Linux 6.11-rc1 release.



[1] https://www.phoronix.com/search/Linux+6.11

[2] https://www.phoronix.com/search/Platform+Monitoring+Technology

[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e172f1e9068807a336c0429b6c57d29bded8d891



brownsr

"Multiply in your head" (ordered the compassionate Dr. Adams) "365,365,365,
365,365,365 by 365,365,365,365,365,365". He [ten-year-old Truman Henry
Safford] flew around the room like a top, pulled his pantaloons over the
tops of his boots, bit his hands, rolled his eyes in their sockets, sometimes
smiling and talking, and then seeming to be in an agony, until, in not more
than one minute, said he, 133,491,850,208,566,925,016,658,299,941,583,225!"
An electronic computer might do the job a little faster but it wouldn't be
as much fun to watch.
-- James R. Newman, "The World of Mathematics"