Effective Huge Page Strategies for TLB Miss Reduction in Nested Virtualization
Document Type
Article
Publication Date
1-1-2024
Abstract
Huge page strategies, such as Linux Transparent Huge Page (THP), have become a prevalent solution to mitigate the performance bottleneck caused by increasingly high memory address translation overhead. However, in cloud environments, virtualization presents a two-fold challenge, exacerbating address translation overhead and undermining the effectiveness of huge page strategies. To effectively reduce address translation overhead, huge page strategies in the host and guest virtual machines (VMs) must work in concert for 'proper huge page alignment', i.e., huge pages in guest VMs being backed by host huge pages. This requires a cross-layer coordinating mechanism, which has been designed targeting non-nested virtualization settings. The paper introduces xGemini as an efficient solution targeting nested virtualization settings, where addressing these issues is particularly challenging, given the additional obstacles in creating synergy between host and guest VMs, due to an extra layer of page mappings by guest hypervisors. xGemini addresses these challenges by improving the shadow paging mechanism. Evaluation based on the KVM/Linux prototype implementation and diverse real-world applications shows xGemini greatly reduces TLB misses and enhances application performance in nested virtualization.
Identifier
85192728170 (Scopus)
Publication Title
IEEE Transactions on Computers
External Full Text Location
https://doi.org/10.1109/TC.2024.3398498
e-ISSN
15579956
ISSN
00189340
First Page
1983
Last Page
1996
Issue
8
Volume
73
Recommended Citation
Jia, Weiwei; Zhang, Jiyuan; Shan, Jianchen; and Ding, Xiaoning, "Effective Huge Page Strategies for TLB Miss Reduction in Nested Virtualization" (2024). Faculty Publications. 1027.
https://digitalcommons.njit.edu/fac_pubs/1027