IEEE Transactions on Parallel and Distributed Systems | 2019

Using Differential Execution Analysis to Identify Thread Interference

 
 
 
 
 
 
 
 

Abstract


Understanding the performance of a multi-threaded application is difficult. The threads interfere when they access the same shared resource, which slows down their execution. Unfortunately, current profiling tools report the hardware components or the synchronization primitives that saturate, but they cannot tell if the saturation is the cause of a performance bottleneck. In this paper, we propose a holistic metric able to pinpoint the blocks of code that suffer interference the most, regardless of the interference cause. Our metric uses performance variation as a universal indicator of interference problems. With an evaluation of 27 applications we show that our metric can identify interference problems caused by six different kinds of interference in nine applications. We are able to easily remove seven of the bottlenecks, which leads to a performance improvement of up to nine times.

Volume 30
Pages 2866-2878
DOI 10.1109/TPDS.2019.2927481
Language English
Journal IEEE Transactions on Parallel and Distributed Systems

Full Text