5

I know how to read statistics about the configured network interfaces, for example via cat /proc/net/dev.

Is there a way to read similar byte counters of PCI or PCIe traffic?

Apparently, according to https://www.intel.com/content/dam/www/public/us/en/documents/design-guides/xeon-e5-2600-uncore-guide.pdf there should be a metric PCIE_DATA_BYTES, traceable for example via ucevent: https://github.com/andikleen/pmu-tools/blob/master/ucevent/README.md

If I run

ucevent.py -I 2000 CBO.PCIE_DATA_BYTES sleep 10

I obtain

unknown event CBO.PCIE_DATA_BYTES

I tried this on two servers:

Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz

Any suggestions or help please?

perde
  • 51

0 Answers0