I'm using PCM to measure QPI traffic on a NUMA server running Linux, but PCM unexpectedly stopped displaying QPI traffic.
In the past, I have run pcm.x to get human readable data, and it worked.
I needed to access the QPI traffic programmatically, so I tried using PCM's C++ interface.
My code containing a few PCM member functions worked up until PCM::QPILinkSpeed() was called. Then the code exits without throwing an exception and prints 'Segmentation Fault' to cerr.
Since that moment, pcm.x no longer shows QPI traffic. (Symptoms are similar to this thread: https://software.intel.com/en-us/forums/software-tuning-performance-optimization-platform-monitoring... )
The attached file shows the output from running pcm.x
I see the message mmap failed: errno is 1
This surprised me because I am running pcm.x as root.
My BIOS settings were not changed.
Here are my environment details:
I've tried restarting, cleaning the PCM directory and re-building, but no luck.
Would anyone be able to give me a pointer to explain what may have gone wrong, and a nudge in the right direction towards fixing pcm?
Thanks for your attention,