aboutsummaryrefslogtreecommitdiff
tag nameperf-c2c-for-mingo-20161021 (7f2806f286c1384f361f94c519b2971f577da25a)
tag date2016-10-21 10:34:22 -0300
tagged byArnaldo Carvalho de Melo <acme@redhat.com>
tagged objectcommit af09b2d35e...
- The 'perf c2c' tool provides means for Shared Data C2C/HITM analysis.
It allows you to track down cacheline contention. The tool is based on x86's load latency and precise store facility events provided by Intel CPUs. It was tested by Joe Mario and has proven to be useful, finding some cacheline contentions. Joe also wrote a blog about c2c tool with examples: https://joemario.github.io/blog/2016/09/01/c2c-blog/ Excerpt of the content on this site: --- At a high level, “perf c2c” will show you: * The cachelines where false sharing was detected. * The readers and writers to those cachelines, and the offsets where those accesses occurred. * The pid, tid, instruction addr, function name, binary object name for those readers and writers. * The source file and line number for each reader and writer. * The average load latency for the loads to those cachelines. * Which numa nodes the samples a cacheline came from and which CPUs were involved. Using perf c2c is similar to using the Linux perf tool today. First collect data with “perf c2c record” Then generate a report output with “perf c2c report” --- There one finds extensive details on using the tool, with tips on reducing the volume of samples while still capturing enough to do its job. (Dick Fowles, Joe Mario, Don Zickus, Jiri Olsa) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJYChlxAAoJENZQFvNTUqpAZ5wQAKKCA9NbcMUGcuoQK7F8KiK1 A+x+gAL2yHGDkr3mBCxaVUhYN3iB7o2tVzyZD3JcL7cXDMGmKVz0MjOZWe2qErL7 2xpCBOOtEFwPmVn5kVtotPac6JVUAK/HmWD5vac7+oJ2+jQfUURcR2HeKB7JYmjs 0VuSMR+6QeTCAGBaWfuNTQaNn8uBE5VMPON6tWbvke5ZVbgr5s2GLfr6ElQp9IHI vEUQ1VzjbEVNLGO/sRLH173Ubf+TOQE2mU9p3b72x+NlnN07C7GHAlnk+a1ZCzLW K2FviFDdpl38KeUzt2492IF/Q66l0GI/eQ4FI20Kzw+Z5VoGfyDz491Q3kGRPOZd bogAduP2ZS1mb0aV7riBbKZGOTg20tCzKkb7PqQmJ74qn84igSH9xrOW0XvcduKS seR2BmD2nofSIqv++SQ4Kx+0Oy7Y+LyGdNGb4nAOYLYnIDLXwnuWW3IC97HBcGBy 6p9FLF7cUH5YXD7Yva59qgOvI/Ij8BIS6SgTqXEUHw/Y1kPpVBEM6x8wIw74w4ZR Lg9KCtKrOVkV5BicqM+j5Aro4IGIsyksbQ7CRPyuTRSvzlmkL2Y5hRJ0ybyWqw/V qeE+wNVWI7p0/QF1f5wIXxwvtMFac++XDYPci6cxBS7QwbzRF+RcIJb59EgqeFx4 65xyxgNuHvKF2AFY1coi =h0F1 -----END PGP SIGNATURE-----