| 研究生: |
楊淯任 Yang, Yu-Ren |
|---|---|
| 論文名稱: |
混合性草稿式記憶體之即時配置策略 An Online Allocation Policy for Hybrid Scratch-pad Memory |
| 指導教授: |
張大緯
Chang, Da-Wei |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 資訊工程學系 Department of Computer Science and Information Engineering |
| 論文出版年: | 2013 |
| 畢業學年度: | 101 |
| 語文別: | 英文 |
| 論文頁數: | 39 |
| 中文關鍵詞: | 草稿式記憶體 、非揮發性記憶體 |
| 外文關鍵詞: | Scratch-pad memory, Non-volatile memory |
| 相關次數: | 點閱:81 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
在嵌入式系統中,草稿式記憶體經常被使用,他是一種由軟體控制資料分配的記憶體,相比於傳統快取式記憶體,草稿式記憶體具有較低的耗電與較快速的讀取速度.由於晶片面積有限,為了在不增加記憶體面積的前提下提升內存記憶體容量,有些研究利用非揮發性記憶體與靜態隨機存取記憶體組成混合性草稿記憶體,利用非揮發性記憶體的高密度優勢提升內存記憶體容量,但是由於非揮發性記憶體的寫入成本遠大於靜態隨機存取記憶體,為了減少非揮發性記憶體的寫入次數,這些研究會設計一個有效分配策略來使用靜態隨機存取記憶體與非揮發性記憶體,但是在目前的分配策略中都不考慮收集執行時資料存取行為,而是由執行前的分析,來預測資料執行時的存取行為,根據這些訊息來分配記憶體空間,然而執行前的分析,往往因為使用者對於程式執行時的輸入而做改變,執行前的分析會因此而產生改變造成錯誤的資料分配。我們決定提出一個即時管理混合性草稿式記憶體的分配策略,他是根據執行時收集記憶體寫入的操作來判斷資料的分配,由於目前在混合性草稿式記憶體並沒有即時的分配策略,我們參考由靜態隨機存取記憶體組成的草稿式記憶體即時管理方式,來設計我們的研究,而最後實驗結果我們相比同面積的混合性草稿式記憶體與靜態隨機存取記憶體組成的草稿式記憶體,並使用即時管理策略,混合性草稿式記憶體的效能將會改善37%靜態隨機存取記憶體組成的草稿式記憶體效能。
Scratch Pad Memory (SPM), a software-controlled on-chip memory, has been increasingly used in embedded system due to their higher energy and area efficiency compared to ordinary caches. In order to increase SPM capacity in same memory area, some research combine Non-Volatile Memory (NVM) with SRAM as hybrid SPM to take advantage of the high density of NVM to increase SPM capacity.. However, write operation in NVM consumes more energy than in SRAM. In order to reduce write operation in NVM, these works design allocation policy to efficient utilized Hybrid SPM but that don’t consider runtime data access behavior to allocation data. However, without considering runtime data access behavior, the above allocation policy can result in inefficient SPM utilization. For example, a data object may be regarded as a frequently-accessed object according to profiling, but may be accessed rarely during the runtime when input values change during runtime. Therefore, allocation policy considers runtime data access behavior for hybrid SPM allocation are proposed to improve the efficiency of hybrid SPM utilization. In this paper, we propose a novel online allocation policy for hybrid SPM, which uses write-read behaviors of data to determine data allocation in hybrid scratch-pad memory architecture. This policy can keep write-intensive data in SRAM and read-intensive data in NVM. The novel online hybrid SPM allocation policy can reduce energy delay product by 37% on average compared with a pure SRAM based SPM with online allocation policy.
Reference
[1] J. Hu, C. J. Xue, Q. Zhuge, W. C. Tseng, E. M. Sha, “Towards energy efficient hybrid on-chip scratch pad memory with non-volatile Memory,” in DATE pp.1-6, 2011.
[2] L. Bathen et al. HaVOC: A hybrid-memory-aware virtualizationlayer for on-chip distributed scratchpad and non-volatile memories. In DAC, 2012
[3] Y. S. Chien, "Design of a Contention-aware Hybrid On-Chip Memory Management Mechanism," 2013.
[4] M. Verma and P. Marwedel. “Overlay techniques for scratchpad memories in low-power embedded processors,” IEEE Trans. on VLSI, vol. 14, pp.802-815, 2006.
[5] T.R. Mück and A.A. Fröhlich, “A run-time memory management approach for scratch-pad-based embedded systems,” IEEE Conf. on ETFA, pp. 1-4, 2010.
[6] R. Banakar, S. Steinke, B. Lee, M. Balakrishnan, and P. Marwedel. “Scratchpad Memory: A Design Alternative for Cache On-chip memory in Embedded Systems,” ACM Symp. on CODES, pp. 73-78, 2002.
[7] V. Suhendra, T. Mitra, A. Roychoudhury, and T. Chen. “WCET centric data allocation to scratchpad memory,” IEEE Symp. on RTSS, pp. 223-232, 2005.
[8] O. Avissar, R. Barua, D. Stewart, “Heterogeneous memory management for embedded systems,” ACM Conf. on CASES, pp. 34–43, 2001.
[9] O. Avissar, R. Barua, D. Stewart, “An optimal memory allocation scheme for scratch-pad-based embedded systems,” ACM Trans. on TECS, vol. 1, pp. 6–26.2002
[10] P.R. Panda, N.D. Dutt, A. Nicolau, “On-chip vs. off-chip memory: the data partitioning problem in embedded processor-based systems,” ACM Trans. on TODAES, vol. 5, 2000, pp. 682–704.
[11] S. Steinke, L. Wehmeyer, B. Sik Lee, P. Marwedel, “Assigning program and data objects to scratchpad for energy reduction,” IEEE Conf. on DATE, pp. 409-415, 2002.
[12] F. Angiolini, L. Benini, A. Caprara, “Polynomial-time algorithm for on-chip scratchpad memory partitioning,” ACM Conf. on CASES, pp. 318-326, 2003.
[13] A. Dominguez, S. Udayakumaran, R. Barua, “Heap data allocation to scratch-pad memory in embedded systems,” Journal of Embedded Computing, vol.1, pp.521-540, 2005.
[14] J. Ramanujam, M.J. Irwin, N. Vijaykrishnan, I. Kadayif, A. Parikh, “Dynamic management of scratch-pad memory space,” ACM Conf. on DAC, pp. 690–695, 2001.
[15] S. Udayakumaran, R. Barua, “Compiler-decided dynamic memory allocation for scratch-pad based embedded systems,” ACM Conf. on CASES, pp. 276–286, 2003.
[16] Z. H. Chen and A. W. Y. Su, “A hardware/software framework for instruction and data scratchpad memory allocation,” ACM Trans. on TACO, vol. 7, pp. 2:1–2:27, 2010.
[17] A. Janapsatya, S. Parameswaran, and A. Ignjatovic, “Hardware/software managed scratchpad memory for embedded system,” IEEE/ACM Conf. on ICCAD, pp. 370–377, 2004.
[18] R. Pyka, C. Fa¨sbach, M. Verma, H. Falk, and P. Marwedel, “Operating system integrated energy aware scratchpad allocation strategies for multiprocess applications,” ACM Workshop on SCOPES, pp. 41–50, 2007
[19] H. Takase, H. Tomiyama, and H. Takada, “Partitioning and allocation of scratch-pad memory for priority-based preemptive multi-task systems,” IEEE Conf. on DATE, pp. 1124–1129, 2010.
[20] L. Bathen et al. “SPMVisor: dynamic scratchpad memory virtualization for secure, low power, and high performance distributed on-chip memories” IEEE/ACM/IFIP Conf. on CODES+ISSS, pp. 79-88, 2011.
[21] B. Egger, J. Lee, and H. Shin, “Scratchpad memory management in a multitasking environment,” ACM Conf. on EMSOFT, pp. 265–274, 2008.
[22] Ji, W., Deng, N., Shi, F., Zuo, Q., Li, J.: “Dynamic and adaptive spm management for a multi-task environment,” Journal of Systems Architecture, vol. 57, pp. 181–192, 2011.
[23] N. Muralimanohar, R. Balasubramonian, and N.P. Jouppi. “CACTI 6.0: A tool to understand large caches,” in HP Tech Report HPL-2009-85, 2009.
[24] M.R. Guthaus, J.S. Ringenberg, D. Ernst, T.M. Austin, T. Mudge, R.B. Brown, “Mibench: A free, commercially representative embedded benchmark suite,” IEEE Workshop on WWC, pp. 3-14, 2001.
[25] P.R. Panda, N.D. Dutt, A. Nicolau “Efficient utilization of scratch-pad memory in embedded processor applications.” IEEE Conf. on EDTC, pp.7-11, 1997.
[26] D.C. Burger and T.M. Austin. “The Simplescalar Tool Set, Version 2.0,” ACM SIGARCH Computer Architecture News, pp. 13-25, 1997.
[27] S. Blagodurov, S. Zhuravlev, and A. Fedorova. “Contention-aware scheduling on multicore systems.” ACM Trans. on TOCS, vol. 28, pp.1-45, 2010.
[28] F. Angiolini, L. Benini, A. Caprara, “An efficient profile-based algorithm for scratchpad memory partitioning,” IEEE Trans. on Computer-Aided Design of Integrated Circuits and Systems, pp. 1660-1676, 2005.
[29] T. R. Muck and A. A. Frohlich, "Run-time scratch-pad memory management for embedded systems," in IECON 2011 - 37th Annual Conference on IEEE Industrial Electronics Society, 2011, pp.2833-2838.
[30] S. Park, H. W. Park, S. Ha “A novel techinique to Use Scratch-pad memory for stack management,” in DATE pp.1-6, 2007.
[31] M. Kandemir, J. Ramanujam, A.Choudhary, “Exploiting shared scratch pad memory space in embedded multiprocessor system,” in DAC, pp. 219-224, 2002.
[32] B. Egger, S. Kim, C. Jang, J. Lee, S. L. Min, H. Shin, “Scratchpad memory management techniques for code in embedded systems without an MMU,” IEEE Transaction on Computer, pp.1047-1062, 2010.
[33] V. Suhendra, C. Raghavan, T. Mitra, “Integrated scratchpad memory optimization and task scheduling for mpsoc architectures,” ACM Conf. on CASES, pp. 401-410, 2006
[34] S. Chattopadhyay, A. Roychoudhury, “Static bus schedule aware scratchpad allocation in multiprocessor,” ACM Conf. on LCTES, pp. 11-20, 2011.
[35] O. Ozturk, M. Kandemir, I. Kolcu, “Shared Scratch-Pad Memory Space Management, ” in ISQED, pp. 576-584, 2006.
[36] Q. Wan, H. Wu, J. Xue, “WCET-aware data selection and allocation for scratchpad memory,” ACM Conf. on LCTES, pp. 41-50, 2012.
[37] L. Bathen et al. HaVOC: A hybrid-memory-aware virtualizationlayer for on-chip distributed scratchpad and non-volatile memories. In DAC, 2012
[38] A. P. Ferreira et al.“Increasing pcm main memory lifetime,” in DATE, pp. 914–919, 2010.
[39] Y. Chen, et al. “A nondestructiveself-reference scheme for spin-transfer torque random accessmemory (stt-ram),” in DATE, pp. 148–153,2010.
[40] K. C. Chun, et al., “A 0.9v, 65nm logic-compatibleembedded dram with >1ms data retention time and 53% less staticpower than a power-gated sram,” in ISLPED, pp. 119–120,2009.
[41] X. Wu, J. Li, L. Zhang, E. Speight, and Y. Xie, “Power and performanceof read-write aware hybrid caches with non-volatile memories,” in DATE,pp. 737–742, 2009.
[42] X. Wu, J. Li, L. Zhang, E. Speight, R. Rajamony, and Y. Xie, “Hybridcache architecture with disparate memory technologies,” in ISCA, pp.34–45,2009.
[43] P. Mangalagiri, K. Sarpatwari, A. Yanamandra, V. Narayanan, Y. Xie,M. J. Irwin, and O. A. Karim, “A low-power phase change memorybased hybrid cache architecture,” in GLSVLSI,pp. 395–398,2008.
[44] Y. Joo, D. Niu, X. Dong, G. Sun, N. Chang, , and Y. Xie, “Energy- andendurance-aware design of phase change memory caches,” in DATE,pp.136–141,2010.
[45] X. Dong, N. P. Jouppi, and Y. Xie, “Pcramsim: System-level performance,energy, and area modeling for phase-change ram,” in ICCAD, pp. 269–275, 2009
[46] Design Compiler, Synopsys Inc. (http://www.synopsys.com).
校內:2023-08-29公開