Linux 5.8 Prepped To Make Use Of TPAUSE Instruction With New Intel CPUs

Written by Michael Larabel in Intel on 21 May 2020 at 05:47 PM EDT. 4 Comments
INTEL
TPAUSE is the new instruction supported by Intel's Tremont microarchitecture and beyond. TPAUSE allows for an optimized state that can provide low wake-up latency compared to existing delay mechanisms. With Linux 5.8, the kernel will begin making use of TPAUSE where supported.

The Timed Pause instruction already saw patches for enabling new instructions like TPAUSE and UMONITOR/UMWAIT back for Linux 4.19. But now queued in x86/timers ahead of the upcoming Linux 5.8 cycle are the changes for the kernel to actually begin making use of TPAUSE for more power efficient suspension of execution. TPAUSE supports modes of low-latency but with less power savings or another state for greater power savings but with longer wake-up latency. That is configurable via an MSR while the default behavior is the greater power savings.

With a patch set to go for the upcoming Linux 5.8 cycle is supporting a TPAUSE delay for the kernel where supported.

Tremont cores with TPAUSE availability can be found in Intel Atom "Snow Ridge" processors and forthcoming Lakefield processors.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week