학술논문

Using Differential Execution Analysis to Identify Thread Interference
Document Type
Periodical
Source
IEEE Transactions on Parallel and Distributed Systems IEEE Trans. Parallel Distrib. Syst. Parallel and Distributed Systems, IEEE Transactions on. 30(12):2866-2878 Dec, 2019
Subject
Computing and Processing
Communication, Networking and Broadcast Technologies
Real-time systems
Energy storage
Renewable energy sources
Power system stability
Supply and demand
Generators
Performance analysis
multithreading
bottleneck detection
Language
ISSN
1045-9219
1558-2183
2161-9883
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.