News: 0001614693

  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)

Turbostat With Linux 7.0 Can Report New L2 Cache Statistics

([Hardware] 5 Hours Ago turbostat)


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



Symptom: Floor swaying.
Fault: Excessive air turbulence, perhaps due to air-hockey
game in progress.
Action Required: Insert broom handle down back of jacket.

Symptom: Everything has gone dim, strange taste of peanuts
and pretzels or cigarette butts in mouth.
Fault: You have fallen forward.
Action Required: See above.

Symptom: Opposite wall covered with acoustic tile and several
fluorescent light strips.
Fault: You have fallen over backward.
Action Required: If your glass is full and no one is standing on your
drinking arm, stay put. If not, get someone to help
you get up, lash yourself to bar.
-- Bar Troubleshooting