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 2017 Publication 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/.
[2]
Stress-ng. http://kernel.ubuntu.com/~cking/stress-ng/.
[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.
[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.
[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.
[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.
[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.
[8]
M. Z. Farooqui, M. Shoaib, and M. Z. Khan. A Comprehensive Survey of Page Replacement Algorithms. IJARCET), January, 2014.
[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.
[10]
O. Mutlu. Memory scaling: A systems architecture perspective. In 2013 5th IEEE International Memory Workshop, pages 21--25, May 2013.
[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.
[12]
Y. Park and H. Bahn. Efficient Management of PCM-based Swap Systems with a Small Page Size. 15:476--484, 2015.
[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.

Cited By

View all
  • (2018)Time-shift replacement algorithm for main memory performance optimizationThe Journal of Supercomputing10.1007/s11227-018-2311-z74:6(2729-2746)Online publication date: 1-Jun-2018

Recommendations

Comments

Information & Contributors

Information

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
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: 03 April 2017

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. page replacement algorithm
  2. virtual memory management

Qualifiers

  • Research-article

Conference

SAC 2017
Sponsor:
SAC 2017: Symposium on Applied Computing
April 3 - 7, 2017
Marrakech, Morocco

Acceptance Rates

Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

Upcoming Conference

SAC '25
The 40th ACM/SIGAPP Symposium on Applied Computing
March 31 - April 4, 2025
Catania , Italy

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

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

Other Metrics

Citations

Cited By

View all
  • (2018)Time-shift replacement algorithm for main memory performance optimizationThe Journal of Supercomputing10.1007/s11227-018-2311-z74:6(2729-2746)Online publication date: 1-Jun-2018

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