TY - GEN
T1 - Making Dynamic Page Coalescing Effective on Virtualized Clouds
AU - Jia, Weiwei
AU - Zhang, Jiyuan
AU - Shan, Jianchen
AU - Ding, Xiaoning
N1 - Publisher Copyright:
© 2023 Association for Computing Machinery.
PY - 2023/5/8
Y1 - 2023/5/8
N2 - Using huge pages has become a mainstream method to reduce address translation overhead for big memory workloads in modern computer systems. To create huge pages, system software usually uses page coalescing methods to dynamically combine contiguous base pages. Though page coalescing methods help effectively reduce address translation overhead on native systems, as the paper shows, their effectiveness is substantially undermined on virtualized platforms. The paper identifies this problem and analyzes the causes. It reveals and experimentally confirms that only huge guest pages backed by huge host pages can effectively reduce address translation overhead. Existing page coalescing methods only aim to increase huge pages at each layer, and fail to consider this cross-layer requirement on the alignmentment of huge pages. To address this issue, the paper designs Gemini as a cross-layer solution that guides the formation and allocation of huge pages in the guest and the host. With Gemini, the memory management at one layer is aware of the huge pages at the other layer, and manages carefully the memory regions corresponding to these huge pages. This is to increase the potential of forming and allocating huge pages from these regions and minimize the associated cost. Then, it guides page coalescing and huge page allocation to first consider these regions before other memory regions. Because huge pages are preferentially formed and allocated from these regions and less from other regions, huge guest pages backed by huge host pages can be increased without aggravating the adverse effects incurred by excessive huge pages.
AB - Using huge pages has become a mainstream method to reduce address translation overhead for big memory workloads in modern computer systems. To create huge pages, system software usually uses page coalescing methods to dynamically combine contiguous base pages. Though page coalescing methods help effectively reduce address translation overhead on native systems, as the paper shows, their effectiveness is substantially undermined on virtualized platforms. The paper identifies this problem and analyzes the causes. It reveals and experimentally confirms that only huge guest pages backed by huge host pages can effectively reduce address translation overhead. Existing page coalescing methods only aim to increase huge pages at each layer, and fail to consider this cross-layer requirement on the alignmentment of huge pages. To address this issue, the paper designs Gemini as a cross-layer solution that guides the formation and allocation of huge pages in the guest and the host. With Gemini, the memory management at one layer is aware of the huge pages at the other layer, and manages carefully the memory regions corresponding to these huge pages. This is to increase the potential of forming and allocating huge pages from these regions and minimize the associated cost. Then, it guides page coalescing and huge page allocation to first consider these regions before other memory regions. Because huge pages are preferentially formed and allocated from these regions and less from other regions, huge guest pages backed by huge host pages can be increased without aggravating the adverse effects incurred by excessive huge pages.
KW - Cloud Computing
KW - Memory Management
KW - Operating Systems
KW - Virtualization
UR - http://www.scopus.com/inward/record.url?scp=85160207253&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85160207253&partnerID=8YFLogxK
U2 - 10.1145/3552326.3567487
DO - 10.1145/3552326.3567487
M3 - Conference contribution
AN - SCOPUS:85160207253
T3 - Proceedings of the 18th European Conference on Computer Systems, EuroSys 2023
SP - 298
EP - 313
BT - Proceedings of the 18th European Conference on Computer Systems, EuroSys 2023
PB - Association for Computing Machinery, Inc
T2 - 18th European Conference on Computer Systems, EuroSys 2023
Y2 - 8 May 2023 through 12 May 2023
ER -