An I/O scheduler based on fine-grained access patterns to improve SSD performance and lifespan

Mingyang Wang, Yimin Hu
{"title":"An I/O scheduler based on fine-grained access patterns to improve SSD performance and lifespan","authors":"Mingyang Wang, Yimin Hu","doi":"10.1145/2554850.2554971","DOIUrl":null,"url":null,"abstract":"Although the many benefits delivered by Solid State Disks (SSDs), they also pose some unique and serious challenges to I/O and file system designers. Unlike HDDs and other memory devices, SSDs cannot perform in-place updates. A block has to be erased before it can be re-written. Moreover, the costs of different SSD operations are highly asymmetric. A write operation in an SSD is an order of magnitude slower than a read operation, and an erase operation is in turn an order of magnitude slower than a write. Moreover, a block can endure only a limited number of erasures before it wears out. Most SSDs employ a log-structured Flash-Translation-Layer (FTL) to solve the not-in-place update problem. The unique operations of the FTLs, together with the asymmetric overheads of different operations, imply that many traditional solutions optimized for HDDs do not work well for SSDs. For example, sequential writes that are not perfectly aligned to the flash block boundary, may reduce performance and increase wearing overhead. In this paper, we proposed a novel I/O scheduler which is based on fine-grained access patterns in a per-process per-stream manner. These patterns are used to guide a set of novel scheduling policies, including pre-alignment, inner-padding, write merging, merging-and-splitting, to improve the write performance of SSDs that adopt log-structured FTLs. Simulation results show that these policies can improve write performance by up to 60%. Moreover, the schemes reduce SSD erasure cycle by up to 64%, which is directly translated to a major improvement on the lifespan of SSDs.","PeriodicalId":285655,"journal":{"name":"Proceedings of the 29th Annual ACM Symposium on Applied Computing","volume":"601 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 29th Annual ACM Symposium on Applied Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2554850.2554971","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Although the many benefits delivered by Solid State Disks (SSDs), they also pose some unique and serious challenges to I/O and file system designers. Unlike HDDs and other memory devices, SSDs cannot perform in-place updates. A block has to be erased before it can be re-written. Moreover, the costs of different SSD operations are highly asymmetric. A write operation in an SSD is an order of magnitude slower than a read operation, and an erase operation is in turn an order of magnitude slower than a write. Moreover, a block can endure only a limited number of erasures before it wears out. Most SSDs employ a log-structured Flash-Translation-Layer (FTL) to solve the not-in-place update problem. The unique operations of the FTLs, together with the asymmetric overheads of different operations, imply that many traditional solutions optimized for HDDs do not work well for SSDs. For example, sequential writes that are not perfectly aligned to the flash block boundary, may reduce performance and increase wearing overhead. In this paper, we proposed a novel I/O scheduler which is based on fine-grained access patterns in a per-process per-stream manner. These patterns are used to guide a set of novel scheduling policies, including pre-alignment, inner-padding, write merging, merging-and-splitting, to improve the write performance of SSDs that adopt log-structured FTLs. Simulation results show that these policies can improve write performance by up to 60%. Moreover, the schemes reduce SSD erasure cycle by up to 64%, which is directly translated to a major improvement on the lifespan of SSDs.
基于细粒度访问模式的I/O调度器,可提高SSD性能和寿命
尽管固态磁盘(ssd)带来了许多好处,但它们也给I/O和文件系统设计人员带来了一些独特而严重的挑战。与hdd和其他内存设备不同,ssd不能执行就地更新。块在被重写之前必须被擦除。此外,不同SSD操作的成本是高度不对称的。SSD上的写操作比读操作慢一个数量级,而擦除操作又比写操作慢一个数量级。此外,块在磨损之前只能承受有限的擦除次数。大多数ssd使用日志结构的Flash-Translation-Layer (FTL)来解决不到位的更新问题。ftl的独特操作,加上不同操作的非对称开销,意味着许多针对hdd优化的传统解决方案不适用于ssd。例如,与闪存块边界不完全对齐的顺序写入可能会降低性能并增加损耗开销。在本文中,我们提出了一种新颖的I/O调度器,该调度器以每进程每流的方式基于细粒度访问模式。这些模式用于指导一组新的调度策略,包括预对齐、内填充、写合并、合并和分割,以提高采用日志结构ftl的ssd的写性能。仿真结果表明,这些策略可以将写性能提高60%。此外,该方案将SSD擦除周期缩短了64%,这直接转化为SSD寿命的重大改进。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信