Early Dirty Buffer Flush with Second Chance for SSDs

As high-performance server-based applications become more prevalent, there is a growing demand for high-performance storage solutions. In response, SSDs that use NAND flash memory as storage media are quickly replacing hard disks in the high-performance storage market. One way to improve SSD perform...

Full description

Bibliographic Details
Main Author: Ilhoon Shin
Format: Article
Language:English
Published: MDPI AG 2023-03-01
Series:Micromachines
Subjects:
Online Access:https://www.mdpi.com/2072-666X/14/4/796
_version_ 1797604254903435264
author Ilhoon Shin
author_facet Ilhoon Shin
author_sort Ilhoon Shin
collection DOAJ
description As high-performance server-based applications become more prevalent, there is a growing demand for high-performance storage solutions. In response, SSDs that use NAND flash memory as storage media are quickly replacing hard disks in the high-performance storage market. One way to improve SSD performance is to use an internal large-capacity memory as a buffer cache for NAND. Previous studies have shown that early flushing, which ensures sufficient clean buffers by flushing dirty buffers to NAND in advance when the ratio of dirty buffers exceeds a threshold, significantly reduces the average response time of I/O requests. However, the early flush can also have a negative side effect, namely an increase in NAND write operations. To address this problem, this study proposes a selective early flush policy. This policy evaluates the likelihood of a candidate dirty buffer being rewritten upon the early flush, and delays flushing if the candidate has a high rewrite likelihood. Through this selective early flush, the proposed policy reduces NAND write operations by up to 18.0% compared to the existing early flush policy in the mixed trace. Additionally, the response time of I/O requests is also improved in most of the considered configurations.
first_indexed 2024-03-11T04:44:51Z
format Article
id doaj.art-98a37f85320a4834ba2e1694d6df2cc2
institution Directory Open Access Journal
issn 2072-666X
language English
last_indexed 2024-03-11T04:44:51Z
publishDate 2023-03-01
publisher MDPI AG
record_format Article
series Micromachines
spelling doaj.art-98a37f85320a4834ba2e1694d6df2cc22023-11-17T20:29:26ZengMDPI AGMicromachines2072-666X2023-03-0114479610.3390/mi14040796Early Dirty Buffer Flush with Second Chance for SSDsIlhoon Shin0Department of Electronic Engineering, Seoul National University of Science and Technology, Seoul 01811, Republic of KoreaAs high-performance server-based applications become more prevalent, there is a growing demand for high-performance storage solutions. In response, SSDs that use NAND flash memory as storage media are quickly replacing hard disks in the high-performance storage market. One way to improve SSD performance is to use an internal large-capacity memory as a buffer cache for NAND. Previous studies have shown that early flushing, which ensures sufficient clean buffers by flushing dirty buffers to NAND in advance when the ratio of dirty buffers exceeds a threshold, significantly reduces the average response time of I/O requests. However, the early flush can also have a negative side effect, namely an increase in NAND write operations. To address this problem, this study proposes a selective early flush policy. This policy evaluates the likelihood of a candidate dirty buffer being rewritten upon the early flush, and delays flushing if the candidate has a high rewrite likelihood. Through this selective early flush, the proposed policy reduces NAND write operations by up to 18.0% compared to the existing early flush policy in the mixed trace. Additionally, the response time of I/O requests is also improved in most of the considered configurations.https://www.mdpi.com/2072-666X/14/4/796SSDbuffer cacheNVRAMNAND flash memoryearly flushsecond chance
spellingShingle Ilhoon Shin
Early Dirty Buffer Flush with Second Chance for SSDs
Micromachines
SSD
buffer cache
NVRAM
NAND flash memory
early flush
second chance
title Early Dirty Buffer Flush with Second Chance for SSDs
title_full Early Dirty Buffer Flush with Second Chance for SSDs
title_fullStr Early Dirty Buffer Flush with Second Chance for SSDs
title_full_unstemmed Early Dirty Buffer Flush with Second Chance for SSDs
title_short Early Dirty Buffer Flush with Second Chance for SSDs
title_sort early dirty buffer flush with second chance for ssds
topic SSD
buffer cache
NVRAM
NAND flash memory
early flush
second chance
url https://www.mdpi.com/2072-666X/14/4/796
work_keys_str_mv AT ilhoonshin earlydirtybufferflushwithsecondchanceforssds