Linux's Turbostat Utility Can Now Be Used For Reading Intel PMT Counters
([Linux Kernel] 6 Hours Ago
turbostat)
- Reference: 0001482525
- News link: https://www.phoronix.com/news/Linux-6.11-Turbostat-PMT
- Source link:
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
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