Skip to main navigation Skip to search Skip to main content

ATuMm: Auto-tuning Memory Manager in Apache Spark

  • Danlin Jia
  • , Janki Bhimani
  • , Son Nam Nguyen
  • , Bo Sheng
  • , Ningfang Mi
  • College of Engineering
  • University of Massachusetts Boston

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Apache Spark is an in-memory analytic framework that has been adopted in the industry and research fields. Two memory managers, Static and Unified, are available in Spark to allocate memory for caching Resilient Distributed Datasets (RDDs) and executing tasks. However, we found that the static memory manager (SMM) lacks flexibility, while the unified memory manager (UMM) puts heavy pressure on the garbage collection of JVM on which Spark resides. To address these issues, we design an auto-tuning memory manager (ATuMm) to support dynamic memory allocation with the consideration of both memory demands and latency introduced by garbage collection. We implement our new memory manager in Spark 2.2.0 and evaluate it by conducting experiments in a real Spark cluster. Our experimental results show that our auto-tuning memory manager can reduce the total garbage collection time and thus further improve the performance (i.e., reduced latency) of Spark applications, compared to the existing Spark memory management solutions.

Original languageEnglish
Title of host publication2019 IEEE 38th International Performance Computing and Communications Conference, IPCCC 2019
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781728110257
DOIs
StatePublished - Oct 2019
Event38th IEEE International Performance Computing and Communications Conference, IPCCC 2019 - London, United Kingdom
Duration: Oct 29 2019Oct 31 2019

Publication series

Name2019 IEEE 38th International Performance Computing and Communications Conference, IPCCC 2019

Conference

Conference38th IEEE International Performance Computing and Communications Conference, IPCCC 2019
Country/TerritoryUnited Kingdom
CityLondon
Period10/29/1910/31/19

ASJC Scopus Subject Areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'ATuMm: Auto-tuning Memory Manager in Apache Spark'. Together they form a unique fingerprint.

Cite this