Skip to main content
Log in

Partial-PreSET: Enhancing Lifetime of PCM-Based Main Memory with Fine-Grained SET Operations

  • Published:
International Journal of Parallel Programming Aims and scope Submit manuscript

Abstract

Phase change memory (PCM) is one of promising technology to replace DRAM with its attractive features such as zero leakage power and high scalability. In PCM, a SET operation needs much more time than a RESET operation. A typical write request concurrently writes 64 bytes to a PCM memory line. Therefore, write latency is mainly determined by SET operations. Previously, PreSET has been proposed to improve PCM performance by exploiting asymmetry in write time. A PreSET operation pro-actively SETs all the bits in the memory line before a dirty cache line is written to PCM . Later, when a write request is processed, only RESET operations are actually performed. Consequently, PreSET reduces write latency and improves system performance. However, such PreSET operations are conducted only at a very coarse-grained level, which reduces the endurance of PCM. Through empirical study, we observe that in most applications the number of dirty words in a dirty line is actually quite limited. If we only SET those dirty words, instead of the whole cache line, we would significantly extend the lifetime of PCM while still achieving desirable performance. Inspired by this observation, we propose a scheme called Partial-PreSET which balances performance and endurance of PCM. The core idea of this scheme is to SET those dirty bits of a cache line in a fine-grained fashion. Our experiments show that the proposed Partial-PreSET scheme significantly improves the average lifetime of PCM system, up to 2.79X, while incurring only 2% system performance loss, compared with the state-of-the-art scheme (i.e., PreSET).

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Lefurgy, C., Rajamani, K., Rawson, F., Felter, W., Kistler, M., Keller, T.W.: Energy management for commercial servers. Computer 36(12), 39–48 (2003)

    Article  Google Scholar 

  2. Qureshi, M., Gurumurthi, S., Rajendran, B.: Phase change memory: from devices to systems. Synth. Lect. Comput. Archit. 6(4), 134 (2011)

    Google Scholar 

  3. Qureshi, M.K., Franceschini, M.M., Jagmohan, A., Lastras, L.A.: Preset: improving performance of phase change memories by exploiting asymmetry in write times. ACM SIGARCH Comput. Archit. News 40(3), 380–391 (2012)

    Article  Google Scholar 

  4. Lee, K.-J., Cho, B.-H., Cho, W.-Y., Kang, S., Choi, B.-G., Oh, H.-R., Lee, C.-S., Kim, H.-J., Park, J.-M., Wang, Q., et al.: A 90 nm 1.8 V 512 Mb diode-switch PRAM with 266 MB/s read throughput. IEEE J. Solid State Circuits 43(1), 150–162 (2008)

    Article  Google Scholar 

  5. Mohammad, A., Kandemir, M.T., Sivasubramaniam, A., Das, C.R.: Boosting access parallelism to PCM-based main memory. In: International Symposium on Computer Architecture, pp. 695–706 (2016)

  6. Zhou, P., Zhao, B., Yang, J., Zhang, Y.: A durable and energy efficient main memory using phase change memory technology. In: International Symposium on Computer, Architecture, pp. 14–23 (2009)

  7. Qureshi, M.K., Franceschini, M.M., Lastras-Montano, L.A.: Improving read performance of phase change memories via write cancellation and write pausing. In: IEEE International Symposium on High Performance Computer, Architecture, pp. 1–11 (2010)

  8. Patel, A., Afram, F., Chen, S., Ghose, K.: MARSS: a full system simulator for multicore x86 CPUs. In: Design Automation Conference, DAC 2011, San Diego, California, USA, June, pp. 1050–1055 (2011)

  9. Qureshi, M.K., Srinivasan, V., Rivers, J.A.: Scalable high performance main memory system using phase-change memory technology. In: International Symposium on Computer Architecture, pp. 24–33 (2009)

  10. Seong, N.H., Woo, D.H., Lee, H.-H.S.: Security refresh: prevent malicious wear-out and increase durability for phase-change memory with dynamically randomized address mapping. ACM SIGARCH Comput. Archit. News 38(3), 383–394 (2010)

    Article  Google Scholar 

  11. Qureshi, M.K., Karidis, J., Franceschini, M., Srinivasan, V.: Enhancing lifetime and security of PCM-based main memory with start-gap wear leveling. In: IEEE/ACM International Symposium on Microarchitecture, pp. 14–23 (2009)

  12. Zhao, M., Xue, Y., Hu, J., Yang, C., Liu, T., Jia, Z., Xue, C.J.: State asymmetry driven state remapping in phase change memory. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst 36(1), 27–40 (2016)

    Article  Google Scholar 

  13. Zhao, M., Shi, L., Yang, C., Xue, C.J.: Leveling to the last mile: near-zero-cost bit level wear leveling for PCM-based main memory. In: IEEE International Conference on Computer Design, pp. 16–21 (2014)

  14. Shi, Y., Zhu, Y., Huang, L.: Partial-preset: enhancing lifetime of PCM-based main memory with fine-grained set operations. In: International Conference on Network and Parallel Computing (2017)

Download references

Acknowledgements

This work is supported in part by the National High Technology Research and Development Program of China (No. 2015AA015303) and National Natural Science Foundation of China (Nos. 61472241, 61472254, and 61170238). This work is also supported by the Program for New Century Excellent Talents in University of China, the Program for Changjiang Young Scholars in University of China, and the Program for Shanghai Top Young Talents.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yanmin Zhu.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Shi, Y., Zhu, Y. & Huang, L. Partial-PreSET: Enhancing Lifetime of PCM-Based Main Memory with Fine-Grained SET Operations. Int J Parallel Prog 46, 736–748 (2018). https://doi.org/10.1007/s10766-017-0527-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10766-017-0527-9

Keywords

Navigation