Re: [Valgrind-users] Cache conflict detection support in cachegrind

2023-01-29 Thread Eliot Moss
On 1/30/2023 7:08 AM, Ivica B wrote: Can you please share the instructions on how to do it? On Sun, Jan 29, 2023, 9:07 PM Eliot Moss mailto:m...@cs.umass.edu>> wrote: I have used lackey to get traces, which I have fed into a cache model to detect conflicts and such.  You could also

Re: [Valgrind-users] Cache conflict detection support in cachegrind

2023-01-29 Thread Eliot Moss
I have used lackey to get traces, which I have fed into a cache model to detect conflicts and such. You could also start with the lackey code and model the cache model into the tool (which a student of mine did at one point). Regards - Eliot Moss

Re: [Valgrind-users] Cache conflict detection support in cachegrind

2023-01-29 Thread Ivica B
Can you please share the instructions on how to do it? On Sun, Jan 29, 2023, 9:07 PM Eliot Moss wrote: > I have used lackey to get traces, which I have fed into > a cache model to detect conflicts and such. You could > also start with the lackey code and model the cache model > into the tool

Re: [Valgrind-users] Cache conflict detection support in cachegrind

2023-01-29 Thread Ivica B
Hi Paul! I read the info you provided, but none of the programs actually support detecting cache conflicts. Performance counters can detect cache misses, similar to cachegrind, but they cannot distinguish between cache misses related to cache conflicts and other cache misses. pahole is a tool

Re: [Valgrind-users] Cache conflict detection support in cachegrind

2023-01-29 Thread John Reiser
On 2023-01-29, Paul Floyd wrote: My recommendations for this are: 1/ PMU/PMC (performance monitoring unit/counter) event counting tools (perf record on Linux, pmcstat on FreeBSD, Oracle Studio collect on Solaris, don't know for macOS). These can record events such as cache misses with the

Re: [Valgrind-users] Cache conflict detection support in cachegrind

2023-01-29 Thread Paul Floyd
On 29-01-23 14:31, Ivica B wrote: Hi! I am looking for a tool that can detect cache conflicts, but I am not finding any. There are a few that are mostly academic, and thus not maintained. I think it is important for the performance analysis community to have a tool that to some extent can

[Valgrind-users] Cache conflict detection support in cachegrind

2023-01-29 Thread Ivica B
Hi! I am looking for a tool that can detect cache conflicts, but I am not finding any. There are a few that are mostly academic, and thus not maintained. I think it is important for the performance analysis community to have a tool that to some extent can detect cache conflicts. Is it possible to