Detailed Information

Cited 0 time in webofscience Cited 0 time in scopus
Metadata Downloads

Avoiding Read Stalls on Flash Storage

Authors
An, Mijin송인영Song, Yong HoLee, Sang-Won
Issue Date
Jun-2022
Keywords
buffer management; flash storage; internal parallelism; read-write asymmetry
Citation
Proceedings of the ACM SIGMOD International Conference on Management of Data, pp 1404 - 1417
Pages
14
Indexed
SCOPUS
Journal Title
Proceedings of the ACM SIGMOD International Conference on Management of Data
Start Page
1404
End Page
1417
URI
https://scholarworks.bwise.kr/hanyang/handle/2021.sw.hanyang/196122
DOI
10.1145/3514221.3526126
ISSN
0730-8078
Abstract
When a dirty victim page is selected for replacement upon page miss, the buffer manager has to first flush the dirty victim to the storage before reading the missing page. This conventional read-after-write (RAW) protocol, while working well on hard disks, causes the problem of read stall on flash storage with asymmetric read-write speed and parallelism; because of the resource conflict for a buffer frame between write and read operations, a page-missing process has to wait for the slow write to complete to secure a clean frame for the missing page. This strict write-then-read serialization under-utilizes CPU and storage, worsening transaction throughput and latency. To avoid the read stall problem on flash storage, this paper proposes write-after-read (WAR) protocol as a new I/O architecture between buffer manager and flash storage. In WAR, foreground processes make victim frames clean instantly by temporarily copying dirty pages at LRU tail into a separate DRAM space and read their missing pages into the cleaned frames with no stall. The dirty pages will be written to the storage asynchronously. By resolving resource conflict and thus avoiding read stalls, the database engine can issue more I/Os in parallel and better utilize CPU as well as storage, improving throughput and latency. We prototype WAR in two database storage engines, MySQL/InnoDB and Zero. Our comprehensive experimental results show that WAR improves transaction throughput by up to 2.9x compared to RAW.
Files in This Item
Go to Link
Appears in
Collections
서울 공과대학 > 서울 융합전자공학부 > 1. Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Altmetrics

Total Views & Downloads

BROWSE