WLFC: Write Less in Flash-based Cache

04/12/2021
by   Chaos Dong, et al.
0

Flash-based disk caches, for example Bcache and Flashcache, has gained tremendous popularity in industry in the last decade because of its low energy consumption, non-volatile nature and high I/O speed. But these cache systems have a worse write performance than the read performance because of the asymmetric I/O costs and the the internal GC mechanism. In addition to the performance issues, since the NAND flash is a type of EEPROM device, the lifespan is also limited by the Program/Erase (P/E) cycles. So how to improve the performance and the lifespan of flash-based caches in write-intensive scenarios has always been a hot issue. Benefiting from Open-Channel SSDs (OCSSDs), we propose a write-friendly flash-based disk cache system, which is called WLFC (Write Less in the Flash-based Cache). In WLFC, a strictly sequential writing method is used to minimize the write amplification. A new replacement algorithm for the write buffer is designed to minimize the erase count caused by the evicting. And a new data layout strategy is designed to minimize the metadata size persisted in SSDs. As a result, the Over-Provisioned (OP) space is completely removed, the erase count of the flash is greatly reduced, and the metadata size is 1/10 or less than that in BCache. Even with a small amount of metadata, the data consistency after the crash is still guaranteed. Compared with the existing mechanism, WLFC brings a 7 reduction in write latency, a 1.07*-4.5* increment in write throughput, and a 50 performance.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/18/2019

HALLS: An Energy-Efficient Highly Adaptable Last Level STT-RAM Cache for Multicore Systems

Spin-Transfer Torque RAM (STT-RAM) is widely considered a promising alte...
research
09/05/2022

Write Me and I'll Tell You Secrets – Write-After-Write Effects On Intel CPUs

There is a long history of side channels in the memory hierarchy of mode...
research
04/07/2015

Garbage Collection Techniques for Flash-Resident Page-Mapping FTLs

Storage devices based on flash memory have replaced hard disk drives (HD...
research
06/09/2023

CAWL: A Cache-aware Write Performance Model of Linux Systems

The performance of data intensive applications is often dominated by the...
research
11/05/2019

Phoenix: Towards Persistently Secure, Recoverable, and NVM Friendly Tree of Counters

Emerging Non-Volatile Memories (NVMs) bring a unique challenge to the se...
research
05/18/2019

Performance Analysis of 6T and 9T SRAM

The SRAM cell is made up of latch, which ensures that the cell data is p...
research
05/14/2021

NVCache: A Plug-and-Play NVMM-based I/O Booster for Legacy Systems

This paper introduces NVCache, an approach that uses a non-volatile main...

Please sign up or login with your details

Forgot password? Click here to reset