skip to main content
10.1145/3019612.3019737acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

A page replacement algorithm based on frequency derived from reference history

Published:03 April 2017Publication History

ABSTRACT

Page replacement algorithm is one of the core components in modern operating systems. It decides which victim page to evict from main memory by analyzing attributes of pages referenced. The evicted page is then moved to backing store in the memory hierarchy, and moved back to main memory once referenced again. The technique that utilizes storage as part of memory is called swapping. However, there is a non-trivial performance gap between memory and storage. For example, performance of permanent storage like Solid-State Disk (SSD) is much slower, e.g. 104 longer write latency, than DRAM [9]. As a result, swapping between main memory and storage causes system performance to a discernible drop. Nevertheless, a higher hit ratio of page replacement algorithm implies less I/O waits to storage, and consequently a better performance overall.

In this paper we propose a log-based page replacement algorithm that assumes better hints for page replacement can be approached through analysis of page reference history. The algorithm selects victim page that holds lowest reference rate in a window-sized log. A simulation shows that our method outperforms conventional page replacement algorithms by 11+ at best.

References

  1. pmem.io, Persistent Memory Programming, http://pmem.io/.Google ScholarGoogle Scholar
  2. Stress-ng. http://kernel.ubuntu.com/~cking/stress-ng/.Google ScholarGoogle Scholar
  3. M. D. Assunção, R. N. Calheiros, S. Bianchi, M. A. Netto, and R. Buyya. Big Data computing and clouds: Trends and future directions. Journal of Parallel and Distributed Computing, 79--80:3--15, 2015. Special Issue on Scalable Systems for Big Data Management and Analytics. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. L. A. Bélády. A Study of Replacement Algorithms for a Virtual-storage Computer. IBM Syst. J., 5(2):78--101, June 1966. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. C. P. Chen and C.-Y. Zhang. Data-intensive applications, challenges, techniques and technologies: A survey on Big Data. Information Sciences, 275:314 -- 347, 2014. Google ScholarGoogle ScholarCross RefCross Ref
  6. Chen, Kaimeng and Jin, Peiquan and Yue, Lihua. A Novel Page Replacement Algorithm for the Hybrid Memory Architecture Involving PCM and DRAM. In Network and Parallel Computing: 11th IFIP WG 10.3 International Conference, NPC 2014, Ilan, Taiwan, September 18--20, 2014. Proceedings, pages 108--119, Berlin, Heidelberg, 2014. Springer Berlin Heidelberg. Google ScholarGoogle ScholarCross RefCross Ref
  7. S. R. Dulloor, S. Kumar, A. Keshavamurthy, P. Lantz, D. Reddy, R. Sankaran, and J. Jackson. System Software for Persistent Memory. In Proceedings of the Ninth European Conference on Computer Systems, EuroSys '14, pages 15:1--15:15, New York, NY, USA, 2014. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. M. Z. Farooqui, M. Shoaib, and M. Z. Khan. A Comprehensive Survey of Page Replacement Algorithms. IJARCET), January, 2014.Google ScholarGoogle Scholar
  9. S. Mittal and J. S. Vetter. A Survey of Software Techniques for Using Non-Volatile Memories for Storage and Main Memory Systems. IEEE Transactions on Parallel and Distributed Systems, 27(5):1537--1550, May 2016. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. O. Mutlu. Memory scaling: A systems architecture perspective. In 2013 5th IEEE International Memory Workshop, pages 21--25, May 2013. Google ScholarGoogle ScholarCross RefCross Ref
  11. E. J. O'Neil, P. E. O'Neil, and G. Weikum. The LRU-K Page Replacement Algorithm for Database Disk Buffering. SIGMOD Rec., 22(2):297--306, June 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Y. Park and H. Bahn. Efficient Management of PCM-based Swap Systems with a Small Page Size. 15:476--484, 2015.Google ScholarGoogle Scholar
  13. Y.-S. Yoo, H. Lee, Y. Ryu, and H. Bahn. Page Replacement Algorithms for NAND Flash Memory Storages. In Proceedings of the 2007 International Conference on Computational Science and Its Applications - Volume Part I, ICCSA'07, pages 201--212, Berlin, Heidelberg, 2007. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A page replacement algorithm based on frequency derived from reference history

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    SAC '17: Proceedings of the Symposium on Applied Computing
    April 2017
    2004 pages
    ISBN:9781450344869
    DOI:10.1145/3019612

    Copyright © 2017 ACM

    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]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 3 April 2017

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article

    Acceptance Rates

    Overall Acceptance Rate1,650of6,669submissions,25%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader