Thursday 5 May 2022

Show HN: Intel PMU Profiling https://bit.ly/3LOKxyE

Show HN: Intel PMU Profiling See https://bit.ly/38VI4E2 If you've been interested in micro-benchmarking code using Intel's PMU HW capability to capture per HW core metrics, this repository may be for you. The repository includes 'doc/pmu.md' with a copy of Intel's software reference manuals (PDF) so, all in one place, you can understand and develop PMU profiling for your Intel micro architecture. Example included. Source code is 451 LOC with comments. Features: * Minimum, complete * Does not require yum install msr-tools * Header only: include and you're done * Works in user-space and/or kernel code * Very low latency because PMU is * Programmable event types. Includes support for fixed counters * Well documented * Handles thread pinning if requested * Simpler than PAPI, Nanobench, and PCM by one or two orders of 10. May 6, 2022 at 02:11AM

No comments:

Post a Comment