Abstract
The last few years have seen a rapid adoption of cloud computing for data-intensive tasks. In the cloud environment, it is common for applications to run under virtualization and to share a virtual machine with other applications (e.g., in a virtual private cloud setup). In this setting, our work identifies a new address translation bottleneck caused by memory fragmentation stemming from the interaction of virtualization, colocation, and the Linux memory allocator. The fragmentation results in the effective cache footprint of the host PT being larger than that of the guest PT. The bloated footprint of the host PT leads to frequent cache misses during nested page walks, increasing page walk latency.
In response to these observations, we propose PTEMagnet, a new software-only approach for reducing address translation latency in a public cloud. PTEMagnet prevents memory fragmentation through a fine-grained reservation-based allocator in the guest OS. Our evaluation shows that PTEMagnet is free of performance over-heads and can improve performance by up to 9% (4% on average). PTEMagnet is fully legacy-preserving, requiring no modifications to either user code or mechanisms for address translation and virtualization.
In response to these observations, we propose PTEMagnet, a new software-only approach for reducing address translation latency in a public cloud. PTEMagnet prevents memory fragmentation through a fine-grained reservation-based allocator in the guest OS. Our evaluation shows that PTEMagnet is free of performance over-heads and can improve performance by up to 9% (4% on average). PTEMagnet is fully legacy-preserving, requiring no modifications to either user code or mechanisms for address translation and virtualization.
Original language | English |
---|---|
Title of host publication | Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS 2021) |
Publisher | ACM Association for Computing Machinery |
Pages | 211–223 |
Number of pages | 13 |
ISBN (Electronic) | 9781450383172 |
DOIs | |
Publication status | Published - 19 Apr 2021 |
Event | 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems - https://asplos-conference.org/, Virtual, United States Duration: 19 Apr 2021 → 23 Apr 2021 |
Conference
Conference | 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems |
---|---|
Abbreviated title | ASPLOS 2021 |
Country/Territory | United States |
City | Virtual |
Period | 19/04/21 → 23/04/21 |
Keywords / Materials (for Non-textual outputs)
- virtual memory
- operating system
- virtualization