- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all, I'm new for PEBS (Precise Event Based Sampling), I want to collect CPU stalled cycle due to memory access based on PEBS (need bound to specific data address), is there any event I can use on Hawell EP architecture? My CPU is Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz. Also, is there any document or link describe about all events support PEBS? Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should certainly start with Chapter 18 of Volume 3 of the Intel Architectures Software Developer's Manual (document 325384, revision 060 is dated September 2016). This describes the configuration of PEBS control registers and the contents of the data records provided by the PEBS facilities.
Because PEBS uses performance counter interrupts to deliver the data records to the OS, there is a fair amount of software involved. I don't think that there are a lot of performance monitoring tools that support PEBS at this time, but there is certainly some level of support in the "perf events" infrastructure of recent Linux kernels. (For the most recent kernels, see http://www.paradyn.org/petascale2016/slides/CSCADS2016_perf_events_status_update.pdf) ;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might also want to have a look at Andi's sample tools: https://github.com/andikleen/pmu-tools
They include an example to collect raw pebs.
Kind regards
Thomas

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page