Am 21.04.2015 um 11:35 schrieb rajsing mohapatro: > This mail is to check if currently Valgrind provides any tool/option > which can be utilized to do profiling of a running process to know what > % of memory allocation made by the process is NUMA optimized.
Not that I know of. However, physical memory allocation as well as thread placement depends on (dynamic) OS behavior. Thus, it may be impossible for a VG tool to maintain a consistent view with the OS in general. This said, applications may opt in to control thread placement (sched_setaffinity), and may assume a "first touch policiy" for physical memory allocation (ie. on first write to a memory page, this page gets allocated in the memory module of the socket on which the current thread is running on). Cheers, Josef By "NUMA > optimized" allocation I mean, "if a process running on a processor of > specific Node then through out its lifetime what amount of memory it > allocates from local node(which is NUMA optimized way) and what % of > allocation it make from remote NUMA node(which is not optimized way due > to the latency overhead involved). > > Benefits: > This report will provide a good understanding of if a process is able to > make full use of NUMA architecture performance benefits in terms of > memory allocation. If not then it will allow the developer/Admins to > fine tune their process/applications to be NUMA friendly in-terms of > memory allocations. > > Regards, > Rajsing > > > > > > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > > > > _______________________________________________ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users