DOI QR코드

DOI QR Code

Code Optimization Techniques to Reduce Energy Consumption of Multimedia Applications in Hybrid Memory

  • Received : 2016.07.06
  • Accepted : 2016.08.24
  • Published : 2016.08.30

Abstract

This paper proposes code optimization techniques to reduce energy consumption of complex multimedia applications in a hybrid memory system with volatile dynamic random access memory (DRAM) and non-volatile spin-transfer torque magnetoresistive RAM (STT-MRAM). The proposed approach analyzes read/write operations for variables in an application. Based on the profile, variables with a high read operation are allocated to STT-MRAM, and variables with a high write operation are allocated to DRAM to reduce energy consumption. In this paper, to optimize code for real-life complicated applications, we develop a profiler, a code modifier, and compiler/link scripts. The proposed techniques are applied to a Fast Forward Motion Picture Experts Group (FFmpeg) application. The experiment reduces energy consumption by up to 22%.

Keywords

References

  1. M. H. Kryder, C. S. Kim, "After Hard Drives-What Comes Next? ", IEEE Transactions on Magnetics, vol. 45, no. 10, pp. 3406- 3413, Oct. 2009. https://doi.org/10.1109/TMAG.2009.2024163
  2. P. Mangalagiri, A. Yanamandra Y. Xie, N. Vijaykrishnan, M. J. Irwin, K. Sarpatwari, O. O. A. Karim, "A Low-Power Phase Change Memory Based Hybrid Cache Architecture", GLSVLSI 08, May 2008.
  3. K. Lee, A. Orailoglu, "Application specific nonvolatile primary memory for embedded systems", CODES+ISSS 08, pp 31-36.
  4. M. Kandemir, G. Chen, F. Li, I. Demirkiran, "Using data replication to reduce communication energy on chip multiprocessors", ASP-DAC 05, pp.769-772.
  5. J.Hu, C. J. Xue, W. Tseng, Y. He, M. Qiu, E.H.-M. Sha, "Reducing Write Activities on Non-volatile Memories in Embedded CMPs via Data Migration and Recomputation", DAC 10, June 2010.
  6. The FFmpeg website. http://ffmpeg.org/.
  7. Video Sequence. http://trace.eas.asu.edu/yuv//.
  8. Video Sequence. http://media.xiph.org/video/derf//.
  9. The Qemu website. http://wiki.qemu.org/Main_Page.
  10. G. Dhiman, R. Ayoub, and T. Rosing, "PDRAM: A hybrid PRAM and DRAM main memory system" In Proceedings of the 46th Annu-al Design Automation Conference (DAC09), 2009.
  11. Hyunsun Park, Sungjoo Yoo, Sunggu Lee, "Power Management of Hybrid DRAM/PRAM-Based Main Memory" In Proceedings of the 48th Design Automation Conference (DAC2011), 2011.
  12. Hyunchul Seok, Youngwoo Park, Kyu Ho Park "Migration Based Page Caching Algorithm for a Hybrid Main Memory of DRAM and PRAM" In Proceedings of the 2011 ACM Symposium on Applied Computing (SAC 2011), 2011.
  13. Xiaoxia Wu, Jian Li, Lixin Zhang, Evan Speight, Ram Rajamony, Yuan Xie "Hybrid Cache Architecture with Disparate Memory Technologies" In Proceedings of the 36th annual international sym-posium on Computer architecture (ISCA 2009), 2009.
  14. R. F. Freitas and W. W. Wilcke, "Storage-class memory: The next storage system technology," IBM Journal of Research and Development, vol.52, no.4/5, pp.439-447,2008. https://doi.org/10.1147/rd.524.0439
  15. G.W. Burr, B.N. Kurdi, J.C. Scott, C.H. Lam,K. G., and R.S. Shenoy, "Overview of candidate device technologies for storage-class memory," IBM Journal of Research and Development, vol.52, no.4/5, pp.449-464, 2008. https://doi.org/10.1147/rd.524.0449
  16. Clinton W. Smullen, IV, Vidyabhushan Mohan, Anurag Nigam, Sudhanva Gurumurthi , Mircea R. Stan. Relaxing Non-Volatility for Fast and Energy- Efficient STT-RAMCaches. Department of Computer Science and Department of Electrical and Computer Engineering University of Virginia. cws3k@cs.virginia. edu, vm9u@virginia.edu, an2z@virginia.edu, gurumurthi @virginia.edu, mrs8n@virginia.edu.
  17. Radu Cornea, Alex Nicolau, Nikil Dutt. "Video Stream Annotations for Energy Trade-offs in Multimedia Applications" In Proceedings of The Fifth International Symposium on Parallel and Distributed Computing (ISPDC'06).
  18. Radu Cornea, Alex Nicolau, Nikil Dutt. "Software Annotations for Power Optimization on Mobile Devices" In Proceedings of the con-ference on Design, automation and test in Europe, 2006.
  19. Tiantian Liu, Yingchao Zhao, Chun Jason Xue, Minming Li" Power-Aware Variable Partitioning for DSPs with Hybrid PRAM and DRAM Main Memory" Design Automation Conference (DAC), 2011 48th ACM/EDAC/IEEE.
  20. Luis Angel Bathen, Nikil Dutt " HaVOC: A Hybrid Memory-aware Virtualization Layer for On-Chip Distributed ScratchPad and Non-Volatile Memories" DAC 2012 June 3-7, 2012, San Francisco, Cali-fornia, USA.
  21. C. Stancu, L. Bathen, N. Dutt, A. Nicolau, "AVid: Annotation Driven Video Decoding for Hybrid Memories", ESTImedia, 2012.