arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.02258cs.OS
收藏

支持屏障的IO堆栈,适用于闪存存储

Barrier Enabled IO Stack for Flash Storage

Youjip Won, Jaemin Jung, Gyeongyeol Choi, Joontaek Oh, Seongbae Son, Jooyoung Hwang, Sangyeun Cho

摘要:

这项工作致力于消除保证现代IO堆栈中的存储顺序的开销。现有的块设备采用昂贵的手段来保证写请求之间的存储顺序:将连续的写请求与传输和刷新交织在一起。利用闪存存储的缓存屏障命令,我们检修IO调度程序,调度模块和文件系统,使这些层被编排,以保持应用程序施加的排序条件可以被交付到存储。Barrier Enabled IO堆栈的关键组成部分是基于Epoch的IO调度、订单保持分派和双模式日志记录。支持屏障的IO堆栈成功地消除了强制执行存储顺序时开销过大的根本原因。BarrierFS中的双模式日志记录将单独的线程用于有效地解耦日志提交的控制平面和数据平面。我们在服务器和移动平台上实现了Barrier Enabled IO Stack。SQLite在服务器和智能手机中的性能分别提高了270%和75%。放宽事务的持久性,SQLite性能和MySQL性能在服务器存储中分别增加了73倍和43倍。

英文摘要:

This work is dedicated to eliminating the overhead of guaranteeing the storage order in modern IO stack. The existing block device adopts prohibitively expensive resort in ensuring the storage order among write requests: interleaving successive write requests with transfer and flush. Exploiting the cache barrier command for the Flash storage, we overhaul the IO scheduler, the dispatch module and the filesystem so that these layers are orchestrated to preserve the ordering condition imposed by the application can be delivered to the storage. Key ingredients of Barrier Enabled IO stack are Epoch based IO scheduling, Order Preserving Dispatch, and Dual Mode Journaling. Barrier enabled IO stack successfully eliminates the root cause of excessive overhead in enforcing the storage order. Dual Mode Journaling in BarrierFS dedicates the separate threads to effectively decouple the control plane and data plane of the journal commit. We implement Barrier Enabled IO Stack in server as well as in mobile platform. SQLite performance increases by 270% and 75%, in server and in smartphone, respectively. Relaxing the durability of a transaction, SQLite performance and MySQL performance increases as much as by 73X and by 43X, respectively, in server storage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑