LazyBarrier: Reconstructing Android IO Stack for Barrier-Enabled Flash Storage
Yuanyi Zhang, Heng Zhang, Wenbin Cao, Xing He, Daejun Park, Jinyoung Choi, SungJun Park
Abstract
Costly synchronous write---a.k.a., fsync()---is a common approach to preserve the storage order of data. Android smart-phones use No-Barrier by default to improve fsync() performance. Recently, Barrier-Enabled IO Stack (BEIOS) provides an efficient order-preserving method for flash storage by barrier write commands (BWCs). However, our evaluation shows that BEIOS suffers from performance degradation in multi-threaded scenarios since BWCs increase linearly with the number of threads. This paper proposes LazyBarrier, a new order-preserving IO stack mainly involving order-preserving write (OPW) Model, the Lazy Issue algorithm, modified F2FS, and Barrier Scheduling. OPW Model is based on Finite Automata and defines state transition in OPW. Lazy Issue is a novel algorithm that minimizes BWCs. F2FS is modified to support OPW, and Barrier Scheduling solves the ordering problem in multi-queue block layer. The experiments on Android smartphones show that, compared with BEIOS, LazyBarrier improves OPW performance by 73% and 29% under the FIO benchmark and in real applications respectively. And LazyBarrier also outperforms BEIOS by 19% in dbench workload in servers.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- OPIMQ: Order Preserving IO stack for Multi-Queue Block DeviceJieun Kim, Joontaek Oh, Juwon Kim, Seung Won Yoo et al.FAST 2025 · 2 citations
- ZMS: Zone Abstraction for Mobile Flash StorageJoo Young Hwang, Seokhwan Kim, Daejun Park, Yong-Gil Song et al.USENIX ATC 2024 · 22 citations
- Write Dependency Disentanglement with HORAEXiaojian Liao, Youyou Lu, Erci Xu, Jiwu ShuOSDI 2020 · 31 citations
- Unleashing Zoned UFS: Cross-Layer Optimizations for Next-Generation Mobile StorageJungae Kim, Jaegeuk Kim, Kyu-Jin Cho, Sungjin Park et al.FAST 2026 · 2 citations
- Lazy Release PersistencyMahesh Dananjaya, Vasilis Gavrielatos, Arpit Joshi, Vijay NagarajanASPLOS 2020 · 12 citations
