skip to main content
10.1145/1851476.1851515acmconferencesArticle/Chapter ViewAbstractPublication PageshpdcConference Proceedingsconference-collections
research-article

Improving host swapping using adaptive prefetching and paging notifier

Published: 21 June 2010 Publication History

Abstract

In a virtualized system, the hypervisor may be forced to reclaim memory by swapping out pages of guest operating systems (OSes) when the regular memory balancing mechanisms, such as page sharing and ballooning, fail to revoke enough memory for reallocation purpose, which always leads to serious performance degradation. In this paper, we introduce Adaptive Swap Prefetcher (ASP) and Host Swapping Notifier (HSN), the effective and lightweight solutions to gracefully reduce the degradation in system performance when host swapping is triggered. ASP smartly prefetches more pages from the host swap file as long as the good spatial locality persists so as to reduce disk transfers. The guest OS will be notified by HSN when the hypervisor evicts pages, which then hides those pages from its memory reclamation routines to eliminate unnecessary guest swapping and to prevent the occurrence of double paging anomaly. Currently ASP and HSN are implemented in KVM, experimental results show that guest performance can be improved by a factory of 1.4x and 2x respectively using ASP and HSN.

References

[1]
}}K. Chew and A. Silberschatz. On the avoidance of the double paging anomaly in virtual memory systems. 1992.
[2]
}}W. Fengguang, X. Hongsheng, and X. Chenfeng. On the design of a new linux readahead framework. SIGOPS Oper. Syst. Rev., 42(5):75--84, 2008.
[3]
}}B. S. Gill and L. A. D. Bathen. Amp: Adaptive multi-stream prefetching in a shared cache. In FAST '07: 5th USENIX Conference on File and Storage Technologies, pages 185--198, Berkeley, CA, USA, 2007. USENIX.
[4]
}}R. P. Goldberg and R. Hassinger. The double paging anomaly. In AFIPS '74: Proceedings of the May 6--10, 1974, national computer conference and exposition, pages 195--199, New York, NY, USA, 1974. ACM.
[5]
}}C. Li, K. Shen, and A. E. Papathanasiou. Competitive prefetching for concurrent sequential i/o. In EuroSys '07: Proceedings of the 2nd ACM SIGOPS/EuroSys European Conference on Computer Systems 2007, pages 189--202, New York, NY, USA, 2007. ACM.
[6]
}}K. OHMACHI, T. NISHIGAKI, and S. TAKASAKI. Analysis of pawp/vms: Paging algorithm to prevent double paging anomaly in virtual machine systems. Journal of information processing, 4(2):55--60, 19810715.
[7]
}}M. Schwidefsky, H. Franke, R. Mansell, H. Raj, D. Osisek, and J. Choi. Collaborative memory management in hosted linux environments. In OLS '06: 2006 Ottawa Linux Symposium, pages 313--328, 2006.
[8]
}}D. Su, W. Chen, W. Huang, H. Shan, and Y. Jiang. Smartvisor: towards an efficient and compatible virtualization platform for embedded system. In IIES '09: Proceedings of the Second Workshop on Isolation and Integration in Embedded Systems, pages 37--41, New York, NY, USA, 2009. ACM.
[9]
}}C. A. Waldspurger. Memory resource management in vmware esx server. SIGOPS Oper. Syst. Rev., 36(SI):181--194, 2002.
[10]
}}Z. Zhang, A. Kulkarni, X. Ma, and Y. Zhou. Memory resource allocation for file system prefetching: from a supply chain management perspective. In EuroSys '09: Proceedings of the 4th ACM European conference on Computer systems, pages 75--88, New York, NY, USA, 2009. ACM.

Cited By

View all
  • (2017)SA-PFRS: Semantics-Aware Page Frame Reclamation System in Virtualized Environments2017 IEEE 23rd International Conference on Parallel and Distributed Systems (ICPADS)10.1109/ICPADS.2017.00093(684-693)Online publication date: Dec-2017

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
HPDC '10: Proceedings of the 19th ACM International Symposium on High Performance Distributed Computing
June 2010
911 pages
ISBN:9781605589428
DOI:10.1145/1851476
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 21 June 2010

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. KVM
  2. double paging
  3. host swapping
  4. prefetching
  5. virtualization

Qualifiers

  • Research-article

Funding Sources

Conference

HPDC '10
Sponsor:

Acceptance Rates

Overall Acceptance Rate 166 of 966 submissions, 17%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 28 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2017)SA-PFRS: Semantics-Aware Page Frame Reclamation System in Virtualized Environments2017 IEEE 23rd International Conference on Parallel and Distributed Systems (ICPADS)10.1109/ICPADS.2017.00093(684-693)Online publication date: Dec-2017

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media