瓦疊式磁碟之高效低成本位址映射方法
Low-cost, Efficient Mapping Design for Shingled Recording Disks
摘要
疊瓦式磁碟 (SMR)是藉由重疊相鄰磁軌以大幅提升磁碟儲存密度的新穎技術。在傳統已上市的的疊瓦式磁碟中,疊瓦式硬碟轉換層 (STL)透過異地更新資料的方式來管理這些重疊的磁軌,該管理方式也需要額外的位址映射紀錄資料的邏輯位址對應實體位址資訊。 因為紀錄位址的後設資料數量過於龐大而導致無法在疊瓦式磁碟上的嵌入式記憶體裡作管理。若將後設資料置於磁碟上管理將可能造成額外的磁頭移動成本進而嚴重影響疊瓦式磁碟的效能。後設資料需要在經過突然的斷電之後還能保有資料的一致性。此研究提出了一種高效低成本的位址映射管理方法透過使用256KB的快取暫存部分位址映射資料及有效的管理在磁碟上其他的位址映射資料省去大量的磁頭移動成本。透過在快取未命中時額外讀取位址映射資料及在快取置換時利用空間區域性將更多被更改過的映射資料寫進磁碟大幅減少磁碟在管理位址映射資料的成本。透過上述的兩種主要的方式將磁碟管理位址映射資料的成本由46\%降低至15\%
Shingled Magnetic Recording (SMR) is a novel disk technology that partially overlaps adjacent disk tracks to highly increase storage density. The conventional STL manages these overlapped tracks by out-of-place updating data, which needs logical to physical exception mapping information to keep the new data location. The mapping metadata is too large to put into the embedded RAM. However, the overhead of disk head movement produced by mapping access may bring down the performance of SMR drive. The metadata of exception mapping information also needs reliability to maintain the consistency after a sudden power failure. We introduce a low-cost, seek-optimized scheme for efficient logical-to-physical address mapping. Our approach reduced the head movement overhead to access mapping information by prefetching more mapping information on read miss and flushing more mappings within a cache flush. Experimental results showed that our approach reduced the mapping-induced latency from 46\% to 15\% by using only 256 KB size of RAM.