Affiliation:
1. Ghent University, Belgium
2. Ghent University and Vrije Universiteit Brussel, Belgium
3. Intel Corporation, Kontich, Belgium
Abstract
While hardware is evolving toward heterogeneous multicore architectures, modern software applications are increasingly written in managed languages. Heterogeneity was born of a need to improve energy efficiency; however, we want the performance of our applications not to suffer from limited resources. How best to schedule managed language applications on a mix of big, out-of-order cores and small, in-order cores is an open question, complicated by the host of service threads that perform key tasks such as memory management. These service threads compete with the application for core and memory resources, and garbage collection (GC) must sometimes suspend the application if there is not enough memory available for allocation.
In this article, we explore concurrent garbage collection’s behavior, particularly when it becomes critical, and how to schedule it on a heterogeneous system to optimize application performance. While some applications see no difference in performance when GC threads are run on big versus small cores, others—those with
GC criticality
—see up to an 18% performance improvement. We develop a new, adaptive scheduling algorithm that responds to GC criticality signals from the managed runtime, giving more big-core cycles to the concurrent collector when it is under pressure and in danger of suspending the application. Our experimental results show that our GC-criticality-aware scheduler is robust across a range of heterogeneous architectures with different core counts and frequency scaling and across heap sizes. Our algorithm is performance and energy neutral for GC-uncritical Java applications and significantly speeds up GC-critical applications by 16%, on average, while being 20% more energy efficient for a heterogeneous multicore with three big cores and one small core.
Publisher
Association for Computing Machinery (ACM)
Subject
Hardware and Architecture,Information Systems,Software
Cited by
8 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Analyzing and Improving the Scalability of In-Memory Indices for Managed Search Engines;Proceedings of the 2023 ACM SIGPLAN International Symposium on Memory Management;2023-06-06
2. CASH: correlation-aware scheduling to mitigate soft error impact on heterogeneous multicores;Connection Science;2020-05-18
3. Design, implementation, and application of GPU-based Java bytecode interpreters;Proceedings of the ACM on Programming Languages;2019-10-10
4. To expose, or not to expose, hardware heterogeneity to runtimes;Proceedings of the Conference Companion of the 3rd International Conference on Art, Science, and Engineering of Programming;2019-04
5. Composite-ISA Cores: Enabling Multi-ISA Heterogeneity Using a Single ISA;2019 IEEE International Symposium on High Performance Computer Architecture (HPCA);2019-02