Turbostat With Linux 7.0 Can Report New L2 Cache Statistics
([Hardware] 5 Hours Ago
turbostat)
- Reference: 0001614693
- News link: https://www.phoronix.com/news/Turbostat-Linux-7.0
- Source link:
The Turbostat command-line utility for reporting processor frequency and idle statistics along with other useful information for AMD and Intel CPUs can now report some L2 cache stats for recent Intel CPUs beginning with Linux 7.0.
The Turbostat utility lives within the kernel source tree and for the [1]Linux 7.0 merge window has landed some new L2 cache reporting functionality.
With the now-merged code, there are now L2 statistics of L2MRPS for indicating the L2 Cache M-References Per Second and L2%hit for the L2 cache hit rate percentage.
[2]This merge has all the details for those interested. These new metrics are reported when using recent generations of Intel processors due to relying on new L2 perf counters. This comes down to Intel Xeon Sapphire Rapids and newer, Intel Atom Gracemont and newer, or Intel Alder Lake and newer hybrid CPUs.
[1] https://www.phoronix.com/search/Linux+7.0
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2961f841b025fb234860bac26dfb7fa7cb0fb122
The Turbostat utility lives within the kernel source tree and for the [1]Linux 7.0 merge window has landed some new L2 cache reporting functionality.
With the now-merged code, there are now L2 statistics of L2MRPS for indicating the L2 Cache M-References Per Second and L2%hit for the L2 cache hit rate percentage.
[2]This merge has all the details for those interested. These new metrics are reported when using recent generations of Intel processors due to relying on new L2 perf counters. This comes down to Intel Xeon Sapphire Rapids and newer, Intel Atom Gracemont and newer, or Intel Alder Lake and newer hybrid CPUs.
[1] https://www.phoronix.com/search/Linux+7.0
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2961f841b025fb234860bac26dfb7fa7cb0fb122