Visible to the public Exploiting FIFO Scheduler to Improve Parallel Garbage Collection Performance.Conflict Detection Enabled

TitleExploiting FIFO Scheduler to Improve Parallel Garbage Collection Performance.
Publication TypeConference Proceedings
Year of Publication2016
AuthorsJunjie Qian, Witawas Srisa-an, Hong Jiang, Sharad Seth, Du Li, Pan Yi
Conference NameVEE '16 12th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments
Date Published3/25/2016
PublisherACM, New York, NY
Conference LocationAtlanta, GA
ISBN Number978-1-4503-3947-6
KeywordsApr'16, CMU, July'16
Abstract

Recent studies have found that parallel garbage collection performs worse with more CPUs and more collector threads. As part of this work, we further investigate this enomenon and find that poor scalability is worst in highly scalable Java applications. Our investigation to find the causes clearly reveals that efficient multi-threading in an application can prolong the average object lifespan, which results in less effective garbage collection. We also find that prolonging lifespan is the direct result of Linux's Completely Fair Scheduler due to its round-robin like behavior that can increase the heap contention between the application threads. Instead, if we use pseudo first-in-first-out to schedule application threads in large multicore systems, the garbage collection scalability is significantly improved while the time spent in garbage collection is reduced by as much as 21%. The average execution time of the 24 Java applications used in our study is also reduced by 11%. Based on this observation, we propose two approaches to optimally select scheduling policies based on application scalability profile. Our first approach uses the profile information from one execution to tune the subsequent executions. Our second approach dynamically collects profile information and performs policy selection during execution.

DOI10.1145/2892242.2892248
Citation Keynode-25985

Other available formats:

Qian_Exploit_FIFO_JA.pdf
AttachmentTaxonomyKindSize
Qian_Exploit_FIFO_JA.pdfPDF document2.61 MBDownloadPreview
AttachmentSize
bytes