DocumentCode :
2010207
Title :
Parallelisation of the Valgrind Dynamic Binary Instrumentation Framework
Author :
Robson, Daniel ; Strazdins, Peter
Author_Institution :
Dept. of Comput. Sci., Australian Nat. Univ., Acton, ACT, Australia
fYear :
2008
fDate :
10-12 Dec. 2008
Firstpage :
113
Lastpage :
121
Abstract :
Valgrind is a dynamic binary translation and instrumentation framework. It is suited to analysing memory usage. It is used in memory validation and profiling tools. Currently, Valgrind is restricted to executing a guest with serialised thread scheduling. This results in lost opportunity for performance when analysing highly parallel applications on parallel architectures. We have extended the framework to allow parallel execution of guest threads. Code caching mechanisms have been made thread-safe, by delaying flushing of translated code, while preserving critical areas of performance. Three methods which preserve atomicity of instructions are implemented and evaluated with respect to speed, reliability and instrumentation effects. Serialising both store and atomic operations preserves atomicity in the strongest sense, but suffers unacceptable performance overhead. Serialising only atomic instructions or utilising host atomic instructions provides speedup in line with native execution. These methods show average slow downs of only 2.6× and multithreaded 2.2× over native parallel execution respectively.
Keywords :
processor scheduling; program interpreters; software performance evaluation; Valgrind dynamic binary instrumentation; atomic instructions; dynamic binary translation; memory usage; memory validation; parallel architectures; profiling tools; serialised thread scheduling; Application software; Computer science; Delay; Distributed processing; Instruction sets; Instruments; Parallel architectures; Performance analysis; Processor scheduling; Yarn; atomicity; binary translation; computer performance analysis; computer simulation; parallel computing; valgrind;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel and Distributed Processing with Applications, 2008. ISPA '08. International Symposium on
Conference_Location :
Sydney, NSW
Print_ISBN :
978-0-7695-3471-8
Type :
conf
DOI :
10.1109/ISPA.2008.94
Filename :
4725141
Link To Document :
بازگشت