HI again Stephane,

This one came in from Bob Walkup @ IBM to detect the additional variants of the P8. As it turns out, this code was (sort of) already in the tree, but the names have changed. I redid the patch against the latest tree (minus my previous patch for PLM’s) and the result follows.

Bob, you are going to want to submit patches against the latest PAPI git tree which usually has the latest libpfm. Conversely you can pull libpfm directly from here..


Attachment: power8-detect.patch
Description: Binary data

Phil


Begin forwarded message:

From: "Bob Walkup" <wal...@us.ibm.com>
Subject: [Perfapi-devel] patch for libpfm4 to support additional flavors of IBM Power8 processors
Date: June 17, 2016 at 5:21:47 PM GMT+2

The current code in papi-5.4.3 checks the processor version and identifies a CPU as IBM POWER8 if the id is 0x004b, which corresponds to the first flavor of POWER8 that was made available. Now there are two additional flavors of POWER8 processors, which report ids of 0x004c and 0x004d. The code in libpfm4 needs to be patched so that these processor ids are recognized. The attached patch will do the job.

(1) put the attached file "ibm.diffs" in the papi src/libpfm4 directory
(2) apply the patch with : patch -p0 <ibm.diffs

That should do it. With the patch in place, papi will recognize all three current versions of POWER8 processors.

Regards,
Bob Walkup (wal...@us.ibm.com, 914-945-1512)
----------------------------------------------------------------
(See attached file: ibm.diffs)

Attachment: ibm.diffs
Description: Binary data

_______________________________________________
Perfapi-devel mailing list
perfapi-de...@eecs.utk.edu
http://lists.eecs.utk.edu/mailman/listinfo/perfapi-devel

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to