Skip to main content

Adaptive Buffering Scheme for PCM/DRAM-Based Hybrid Memory Architecture

  • Conference paper
  • First Online:
Book cover Network and Parallel Computing (NPC 2021)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 13152))

Included in the following conference series:

  • 778 Accesses

Abstract

Phase Change Memory (PCM) motivates new hybrid memory architecture that consists of PCM and DRAM. A critical issue in the PCM/DRAM-based hybrid memory architecture is how to devise efficient buffering schemes for heterogeneous memory. A feasible way is to use PCM as a page buffer in the memory hierarchy. Based on this assumption, this paper presents a new buffering scheme named FWQ-LRU for PCM/DRAM-based hybrid memory. FWQ-LRU proposes two new designs. First, it uses two queues for DRAM to identify write-cold DRAM pages, which will be moved to PCM during page replacement and page migrations. Second, to reduce PCM writes, it adopts an adaptive page migration mechanism to swap write-hot PCM pages with write-cold DRAM pages. Specially, FWQ-LRU devises a queue called FWQ (FIFO Write Queue) to detect write-hot PCM pages. Further, we periodically measure the page-migration benefits under the current workload to adjust the page migration policy for future requests. With this mechanism, write requests are mainly redirected to DRAM, and the writes to PCM are reduced. In addition, FWQ-LRU can maintain the same hit ratio as LRU. We conduct comparative trace-driven experiments and the results suggest the efficiency of our proposal.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Liu, R., Jin, P., et al.: Efficient wear leveling for PCM/DRAM-based hybrid memory. In: HPCC, pp. 1979–1986 (2019)

    Google Scholar 

  2. Pozidis, H., Papandreou, N., et al.: Circuit and system-level aspects of phase change memory. IEEE Trans. Circuits Syst. II Express Briefs 68(3), 844–850 (2021)

    Article  Google Scholar 

  3. Jin, P., Wu, Z., et al.: A page-based storage framework for phase change memory. In: MSST, pp. 1–12 (2017)

    Google Scholar 

  4. Dhiman, G., Ayoub, R., et al.: PDRAM: a hybrid PRAM and DRAM main memory system. In: DAC, pp. 664–669 (2009)

    Google Scholar 

  5. Asadinia, M., Sarbazi-Azad, H.: The emerging phase change memory. Adv. Comput. 118, 15–28 (2020)

    Article  Google Scholar 

  6. Xia, F., Jiang, D., et al.: A survey of phase change memory systems. J. Comput. Sci. Technol. 30(1), 121–144 (2015)

    Article  Google Scholar 

  7. Fu, Y., Wu, Y.: CARAM: a content-aware hybrid PCM/DRAM main memory system framework. In: He, X., Shao, E., Tan, G. (eds.) NPC 2020. LNCS, vol. 12639, pp. 243–248. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-79478-1_21

    Chapter  Google Scholar 

  8. Zhang, D., Jin, P., et al.: DPHSim: a flexible simulator for DRAM/PCM-based hybrid memory. In: APWeb/WAIM, pp. 319–323 (2017)

    Google Scholar 

  9. Effelsberg, W., Haerder, T.: Principles of database buffer management. ACM Trans. Database Syst. 9(4), 560–595 (1984)

    Article  Google Scholar 

  10. Seok, H., Park, Y., Park, K.W., et al.: Efficient page caching algorithm with prediction and migration for a hybrid main memory. ACM SIGAPP Appl. Comput. Rev. 11(4), 38–48 (2011)

    Article  Google Scholar 

  11. Chen, K., Jin, P., Yue, L.: A novel page replacement algorithm for the hybrid memory architecture involving PCM and DRAM. In: Hsu, C.-H., Shi, X., Salapura, V. (eds.) NPC 2014. LNCS, vol. 8707, pp. 108–119. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-44917-2_10

    Chapter  Google Scholar 

  12. Wu, Z., Jin, P., Yang, C., Yue, L.: APP-LRU: a new page replacement method for PCM/DRAM-based hybrid memory systems. In: Hsu, C.-H., Shi, X., Salapura, V. (eds.) NPC 2014. LNCS, vol. 8707, pp. 84–95. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-44917-2_8

    Chapter  Google Scholar 

  13. Chen, K., Jin, P., Yue, L.: Efficient buffer management for PCM-enhanced hybrid memory architecture. In: APWeb, pp. 29–40 (2015)

    Google Scholar 

  14. Wang, H., Shen, Z., et al.: CLOCK-RWRF: a read-write-relative-frequency page replacement algorithm for PCM and DRAM of hybrid memory. In: HPCC, pp. 189–196 (2020)

    Google Scholar 

  15. Lee, S., Bahn, B., et al.: CLOCK-DWF: a write-history-aware page replacement algorithm for hybrid PCM and DRAM memory architectures. IEEE Trans. Comput. 63(9), 2187–2220 (2014)

    Article  MathSciNet  Google Scholar 

  16. Lee, E., Bahn, H.: Caching strategies for high-performance storage media. ACM Trans. Storage 10(3), 11:1–11:22 (2014)

    Google Scholar 

  17. Jin, P., Ou, Y., et al.: AD-LRU: an efficient buffer replacement algorithm for flash-based databases. Data Knowl. Eng. 72, 83–102 (2012)

    Article  Google Scholar 

Download references

Acknowledgements

This study is supported by the National Science Foundation of China (62072419). 

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, X., Chen, K., Jin, P. (2022). Adaptive Buffering Scheme for PCM/DRAM-Based Hybrid Memory Architecture. In: Cérin, C., Qian, D., Gaudiot, JL., Tan, G., Zuckerman, S. (eds) Network and Parallel Computing. NPC 2021. Lecture Notes in Computer Science(), vol 13152. Springer, Cham. https://doi.org/10.1007/978-3-030-93571-9_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-93571-9_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-93570-2

  • Online ISBN: 978-3-030-93571-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics