PEBS support in hwpmc

Bret Ketchum bcketchum at gmail.com
Fri Oct 20 16:31:19 UTC 2017


     PEBS records do capture callchain-like infromation. I'm most
interested (currently) with FRONTEND_RETIRED, MEM_LOAD_RETIRED and
MEM_LOAD_L3_HIT_RETIRED. Which require understanding of sub-events.
These counters can be used to differentiate the myriad of
Front-End/Back-End bound issues before drilling down to offending code
fragments.

On Fri, Oct 20, 2017 at 9:24 AM, Ryan Stone <rysto32 at gmail.com> wrote:
> On Fri, Oct 20, 2017 at 7:27 AM, Bret Ketchum <bcketchum at gmail.com> wrote:
>> Without this support (or a VTune subscription) understanding
>> Front-End/Back-End bound applications running on Skylake/Kaby Lake
>> processors will be difficult at best
>
> I'm afraid that I don't know of any work related to PEBS in hwpmc.
> However, I'm curious as to why PEBS is so important on these
> architectures.  My experience with hwpmc profiling has been that
> callchain information is frequently critical for understanding the
> performance characteristics and my understanding is that PEBS by
> design cannot capture that information.


More information about the freebsd-arch mailing list