Skip to Main content Skip to Navigation
New interface
Reports (Research report)

Continuously Measuring Critical Section Pressure with the Free Lunch Profiler

Florian David 1 Gaël Thomas 1 Julia Lawall 1 Gilles Muller 1 
1 Whisper - Well Honed Infrastructure Software for Programming Environments and Runtimes
LIP6 - Laboratoire d'Informatique de Paris 6, Inria Paris-Rocquencourt
Abstract : Today, Java is regularly used to implement large multi-threaded server-class ap- plications, whose scalability could be hampered by the execution of critical sections. Profiling is needed to identify critical sections that are problematic. However, profiling such applications is challenging, due to their long running times and the range of possible runtime conditions. We propose Free Lunch, a new profiler designed to identify locks and critical sections that hamper scalability. Free Lunch is designed around a new metric, critical section pressure, and can be used in-vivo, while the application is run by end-users. Using Free Lunch, we have identified a contention phase in the distributed Cassandra NoSQL database and in several applications from the DaCapo benchmark suite. On the latter, we were able to improve the performance of the Xalan benchmark by 15%. In an evaluation on over thirty applications, we found that the overhead of Free Lunch is never greater than 6%.
Document type :
Reports (Research report)
Complete list of metadata

Cited literature [27 references]  Display  Hide  Download
Contributor : Gilles Muller Connect in order to contact the contributor
Submitted on : Sunday, March 9, 2014 - 10:30:56 AM
Last modification on : Wednesday, October 26, 2022 - 8:15:07 AM
Long-term archiving on: : Monday, June 9, 2014 - 10:36:29 AM


Files produced by the author(s)


  • HAL Id : hal-00957154, version 1


Florian David, Gaël Thomas, Julia Lawall, Gilles Muller. Continuously Measuring Critical Section Pressure with the Free Lunch Profiler. [Research Report] RR-8486, Inria Whisper; INRIA. 2014, pp.24. ⟨hal-00957154⟩



Record views


Files downloads