On 11/18/2010 06:34 PM, Josef Weidendorfer wrote: > We could extend the simulator do assume separate L1 caches per thread, assuming a > fixed pinning of each thread to its own core...
By default Linux appears to pride itself on moving a thread in circle through all the cores on a machine! :) We do explicit pinning of threads to cores. If valgrind did support it, would it be possible to intercept the function to set affinity and pin the threads? I have no idea what cache hit/miss I have. Is there a way to see it in KCachegrind? I have a feeling there is somethign wrong in the GUI: the event pane just has a single type "Instruction Fetch". You talk about other event types but I can't see any such thing...? > This gives quite a rough estimation, but usually it highlights the bottlenecks. > If you do not have cache issues (ie. a large number of misses) anyway, the estimation > of course will be quite wrong. So once I optimize enough and think that my major issue is a context switching issue, can I use valgrind to find those? That is, can I somehow get callgrind to flag the points where a kernel call is made to warn me of a possible context switch, suspend, or whatnot? -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- BigTPoker - Poker fun and games http://BigTPoker.com/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Sign: Please digitally sign your emails. Encrypt: I'm also happy to receive encrypted mail.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users