請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/52062
標題: | 透過放寬資料一致性提昇非揮發性記憶體之記憶體庫平行度 Exploiting Bank-level Parallelism via Data Consistency Relaxation for Non-volatile Memory System |
作者: | Shao-Fu Wang 王少甫 |
指導教授: | 楊佳玲 |
關鍵字: | 非揮發性記憶體,儲存類別記憶體,相變化記憶體,記憶體排程器,記憶體管理,資料一致性, Non-volatile Memory,Storage Class Memory,Phase-change Memory,Memory Scheduler,Memory Management,Consistency, |
出版年 : | 2015 |
學位: | 碩士 |
摘要: | 近年來,非揮發性記憶體技術的進步提供了新一代記憶體系統設計的基礎。由於非揮發性記憶體具備介於傳統記憶體及硬碟的混合特性,如較高的密度,可位元組定址,以及非揮發性等特性,使系統結構設計師重新思考傳統的記憶體階層架構。透過將非揮發性記憶體作為主記憶體,程式設計師可以直接將非揮發性資料結構儲存於主記憶體,並以 ld/st 指令直接存取。為預防突發的系統崩潰及斷電,我們會透過預寫式日誌保證非揮發性資料結構的一致性。由於現代的記憶體控制器為了增加記憶體庫平行度,會亂序排程記憶體寫入順序,因此,許多文獻使用 Persist Barrier 保證正確的寫入次序。然而,我們觀察到 Persist Barrier 會造成多餘的寫入順序限制,並且造成記憶體庫平行度下降,使得系統效能降低。在本論文中,我們提出 Semantics-aware Memory Scheduler。透過使用一新軟硬體介面,應用程式可將寫入日誌的語意轉送至記憶體控制器,使Semantics-aware Memory Scheduler 能夠分辨記憶體請求是寫入實際資料或寫入日誌,並除去多餘的寫入順序限制。透過允許更多的同時寫入,記憶體控制器可以最大化記憶體庫平行度並提供更多效能。全系統模擬實驗的結果顯示,Semantics-aware Memory Scheduler 可改善最多 2.89 倍以及平均 2.13 倍的寫入效能。 The maturity of emerging non-volatile memory (NVM) technologies presents promising next-generation memory system design. Because of its mixed performance characteristics between DRAM and persistent store, e.g., high density, byte-addressability, and non-volatility, architects rethink the design of traditional memory hierarchy. With NVM as main memory, programmer can place non-volatile data structures on main memory and directly access them by ld/st instructions. Non-volatile data structures demand consistency and atomicity guarantees in case of sudden system crash. To guarantee consistency and atomicity, some forms of write-ahead logging (WAL) semantics are needed. Because modern memory controller reorders writes to exploit bank-level parallelism, persist barrier is adopted by many existing works to guarantee the order between writes. However, we observe that persist barriers introduce unnecessary write ordering constraints and hurt the system performance by restricting memory controller from exploiting bank-level parallelism. In this thesis, we propose Semantics-aware Memory Scheduler. By using a new software/hardware interface to transfer knowledge of application's logging semantics to memory controller, Semantics-aware Memory Scheduler eliminates unnecessary write ordering constraints by differentiating between log writes and target data writes. Through allowing more concurrent memory writes, memory controller can provide more performance by maximizing bank-level parallelism. Experimental results of full-system simulation show that Semantics-aware Memory Scheduler can improve throughput by up to 2.89x (2.13x on average). |
URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/52062 |
全文授權: | 有償授權 |
顯示於系所單位: | 資訊工程學系 |
文件中的檔案:
檔案 | 大小 | 格式 | |
---|---|---|---|
ntu-104-1.pdf 目前未授權公開取用 | 1.22 MB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。