TY - GEN
T1 - Enhancing virtualized application performance through dynamic adaptive paging mode selection
AU - Bae, Chang S.
AU - Lange, John R.
AU - Dinda, Peter A.
PY - 2011
Y1 - 2011
N2 - Virtual address translation in a virtual machine monitor (VMM) for modern x86 processors can be implemented using a software approach known as shadow paging or a hardware approach known as nested paging. Most VMMs, including our Palacios VMM, support both. Using a range of benchmark measurements, we show that which approach is preferable for achieving high application performance under virtualization is workload dependent, and that the performance differences between the two approaches can be substantial. We have developed an algorithm, based on measuring the TLB miss rate and the VMM exit rate for paging-related exits, for measuring the performance of the current paging approach during normal execution and predicting when switching approaches is likely to be beneficial to the application. We combine this with new support in Palacios for switching paging approaches at any time to implement a dynamic adaptive paging approach called DAV2M for dynamically adaptive virtualized virtual memory. DAV2M attempts to deliver application performance that is the same or better than the best static approach for a given workload. Our evaluation shows that it does so, and, for a range of benchmarks, DAV2M delivers performance within 5 - 8% of native, reducing overheads by as much as a factor of four. Although both the shadow and nested paging approaches are evolving, the dynamic adaptive approach can combine their best qualities.
AB - Virtual address translation in a virtual machine monitor (VMM) for modern x86 processors can be implemented using a software approach known as shadow paging or a hardware approach known as nested paging. Most VMMs, including our Palacios VMM, support both. Using a range of benchmark measurements, we show that which approach is preferable for achieving high application performance under virtualization is workload dependent, and that the performance differences between the two approaches can be substantial. We have developed an algorithm, based on measuring the TLB miss rate and the VMM exit rate for paging-related exits, for measuring the performance of the current paging approach during normal execution and predicting when switching approaches is likely to be beneficial to the application. We combine this with new support in Palacios for switching paging approaches at any time to implement a dynamic adaptive paging approach called DAV2M for dynamically adaptive virtualized virtual memory. DAV2M attempts to deliver application performance that is the same or better than the best static approach for a given workload. Our evaluation shows that it does so, and, for a range of benchmarks, DAV2M delivers performance within 5 - 8% of native, reducing overheads by as much as a factor of four. Although both the shadow and nested paging approaches are evolving, the dynamic adaptive approach can combine their best qualities.
KW - operating systems
KW - performance analysis
KW - virtual machine monitors
UR - https://www.scopus.com/pages/publications/79960199943
U2 - 10.1145/1998582.1998639
DO - 10.1145/1998582.1998639
M3 - Conference contribution
AN - SCOPUS:79960199943
SN - 9781450306072
T3 - Proceedings of the 8th ACM International Conference on Autonomic Computing, ICAC 2011 and Co-located Workshops
SP - 255
EP - 264
BT - Proceedings of the 8th ACM International Conference on Autonomic Computing, ICAC 2011 and Co-located Workshops
T2 - 8th ACM International Conference on Autonomic Computing, ICAC 2011 and Co-located Workshops
Y2 - 14 June 2011 through 18 June 2011
ER -