A performance study of Java garbage collectors on multicore architectures - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2015

A performance study of Java garbage collectors on multicore architectures

Résumé

In the last few years, managed runtime environments such as the Java Virtual Machine (JVM) are increasingly used on large-scale multicore servers. The garbage collector (GC) represents a critical component of the JVM and has a significant influence on the overall performance and efficiency of the running application. We perform a study on all available Java GCs, both in an academic environment (set of benchmarks), as well as in a simulated real-life situation (client-server application). We mainly focus on the three most widely used collectors: ParallelOld, ConcurrentMarkSweep and G1. We find that they exhibit different behaviours in the two tested environments. In particular, the default Java GC, ParallelOld, proves to be stable and adequate in the first situation, while in the real-life scenario its use results in unacceptable pauses for the application threads. We believe that this is partly due to the memory requirements of the multicore server. G1 GC performs notably bad on the benchmarks when forced to have a full collection between the iterations of the application. Moreover, even though G1 and ConcurrentMarkSweep GCs introduce significantly lower pauses than ParallelOld in the client-server environment, they can still seriously impact the response time on the client. Pauses of around 3 seconds can make a real-time system unusable and may disrupt the communication between nodes in the case of large-scale distributed systems.

Mots clés

Fichier non déposé

Dates et versions

hal-01255057 , version 1 (13-01-2016)

Identifiants

Citer

Maria Carpen-Amarie, Patrick Marlier, Pascal Felber, Gaël Thomas. A performance study of Java garbage collectors on multicore architectures. PMAM 2015 : Sixth International Workshop on Programming Models and Applications for Multicores and Manycores, Feb 2015, San Francisco, United States. pp.20 - 29, ⟨10.1145/2712386.2712404⟩. ⟨hal-01255057⟩
69 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More