Hi,
Here is a new pmda to support monitoring intel mic/phi cards.
https://github.com/ubccr/pcp/tree/micpmda
I only have a single card to test with and this is developed against
mpss 3.3 on a host running Centos 6.6. If anyone has issues with more
cards or other mpss versions, please let me know. The pmda uses the
libmicmgmt python bindings, which as far as I can tell live in /usr/src,
so I have to mess with the python path in the pmda and QA. If there is
a better way to do this, let me know.
The pmda runs on the host, not the mic card itself. libmicmgmt takes
care of grabbing the data from the card.
This is my first python pmda, so let me know if I've messed anything
up. I will likely be adding more metrics in the future.
Thanks
Martins
commit e2f43db86f34a113c2647addf196b131290fafba
Author: Martins D Innus <minnus@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Mar 9 12:05:09 2015 -0400
mic pmda fixes
update qa, fix some naming issues
qa/784 | 12 ++++++++----
qa/784.out | 47
+++++++++++++++++++++++++++++++++++++++++++++++
src/pmdas/mic/GNUmakefile | 2 +-
3 files changed, 56 insertions(+), 5 deletions(-)
commit acb69aa5a9128d71d3d010dec5c167ecfcf56daf
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Fri Mar 6 14:45:11 2015 -0500
rename pmdamic.py to pmdamic.python
src/pmdas/mic/pmdamic.py | 651
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/pmdas/mic/pmdamic.python | 651
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 651 insertions(+), 651 deletions(-)
commit f479b12470dae666b23a53fff17a8d51f4ba6d7f
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Fri Mar 6 13:55:17 2015 -0500
mic pmda initial commit
Uses the mpss libmicmgmt python bindings to collect stats on
the mic card.
Runs on the host, not the mic card.
qa/784 | 64 ++++++++++++++++++++
qa/group | 1 +
src/pmdas/GNUmakefile | 2 +-
src/pmdas/mic/GNUmakefile | 40 +++++++++++++
src/pmdas/mic/Install | 28 +++++++++
src/pmdas/mic/Remove | 25 ++++++++
src/pmdas/mic/pmdamic.1 | 59 +++++++++++++++++++
src/pmdas/mic/pmdamic.py | 651
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/pmns/stdpmid.pcp | 1 +
9 files changed, 870 insertions(+), 1 deletion(-)
|