{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,21]],"date-time":"2026-09-21T11:12:49Z","timestamp":1789989169325,"version":"4.0.1"},"reference-count":39,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2016,3,28]],"date-time":"2016-03-28T00:00:00Z","timestamp":1459123200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"863 Program of China","award":["2012AA010905,2015AA015305"],"award-info":[{"award-number":["2012AA010905,2015AA015305"]}]},{"DOI":"10.13039\/501100013286","name":"Research Fund for the Doctoral Program of Higher Education of China","doi-asserted-by":"crossref","award":["20110001110101"],"award-info":[{"award-number":["20110001110101"]}],"id":[{"id":"10.13039\/501100013286","id-type":"DOI","asserted-by":"crossref"}]},{"DOI":"10.13039\/501100001809","name":"National Science Foundation of China","doi-asserted-by":"crossref","award":["61232008,61272158, 61328201, 61472008,61170055"],"award-info":[{"award-number":["61232008,61272158, 61328201, 61472008,61170055"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Archit. Code Optim."],"published-print":{"date-parts":[[2016,4,5]]},"abstract":"<jats:p>Allocating memory dynamically for virtual machines (VMs) according to their demands provides significant benefits as well as great challenges. Efficient memory resource management requires knowledge of the memory demands of applications or systems at runtime. A widely proposed approach is to construct a miss ratio curve (MRC) for a VM, which not only summarizes the current working set size (WSS) of the VM but also models the relationship between its performance and the target memory allocation size. Unfortunately, the cost of monitoring and maintaining the MRC structures is nontrivial. This article first introduces a low-cost WSS tracking system with effective optimizations on data structures, as well as an efficient mechanism to decrease the frequency of monitoring. We also propose a Memory Balancer (MEB), which dynamically reallocates guest memory based on the predicted WSS. Our experimental results show that our prediction schemes yield a high accuracy of 95.2% and low overhead of 2%. Furthermore, the overall system throughput can be significantly improved with MEB, which brings a speedup up to 7.4 for two to four VMs and 4.54 for an overcommitted system with 16 VMs.<\/jats:p>","DOI":"10.1145\/2851501","type":"journal-article","created":{"date-parts":[[2016,3,28]],"date-time":"2016-03-28T12:53:25Z","timestamp":1459169605000},"page":"1-25","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":12,"title":["Dynamic Memory Balancing for Virtualization"],"prefix":"10.1145","volume":"13","author":[{"given":"Zhigang","family":"Wang","sequence":"first","affiliation":[{"name":"Peking University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaolin","family":"Wang","sequence":"additional","affiliation":[{"name":"Peking University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Fang","family":"Hou","sequence":"additional","affiliation":[{"name":"Peking University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yingwei","family":"Luo","sequence":"additional","affiliation":[{"name":"Peking University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhenlin","family":"Wang","sequence":"additional","affiliation":[{"name":"Michigan Technological University"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2016,3,28]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/2576195.2576197"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/2541940.2541969"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1165389.945462"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/2523616.2527081"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/1167473.1167488"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPCA.2005.27"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/363095.363141"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.1980.230464"},{"key":"e_1_2_1_9_1","volume-title":"Proceedings. 29th Annual International Symposium on Computer Architecture. IEEE, 233--244","author":"Ashutosh","unstructured":"Ashutosh S. Dhodapkar and James E. Smith. 2002. Managing multi-configuration hardware via dynamic working set analysis . In Proceedings. 29th Annual International Symposium on Computer Architecture. IEEE, 233--244 . Ashutosh S. Dhodapkar and James E. Smith. 2002. Managing multi-configuration hardware via dynamic working set analysis. In Proceedings. 29th Annual International Symposium on Computer Architecture. IEEE, 233--244."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2150976.2150982"},{"key":"e_1_2_1_11_1","volume-title":"Proc. RESoLVE","author":"Gordon Abel","year":"2011","unstructured":"Abel Gordon , Michael Hines , Dilma Da Silva , Muli Ben-Yehuda , Marcio Silva , and Gabriel Lizarraga . 2011 . Ginkgo: Automated, application-driven memory overcommitment for cloud computing . Proc. RESoLVE (2011). Abel Gordon, Michael Hines, Dilma Da Silva, Muli Ben-Yehuda, Marcio Silva, and Gabriel Lizarraga. 2011. Ginkgo: Automated, application-driven memory overcommitment for cloud computing. Proc. RESoLVE (2011)."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1186736.1186737"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/2576195.2576203"},{"key":"e_1_2_1_14_1","volume-title":"Intel 64 and IA-32 architectures software developers manual","year":"2015","unstructured":"Intel. 2015. Intel 64 and IA-32 architectures software developers manual . Volume 3A: System Programming Guide, Part 1 ( 2015 ). http:\/\/www.intel.com\/content\/dam\/www\/public\/us\/en\/documents\/manuals\/64-ia-32-architectures-software-developer-manual-325462.pdf. Intel. 2015. Intel 64 and IA-32 architectures software developers manual. Volume 3A: System Programming Guide, Part 1 (2015). http:\/\/www.intel.com\/content\/dam\/www\/public\/us\/en\/documents\/manuals\/64-ia-32-architectures-software-developer-manual-325462.pdf."},{"key":"e_1_2_1_15_1","volume-title":"Arpaci-Dusseau","author":"Jones Stephen T.","year":"2006","unstructured":"Stephen T. Jones , Andrea C. Arpaci-Dusseau , and Remzi H . Arpaci-Dusseau . 2006 . Geiger : Monitoring the buffer cache in a virtual machine environment. In ACM SIGOPS Operating Systems Review, Vol. 40 . ACM , 14--24. Stephen T. Jones, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau. 2006. Geiger: Monitoring the buffer cache in a virtual machine environment. In ACM SIGOPS Operating Systems Review, Vol. 40. ACM, 14--24."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1109\/TC.2010.83"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2014.06.018"},{"key":"e_1_2_1_18_1","volume-title":"Proceedings of the USENIX Annual Technical Conference. 29--43","author":"Lu Pin","year":"2007","unstructured":"Pin Lu and Kai Shen . 2007 . Virtual machine memory access tracing with hypervisor exclusive cache . In Proceedings of the USENIX Annual Technical Conference. 29--43 . Pin Lu and Kai Shen. 2007. Virtual machine memory access tracing with hypervisor exclusive cache. In Proceedings of the USENIX Annual Technical Conference. 29--43."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1064978.1065034"},{"key":"e_1_2_1_20_1","volume-title":"Memory overcommit... without the commitment. Xen Summit","author":"Magenheimer Dan","year":"2008","unstructured":"Dan Magenheimer . 2008. Memory overcommit... without the commitment. Xen Summit ( 2008 ), 1--3. Dan Magenheimer. 2008. Memory overcommit... without the commitment. Xen Summit (2008), 1--3."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1147\/sj.92.0078"},{"key":"e_1_2_1_22_1","volume-title":"Proceedings of the International Symposium on Code Generation and Optimization (CGO\u201906)","author":"Nagpurkar Priya","unstructured":"Priya Nagpurkar , Michael Hind , Chandra Krintz , Peter F. Sweeney , and V. T. Rajan . 2006. Online phase detection algorithms . In Proceedings of the International Symposium on Code Generation and Optimization (CGO\u201906) . IEEE. Priya Nagpurkar, Michael Hind, Chandra Krintz, Peter F. Sweeney, and V. T. Rajan. 2006. Online phase detection algorithms. In Proceedings of the International Symposium on Code Generation and Optimization (CGO\u201906). IEEE."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1993744.1993790"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2670979.2671007"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/1024393.1024414"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1109\/PACT.2001.953283"},{"key":"e_1_2_1_27_1","volume-title":"ACM SIGARCH Computer Architecture News","volume":"31","author":"Sherwood Timothy","year":"2003","unstructured":"Timothy Sherwood , Suleyman Sair , and Brad Calder . 2003 . Phase tracking and prediction . In ACM SIGARCH Computer Architecture News , Vol. 31 . ACM, New York, NY, 336--349. Timothy Sherwood, Suleyman Sair, and Brad Calder. 2003. Phase tracking and prediction. In ACM SIGARCH Computer Architecture News, Vol. 31. ACM, New York, NY, 336--349."},{"key":"e_1_2_1_28_1","volume-title":"Abraham","author":"Sugumar Rabin A.","year":"1993","unstructured":"Rabin A. Sugumar and Santosh G . Abraham . 1993 . Efficient Simulation of Caches Under Optimal Replacement with Applications to Miss Characterization. Vol. 21 . ACM, New York, NY. Rabin A. Sugumar and Santosh G. Abraham. 1993. Efficient Simulation of Caches Under Optimal Replacement with Applications to Miss Characterization. Vol. 21. ACM, New York, NY."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/1508244.1508259"},{"key":"e_1_2_1_30_1","volume-title":"SI","author":"Waldspurger Carl A.","year":"2002","unstructured":"Carl A. Waldspurger . 2002. Memory resource management in VMware ESX server. ACM SIGOPS Operat. Syst. Rev. 36 , SI ( 2002 ), 181--194. Carl A. Waldspurger. 2002. Memory resource management in VMware ESX server. ACM SIGOPS Operat. Syst. Rev. 36, SI (2002), 181--194."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.5555\/2750482.2750490"},{"key":"e_1_2_1_32_1","volume-title":"Proceedings of the 11th USENIX Symposium on Operating Systems Design and Implementation (OSDI\u201914)","author":"Wires Jake","year":"2014","unstructured":"Jake Wires , Stephen Ingram , Zachary Drudi , Nicholas J. A. Harvey , Andrew Warfield , and Coho Data . 2014 . Characterizing storage workloads with counter stacks . In Proceedings of the 11th USENIX Symposium on Operating Systems Design and Implementation (OSDI\u201914) . Jake Wires, Stephen Ingram, Zachary Drudi, Nicholas J. A. Harvey, Andrew Warfield, and Coho Data. 2014. Characterizing storage workloads with counter stacks. In Proceedings of the 11th USENIX Symposium on Operating Systems Design and Implementation (OSDI\u201914)."},{"key":"e_1_2_1_33_1","volume-title":"Proceedings of the 7th Symposium on Operating Systems Design and Implementation. USENIX Association, 103--116","author":"Yang Ting","unstructured":"Ting Yang , Emery D. Berger , Scott F. Kaplan , J. Eliot , and B. Moss . 2006. CRAMM: Virtual memory support for garbage-collected applications . In Proceedings of the 7th Symposium on Operating Systems Design and Implementation. USENIX Association, 103--116 . Ting Yang, Emery D. Berger, Scott F. Kaplan, J. Eliot, and B. Moss. 2006. CRAMM: Virtual memory support for garbage-collected applications. In Proceedings of the 7th Symposium on Operating Systems Design and Implementation. USENIX Association, 103--116."},{"key":"e_1_2_1_34_1","volume-title":"Proceedings of the 4th International Symposium on Memory Management. ACM","author":"Yang Ting","unstructured":"Ting Yang , Matthew Hertz , Emery D. Berger , Scott F. Kaplan , J Eliot , and B. Moss . 2004. Automatic heap sizing: Taking real memory into account . In Proceedings of the 4th International Symposium on Memory Management. ACM , New York, NY, 61--72. Ting Yang, Matthew Hertz, Emery D. Berger, Scott F. Kaplan, J Eliot, and B. Moss. 2004. Automatic heap sizing: Taking real memory into account. In Proceedings of the 4th International Symposium on Memory Management. ACM, New York, NY, 61--72."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1519065.1519076"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.5555\/2002181.2002198"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/1618525.1618530"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1024393.1024415"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1109\/GCC.2010.28"}],"container-title":["ACM Transactions on Architecture and Code Optimization"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2851501","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2851501","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T04:39:15Z","timestamp":1750221555000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2851501"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016,3,28]]},"references-count":39,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2016,4,5]]}},"alternative-id":["10.1145\/2851501"],"URL":"https:\/\/doi.org\/10.1145\/2851501","relation":{},"ISSN":["1544-3566","1544-3973"],"issn-type":[{"value":"1544-3566","type":"print"},{"value":"1544-3973","type":"electronic"}],"subject":[],"published":{"date-parts":[[2016,3,28]]},"assertion":[{"value":"2015-04-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2015-11-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2016-03-28","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}