Tracking working set sizes of virtual machines using miss ratio curves

Thesis: M. Eng., Massachusetts Institute of Technology, Department of Mechanical Engineering, 2017. === Cataloged from PDF version of thesis. === Includes bibliographical references (page 75). === Working sets are sets of pages that have been most recently accessed by virtual machines (VMs). They ar...

Full description

Bibliographic Details
Main Author: Reth, Sarandeth
Other Authors: Saman Amarasinghe and Yuri Baskakov.
Format: Others
Language:English
Published: Massachusetts Institute of Technology 2018
Subjects:
Online Access:http://hdl.handle.net/1721.1/113767
id ndltd-MIT-oai-dspace.mit.edu-1721.1-113767
record_format oai_dc
spelling ndltd-MIT-oai-dspace.mit.edu-1721.1-1137672019-05-02T16:29:54Z Tracking working set sizes of virtual machines using miss ratio curves Tracking working set sizes of VMs using MRCs Reth, Sarandeth Saman Amarasinghe and Yuri Baskakov. Massachusetts Institute of Technology. Department of Mechanical Engineering. Massachusetts Institute of Technology. Department of Mechanical Engineering. Mechanical Engineering. Thesis: M. Eng., Massachusetts Institute of Technology, Department of Mechanical Engineering, 2017. Cataloged from PDF version of thesis. Includes bibliographical references (page 75). Working sets are sets of pages that have been most recently accessed by virtual machines (VMs). They are often used within the memory scheduler of a hypervisor to estimate the memory demands of VMs running on the hypervisor. In order to manage the memory resources of the hypervisor efficiently, it is essential that these working set sizes be estimated accurately at any given point in time. Currently, a statistical sampling strategy is used within VMware ESX hypervisors to estimate the working set sizes of VMs. Using this technique, a small number of random pages is selected to form a sample set. Access to these sampled pages is then tracked and the percentage of sampled pages that are accessed is used to estimate the working set size of a VM. This technique, though simple, does not provide a very accurate estimation of the working set size. A more promising tool that can be used to accurately estimate the working set size of a VM is a miss ratio curve (MRC). An MRC is a curve that plots the predicted miss ratio of a VM against the total available memory given to the VM. Even though MRCs can estimate working set sizes of VMs with much better accuracy, they are still not widely used in practice because building these curves incurs too much overhead, thus affecting the overall system performance. However, a recent study has found a way to reduce the cost of building these curves, making them a promising tool that can be used to estimate working set sizes. In this thesis, I propose that MRCs be used as an alternative to the statistical sampling strategy currently employed within VMware ESX. I will demonstrate how to apply the state of the art technique found in the recent study to construct accurate MRCs without incurring too much overhead, and use these curves to track working set sizes of VMs. I will also show that these curves can estimate working set sizes of VMs with much better accuracy than the statistical sampling strategy. by Sarandeth Reth. M. Eng. 2018-02-16T20:05:00Z 2018-02-16T20:05:00Z 2017 2017 Thesis http://hdl.handle.net/1721.1/113767 1022281929 eng MIT theses are protected by copyright. They may be viewed, downloaded, or printed from this source but further reproduction or distribution in any format is prohibited without written permission. http://dspace.mit.edu/handle/1721.1/7582 75 pages application/pdf Massachusetts Institute of Technology
collection NDLTD
language English
format Others
sources NDLTD
topic Mechanical Engineering.
spellingShingle Mechanical Engineering.
Reth, Sarandeth
Tracking working set sizes of virtual machines using miss ratio curves
description Thesis: M. Eng., Massachusetts Institute of Technology, Department of Mechanical Engineering, 2017. === Cataloged from PDF version of thesis. === Includes bibliographical references (page 75). === Working sets are sets of pages that have been most recently accessed by virtual machines (VMs). They are often used within the memory scheduler of a hypervisor to estimate the memory demands of VMs running on the hypervisor. In order to manage the memory resources of the hypervisor efficiently, it is essential that these working set sizes be estimated accurately at any given point in time. Currently, a statistical sampling strategy is used within VMware ESX hypervisors to estimate the working set sizes of VMs. Using this technique, a small number of random pages is selected to form a sample set. Access to these sampled pages is then tracked and the percentage of sampled pages that are accessed is used to estimate the working set size of a VM. This technique, though simple, does not provide a very accurate estimation of the working set size. A more promising tool that can be used to accurately estimate the working set size of a VM is a miss ratio curve (MRC). An MRC is a curve that plots the predicted miss ratio of a VM against the total available memory given to the VM. Even though MRCs can estimate working set sizes of VMs with much better accuracy, they are still not widely used in practice because building these curves incurs too much overhead, thus affecting the overall system performance. However, a recent study has found a way to reduce the cost of building these curves, making them a promising tool that can be used to estimate working set sizes. In this thesis, I propose that MRCs be used as an alternative to the statistical sampling strategy currently employed within VMware ESX. I will demonstrate how to apply the state of the art technique found in the recent study to construct accurate MRCs without incurring too much overhead, and use these curves to track working set sizes of VMs. I will also show that these curves can estimate working set sizes of VMs with much better accuracy than the statistical sampling strategy. === by Sarandeth Reth. === M. Eng.
author2 Saman Amarasinghe and Yuri Baskakov.
author_facet Saman Amarasinghe and Yuri Baskakov.
Reth, Sarandeth
author Reth, Sarandeth
author_sort Reth, Sarandeth
title Tracking working set sizes of virtual machines using miss ratio curves
title_short Tracking working set sizes of virtual machines using miss ratio curves
title_full Tracking working set sizes of virtual machines using miss ratio curves
title_fullStr Tracking working set sizes of virtual machines using miss ratio curves
title_full_unstemmed Tracking working set sizes of virtual machines using miss ratio curves
title_sort tracking working set sizes of virtual machines using miss ratio curves
publisher Massachusetts Institute of Technology
publishDate 2018
url http://hdl.handle.net/1721.1/113767
work_keys_str_mv AT rethsarandeth trackingworkingsetsizesofvirtualmachinesusingmissratiocurves
AT rethsarandeth trackingworkingsetsizesofvmsusingmrcs
_version_ 1719041709191462912