<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-09-30 17:56 GMT+02:00 Joachim Breitner <span dir="ltr"><<a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[...] I also wonder whether, when using cachegrind, the results from<br>
different machines are actually comparable. [...]<br></blockquote><div><br></div><div>In general, they are not really comparable: cachegrind doesn't collect *actual* cache statistics, it emulates a simplified version of the caching machinery, trying to auto-detect parameters, see e.g.:</div><div><br></div><div>   <a href="http://valgrind.org/docs/manual/cg-manual.html#cg-manual.overview">http://valgrind.org/docs/manual/cg-manual.html#cg-manual.overview</a><br></div><div><br></div><div>This doesn't mean that the numbers are useless, but they are only (good) general hints, and in rare extreme cases, they can be totally off from the real numbers. For the "real stuff", one has to use "perf", but then you can only compare numbers from the same CPU models.</div></div></div></div>