Achieving middleware execution efficiency: hardware-assisted garbage collection operations

作者:Tang, Jie; Liu, Shaoshan*; Gu, Zhimin; Li, Xiao-Feng; Gaudiot, Jean-Luc
来源:Journal of Supercomputing, 2012, 59(3): 1101-1119.
DOI:10.1007/s11227-010-0493-0

摘要

Although virtualization technologies bring many benefits to cloud computing environments, as the virtual machines provide more features, the middleware layer has become bloated, introducing a high overhead. Our ultimate goal is to provide hardware-assisted solutions to improve the middleware performance in cloud computing environments. As a starting point, in this paper, we design, implement, and evaluate specialized hardware instructions to accelerate GC operations. We select GC because it is a common component in virtual machine designs and it incurs high performance and energy consumption overheads. We performed a profiling study on various GC algorithms to identify the GC performance hotspots, which contribute to more than 50% of the total GC execution time. By moving these hotspot functions into hardware, we achieved an order of magnitude speedup and significant improvement on energy efficiency. In addition, the results of our performance estimation study indicate that the hardware-assisted GC instructions can reduce the GC execution time by half and lead to a 7% improvement on the overall execution time.