Gwinel / likwid

Automatically exported from code.google.com/p/likwid
GNU General Public License v3.0
0 stars 0 forks source link

Support for AMD Interlagos CPUs in likwid-msrD #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using the new version 2.3 with integrated Interlagos support, performance 
measurements work perfectly when using likwid-perfctr without the msr daemon. 
However enabling the msr daemon breaks likwid-perfctr, as apparently the daemon 
does not support AMD Interlagos CPUs ("msrD: ERROR - [msr-daemon.c:318] - 
Unsupported processor. Exiting!"). After having a quick look at the source code 
I could not find the case K15_FAMILY handled in msr-daemon.c.

Original issue reported on code.google.com by severins...@gmail.com on 23 Feb 2012 at 2:32

GoogleCodeExporter commented 9 years ago
Right. I  need to fully adopt the msrD to the new requirements.

Original comment by jan.trei...@gmail.com on 24 Feb 2012 at 10:05

GoogleCodeExporter commented 9 years ago
For the time being, I wrote a small patch to msr-daemon.c to add support for 
the AMD Interlagos CPUs. Hopefully I did not miss any of the required registers 
in the whitelist. The patched version of the msrD was tested using 
likwid-perfctr on an AMD Opteron 4280.

Original comment by severins...@gmail.com on 6 Mar 2012 at 12:44

Attachments:

GoogleCodeExporter commented 9 years ago
Applied patch in Revision 302. Will be added in release 2.3.1

Original comment by jan.trei...@gmail.com on 19 Mar 2012 at 8:50