Continuously Measuring Critical Section Pressure with the Free-Lunch Profiler - Archive ouverte HAL
Communication Dans Un Congrès Année : 2014

Continuously Measuring Critical Section Pressure with the Free-Lunch Profiler

Résumé

Today, Java is regularly used to implement large multi-threaded server-class applications that use locks to protect access to shared data. However, understanding the impact of locks on the performance of a system is complex, and thus the use of locks can impede the progress of threads on con-figurations that were not anticipated by the developer, during specific phases of the execution. In this paper, we propose Free Lunch, a new lock profiler for Java application servers, specifically designed to identify, in-vivo, phases where the progress of the threads is impeded by a lock. Free Lunch is designed around a new metric, critical section pressure (CSP), which directly correlates the progress of the threads to each of the locks. Using Free Lunch, we have identified phases of high CSP, which were hidden with other lock pro-filers, in the distributed Cassandra NoSQL database and in several applications from the DaCapo 9.12, the SPECjvm-2008 and the SPECjbb2005 benchmark suites. Our evaluation of Free Lunch shows that its overhead is never greater than 6%, making it suitable for in-vivo use.
Fichier principal
Vignette du fichier
oopsla14.pdf (834.86 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01080277 , version 1 (04-11-2014)

Identifiants

Citer

Florian David, Gaël Thomas, Julia Lawall, Gilles Muller. Continuously Measuring Critical Section Pressure with the Free-Lunch Profiler. OOPSLA '14 - ACM International Conference on Object Oriented Programming Systems Languages & Applications, Oct 2014, Portland, Oregon, United States. pp.291-307, ⟨10.1145/2660193.2660210⟩. ⟨hal-01080277⟩
281 Consultations
438 Téléchargements

Altmetric

Partager

More