摘要
瓦记录技术(SMR)采用部分叠加相邻磁道的方式增大磁盘碟片的面密度,其磁道相互叠加,使得瓦记录磁盘无法进行原地更新,是因为直接更新某一磁道上的数据可能会覆盖掉相邻磁道上的有效数据,导致瓦记录磁盘的非顺序写需要引入额外的写放大开销。对于由瓦记录磁盘组成的Raid5来说,在非顺序写场景下,最终落盘的IO也是非顺序的,因此单盘性能下降,会极大地影响瓦记录Raid5的非顺序写性能。针对瓦记录Raid5非顺序写性能低的问题,提出了一种基于捎带回收的瓦记录Raid5。该方法改进了传统Raid5的小写过程,在小写读的时候捎带读取附近的可被回收的数据或校验,通过将落盘写IO日志化,实现了落盘写IO的顺序化,避免了瓦记录磁盘的写放大开销。系统维护了地址映射表等元数据,在重构时只需对应用访问过的条带进行读写和计算,这减少了重构时需要读写的数据量。测试显示,在某些非顺序写场景下,写带宽超过了以Bcache作为缓存的MD Raid5。从计算结果看,重构时的读写开销相比普通磁盘组建的MD Raid5也有明显减小。
Shingled magnetic recording(SMR) increases surface density by partly overlapping adjacent tracks,which can't support in-place update,because updating data on one track directly will destroy the data on successive tracks. So it needs to bring in additional overhead to avoid write overlapping. For SWD Raid5,in non-sequential write scene,final IOs sent to disk are also non-sequential,which affects the Raid5 performance greatly. A piggyback garbage collection Raid5(PRaid5) is proposed to improve write performance of SWD Raid5 by modifying Raid5 RMW and write sequentialization. Since address mapping table is recorded,it needs not to read whole disk as recoverying. Test results show that in some non-sequential writing scenarios,PRaid5 has higher performance and lower read/write overhead than Linux MD Raid5.
作者
张强
李素玲
张翔宇
李猛坤
Zhang Qiang;Li Suling;Zhang Xiangyu;Li Mengkun(Institute of Computing Technology,Chinese Academy of Sciences,Beijing 100190;University of Chinese Academy of Sciences,Beijing 10004;All-China Federation of Trade Unions,Beijing 10008;School of Management,Capital Normal University.Beiiing 100045)
出处
《高技术通讯》
EI
CAS
北大核心
2018年第5期383-391,共9页
Chinese High Technology Letters
基金
中国科学院战略性先导科技专项(XDA06010401)
中国科学院重点部署(KG8D-EW-103-517)资助项目
关键词
瓦记录(SMR)
瓦记录Raid5
回收
写顺序化
shingled magnetic recording (SMR)
SWD RaidS
garbage collection
write sequentialization