How Well Is AMD CnQ Working For You On Linux?

Written by Michael Larabel in AMD on 27 October 2012 at 08:02 AM EDT. 18 Comments
AMD
One of the latest possible Linux power-related regressions I've heard about is that AMD Cool 'n' Quiet may no longer be functioning too well on Linux-based systems.

Last week in Prague I heard from a Linux developer who was saying AMD Cool 'n' Quiet was no longer working out too well on his AMD-based systems. CnQ, of course, is the AMD technology for dynamically lowering the clock frequencies and voltage when the processor isn't under load in order to lower the power consumption and heat output -- AMD's equivalent to Enhanced Intel SpeedStep Technology (EIST).

Last year when testing the AMD FX-8150 was the last time I explicitly looked at the AMD Cool 'n' Quiet performance under Linux. In concluding that article I wrote, "Cool 'n' Quiet is good for dropping the CPU clock speeds and voltage when idling or with minimal load, which lower the operating temperature and system power consumption. When the FX-8150 is being stressed, having Cool 'n' Quiet enabled was not detrimental to the system's performance."

I've also tested Cool 'n' Quiet in previous years to find similar results that it was useful for reducing the power consumption by a small but measurable amount when the CPU is under minimal load; this technology has been found in AMD CPUs going back to the Athlon 64 days.

After hearing that Cool 'n' Quiet is now less beneficial under Linux, I'm going through on some different AMD hardware to see if it has indeed regressed or is some more isolated problem specific to only some CPUs/motherboards/BIOS. So far I did run a few tests from the brand new AMD FX-8350 Vishera with its eight Piledriver-based cores when toggling Cool 'n' Quiet support from the ASUS Crosshair V Formula motherboard. The results in this article is not only to be on the look-out for problems but also to see how well the latest-generation AMD hardware is performing power-wise with CnQ support.
AMD FX-8350 Power Consumption, Performance Per Watt
As shown from this graph, the minimum power consumption when going from idle to full load (of building the vanilla Linux kernel) was 91 Watts in its default configuration (Cool 'n' Quiet disabled) or 96 Watts when CnQ was disabled. Monitoring was done via a USB-based WattsUp power meter of the overall AC power consumption. So there is a difference and it seems to be working for the FX-8350 with a ~5% increase in power consumption if CnQ is not enabled.
AMD FX-8350 Power Consumption, Performance Per Watt
The performance difference between the two configurations is very small -- since there is a very slight latency in the CPU needing to ramp up its clock speeds when the processor initially encounters load.
AMD FX-8350 Power Consumption, Performance Per Watt
CnQ provides a slight power-savings while gaming and the CPU not being fully taxed.
AMD FX-8350 Power Consumption, Performance Per Watt
CnQ doesn't really cost much in terms of lost performance due to the switching of frequency steppings.
AMD FX-8350 Power Consumption, Performance Per Watt
Between idle and various different loads from the Linux desktop, the power consumption with CnQ disabled for the AMD FX-8350 was about 4% higher. So it appears that CnQ at least for the AMD Vishera/Piledriver processors are indeed working. Additional testing will be done on older AMD hardware to see if CnQ has regressed there with the latest kernel compared to older releases.

If you're using AMD hardware for some time, have you noticed any changes in the power consumption potentially concerning Cool 'n' Quiet technology?
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