MP Counters In Prototype Stage For Nouveau NV50
Written by Michael Larabel in Nouveau on 20 July 2014 at 09:39 AM EDT. Add A Comment
Samuel Pitoiset has shared another blog post on his excellent work for reverse-engineering NVIDIA hardware performance counters and implementing the functionality within the open-source Nouveau driver.

Pitoiset has been involved with the Nouveau driver project for a while and this summer via Google Summer of Code he's been making excellent progress in exposing NVIDIA performance counters to user-space with the Nouveau driver stack. In Samuel's latest post, he shares that he's implemented compute-only MP counters for NV50 class hardware in Nouveau.

As Samuel explains, "MP" counters are local and per-context, which is better off than global counters. While implemented are "compute" MP counters, it is an arbitrary limitation of NVIDIA and these compute counters can be used for OpenGL games/applications too. For the prototype implementation of the NV50 MP counters, Samuel implemented an interface between the Linux kernel and Mesa to expose the counters to the users through Gallium3D's HUD.

The prototype implementation exposes 13 performance counters for NV50/Tesla hardware. The code is currently out-of-tree for Mesa and the Nouveau DRM but hopefully the work will be mainlined after the summer GSoC project has been completed.

More details via Samuel's blog.
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Nouveau News
Popular News
Trending Reviews & Featured Articles