Linux Schedutil Governor's Quirky Behavior Persists In 2023

Written by Michael Larabel in Software on 9 February 2023 at 01:00 PM EST. Page 3 of 3. 26 Comments.
x265 benchmark with settings of Video Input: Bosphorus 4K. 2020 was the fastest.

Outside of the Scalable Video Technology (SVT) encoders, the x265 performance drop was lessened by switching back to the ondemand governor on Ubuntu 23.04 for this Threadripper 3990X system.

x265 benchmark with settings of Video Input: Bosphorus 4K. 2020 was the fastest.
x265 benchmark with settings of Video Input: Bosphorus 4K. 2020 was the fastest.

The CPU power consumption of the Threadripper 3990X was only slightly higher when using the optimal "performance" governor for x265.

x265 benchmark with settings of Video Input: Bosphorus 1080p. acpi-cpufreq performance was the fastest.

For the regressed workloads compared to Ubuntu 20.04 LTS on the Threadripper 3990X, one of the main contributors was the default change from ondemand to schedutil for the ACPI CPUFreq driver. Schedutil overall is comparable to ondemand but for both Intel and AMD processors over the years I've commonly seen situations like this where the performance is negatively impacted.

Geometric Mean Of All Test Results benchmark with settings of Result Composite, Threadripper 3990X 2023 CPUFreq Governor Benchmarks. acpi-cpufreq performance was the fastest.

Personally, it would be nice if Ubuntu Linux on desktop/server class hardware would simply default to the performance governor as is done on the likes of RHEL/CentOS and Clear Linux among others...

CPU Power Consumption Monitor benchmark with settings of Phoronix Test Suite System Monitoring.

The performance governor on the Threadripper 3990X while running the video encode benchmarks actually had comparable power use to ondemand and in turn was lower overall on average than the acpi-cpufreq schedutil configuration used by default.

CPU Temperature Monitor benchmark with settings of Phoronix Test Suite System Monitoring.

So for those wondering about the video encode results from the recent 3 year Threadripper comparison, here is your reminder of the quirky Schedutil default.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
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.