1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Nouveau Still Working On Power Management

Nouveau

Published on 25 September 2013 10:22 PM EDT
Written by Michael Larabel in Nouveau
3 Comments

Martin Peres gave a status update this week during the XDC2013 X.Org conference on the status of the project but in more particular its big troublesome spot right now: power-management / re-clocking.

Sadly there was no surprise announcement concerning the support moving along greatly, but rather a status overview of the different systems they have discovered on NVIDIA's graphics hardware for dealing with power management, performance monitoring, etc.

Power management has been a real pain for the reverse-engineering Nouveau camp since its partially software based, is almost entirely non-documented, and poorly studied/implemented in open-source, all because most vendors consider this to be a proprietary secret. Their optimal dynamic voltage / frequency scaling method they are going after is find performance bottlenecks using performance counters, lowering the clock on all other clock domains, lower the voltage on the other power domains based upon the clocks, increase the clock of the bottleneck clock domain, and then trying to do all of this quick enough and effective enough make a meaningful difference on power consumption without sacrificing performance.

Among the NVIDIA hardware counters that the project has exposed so far include PCOUNTER as blocks on monitor GPUs that monitor hardware events and tied to a given clock domain, MP counters that are per-channel/process counters in PGRAPH, PDAEMON as a set of four global counters with around 150 different signals that have been reverse-engineered so far. For PDAEMON there's five known signals and the MP counter GPGPU signals are believed to have been all reverse-engineered. Some of the Nouveau performance counters were only discovered this summer through the latest summer of code.

Nouveau open-source developers have also started understanding NVIDIA's PTHERM for thermal management, which is used for sending IRQs to the host when reaching temperature thresholds and can allow for certain events to happen (cutting GPU power, forcing the fan speed, etc). PDAEMON is what provides NVIDIA with its method of fan management, hardware scheduling, power gating, and performance/system monitoring and is found on all Fermi class GPUs and newer. Besides having its own performance counters, PDAEMON is also able to access all registers on the graphics card.

While these different hardware blocks have been discovered for NVIDIA power management, still to be implemented in the driver is stable re-clocking, dynamic voltage/frequency scaling algorithms, documenting the power/clock-gating details, and reverse-engineering more performance counter signals. This has been a big headache for Nouveau developers and end-users alike, but hopefully NVIDIA will begin to help out.

More details on this work can be found from the PDF slides and the video recording that's embedded below.


About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Intel Pentium G3258 On Linux
  2. SilverStone Precision PS10
  3. ASRock Z97 Extreme6
  4. Nouveau Re-Clocking Is Way Faster, Shows Much Progress For Open-Source NVIDIA
Latest Linux Articles
  1. KVM Benchmarks On Ubuntu 14.10
  2. X.Org Server 1.16 Officially Released With Terrific Features
  3. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  4. Preview: Benchmarking CentOS 7.0 & Scientific Linux 7.0
Latest Linux News
  1. The Linux Kernel Bang-Bang Thermal Governor Is Banging
  2. NVIDIA Releases K1-Powered Shield Tablet & Controller
  3. Xen Project Announces Mirage OS 2.0
  4. Canonical Community Team Changes Announced For Ubuntu
  5. Raspberry Pi B+ ARM Debian Benchmarks
  6. Mozilla Unleashes Firefox 31 Web Browser
  7. GCC 5.0 Is Expected Next Year
  8. PHP5's Successor Might Be PHP7
  9. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  10. AMDKFD Driver Still Evolving For Open-Source HSA On Linux
Latest Forum Discussions
  1. In Road To Qt, Audacious Switches From GTK3 Back To GTK2
  2. Debian + Steam + r600
  3. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  4. Next-Gen OpenGL To Be Announced Next Month
  5. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. AMD Publishes Open-Source Linux HSA Kernel Driver
  8. KDE Plasma 5 Officially Released