Repository logo
 
No Thumbnail Available
Publication

Locality-aware GC optimisations for big data workloads

Use this identifier to reference this record.
Name:Description:Size:Format: 
Locality-Aware_JSimao_ADEETC.pdf547.2 KBAdobe PDF Download

Advisor(s)

Abstract(s)

Many Big Data analytics and IoT scenarios rely on fast and non-relational storage (NoSQL) to help processing massive amounts of data. In addition, managed runtimes (e.g. JVM) are now widely used to support the execution of these NoSQL storage solutions, particularly when dealing with Big Data key-value store-driven applications. The benefits of such runtimes can however be limited by automatic memory management, i.e., Garbage Collection (GC), which does not consider object locality, resulting in objects that point to each other being dispersed in memory. In the long run this may break the service-level of applications due to extra page faults and degradation of locality on system-level memory caches. We propose, LAG1 (short for Locality-Aware G1), na extension of modern heap layouts to promote locality between groups of related objects. This is done with no previous application profiling and in a way that is transparent to the programmer, without requiring changes to existing code. The heap layout and algorithmic extensions are implemented on top of the Garbage First (G1) garbage collector (the new by-default collector) of the HotSpot JVM. Using the YCSB benchmarking tool to benchmark HBase, a well-known and widely used Big Data application, we show negligible overhead in frequent operations such as the allocation of new objects, and significant improvements when accessing data, supported by higher hits in system-level memory structures.

Description

Keywords

Cloud infrastructure Java virtual machine Garbage collection Locality-aware Big data

Citation

PATRÍCIO, Duarte; [et al] – Locality-aware GC optimisations for big data workloads. In OTM Confederated International Conferences On the Move to Meaningful Internet Systems. Valletta, Malta: Springer, 2017. ISBN 978-3-319-69458-0. Vol. 10574, pp. 50-67

Research Projects

Research ProjectShow more

Organizational Units

Journal Issue