SFS: Random Write Considered Harmful in Solid State Drives

Changwoo Min1,2, Kangnyeon Kim1, Hyunjin Cho2, Sang-Won Lee1, Young Ik Eom1 1Sungkyunkwan University; 2Samsung Electronics

Motivation and Goals Improving random write performance of file systems on SSDs and extending life span of SSDs. • Random writes cause internal fragmentation of SSDs and thus lead to performance degradation of more than 10x. • In contrast to HDDs, the degradation caused by the fragmentation lasts for a while after write pattern is changed. • Even worse, the fragmentation increases garbage collection cost in SSDs and thus reduces the life span of SSDs.

Our Approach: SFS A log-structured file system with on writing data grouping and cost-hotness segment cleaning. 1. Why log-structured FS?

3. Cost-hotness cleaning

- Transforms the random writes at file system level into the sequential writes at the SSD.

- Natural extension of cost-benefit policy.

- Since hotness directly represents the update likelihood of segment, we use segment hotness instead of age.

- When the request size of random write is a multiple of clustered block size, random write bandwidth is converged to sequential write bandwidth.

- More proper victim segment selection. - 𝑐𝑜𝑠𝑡 − ℎ𝑜𝑡𝑛𝑒𝑠𝑠 =

- So, write performance can be mainly determined by sequential write performance of a SSD.

𝑓𝑟𝑒𝑒 𝑠𝑝𝑎𝑐𝑒 𝑔𝑒𝑛𝑒𝑟𝑎𝑡𝑒𝑑 𝑐𝑜𝑠𝑡 ∗𝑠𝑒𝑔𝑚𝑒𝑛𝑡 ℎ𝑜𝑡𝑛𝑒𝑠𝑠

2. On writing data grouping - Eager block grouping on writing to reduce segment cleaning overhead. - Colocate blocks with similar update likelihood (hotness) into the same segment to form a sharp bimodal distribution of segment utilization. - Hotness is determined by write frequency and temporal locality: write count / age - Criteria for block grouping is determined by a proposed iterative segment quantization algorithm, which finds natural hotness groups across segments in disk.

Evaluation SFS outperforms the traditional LFS by 2.5x in terms of throughput. Comparing to ext4 and btrfs, block erase count inside the SSD is reduced by 7.5x. Even in HDDs, SFS outperforms state-of-the-art file systems by 39x in terms of throughput.

nearly empty nearly full

SSD-M, TPC-C

SSD-M, TPC-C

FAST FTL

HDD-M, 85% disk utilization

슬라이드 1 - USENIX

temporal locality: write count / age. - Criteria for block grouping is determined by a proposed iterative segment quantization algorithm, which finds natural ...

896KB Sizes 2 Downloads 59 Views

Recommend Documents

슬라이드 1 - USENIX
A log-structured file system with on writing data grouping and cost-hotness ... Even worse, the fragmentation increases garbage collection cost in SSDs and thus ...

OSDI insert for Security - Usenix
Nov 5, 2006 - Mike Afergan, Akamai. Mike Dahlin, University of Texas, Austin. Marc Fiuczynski, Princeton University. Michael Freedman, New York University.

Invent More, Toil Less - Usenix
She holds degrees from Stanford and Tulane. ... has a BS degree in computer science from IIT-. Madras. ... Reliability Engineering: How Google Runs Production Systems [1]. We ... Early in the year, pages had reached an unsustainable level.

OSDI insert for Security - Usenix
Nov 5, 2006 - Online pre-registration deadline: October 23, 2006. Register online at ... HOTEL INFORMATION ... PROGRAM CO-CHAIRS. David Andersen, Carnegie Mellon University ... Dina Katabi, Massachusetts Institute of Technology.

OSDI insert for Security - Usenix
Nov 5, 2006 - Dina Katabi, Massachusetts Institute of Technology. Jay Lepreau, University ... and Amin Vahdat, University of California, San Diego;. Eygene ...

Flayer: Exposing Application Internals - Usenix
Vulnerabilities often lay undiscovered in software due to the complexity of .... If these functions have been inlined, or custom equivalents are ... If an untainted value is written directly to a tainted memory ... often underutilized due to its inhe

Exploring Games for Improved Touchscreen Authentication ... - Usenix
... device owners with more us- able authentication, we propose the study and development .... smart-phone-thefts-rose-to-3-1-million-last-year/ index.htm, 2014.

Availability in Globally Distributed Storage Systems - USENIX
Abstract. Highly available cloud storage is often implemented with complex, multi-tiered distributed systems built on top of clusters of commodity servers and disk drives. So- phisticated management, load balancing and recovery techniques are needed

Trickle: Rate Limiting YouTube Video Streaming - Usenix
uses two phases: a startup phase and a throttling phase. The startup phase .... demo of. Trickle is available at http://www.cs.toronto.edu/~monia/tcptrickle.html. 2 ...

Modular Composition of Coordination Services - Usenix
Jun 22, 2016 - Many applications nowadays rely on coordination ser- vices such as ZooKeeper ...... funding our experiments on Google Cloud Platform. We.

Shredder: GPU-Accelerated Incremental Storage and ... - Usenix
[28] JANG, K., HAN, S., HAN, S., MOON, S., AND PARK, K. Sslshader: cheap ssl acceleration with commodity processors. In. Proceedings of the 8th USENIX ...

Availability in Globally Distributed Storage Systems - USENIX
*Now at Dept. of Industrial Engineering and Operations Research. Columbia University the datacenter environment. We present models we derived from ...

Let's Parse to Prevent Pwnage - Usenix
dling of nested HTML tags [8], apostrophes in SQL statements [19] .... prepared statements or auto-escaped HTML templates in ... becomes “1

Large-scale Incremental Processing Using Distributed ... - USENIX
collection of machines, meaning that this search for dirty cells must be distributed. ...... to create a wide variety of infrastructure but could be limiting for application ...

Modular Composition of Coordination Services - Usenix
Jun 22, 2016 - titions its data among one or more coordination service instances to maximize .... ure, i.e., if the acceptors' data center fails or a network partition ...

Exploring Games for Improved Touchscreen Authentication ... - Usenix
New York Institute of Technology ... able in the Google Play Store on an Android device while ... We developed a Touch Sensor application for Android based.

Availability in Globally Distributed Storage Systems - Usenix
(Sections 5 and 6). • Formulate a Markov ..... Figure 6: Effect of the window size on the fraction of individual .... burst score, plus half the probability that the two scores are equal ... for recovery operations versus serving client read/write

GPU-Accelerated Incremental Storage and Computation - Usenix
chunking bandwidth compared to our optimized parallel implementation without a GPU on the same host system. .... The CUDA [6] programming ..... put data either from the network or the disk and trans- .... with Inc-HDFS client using a JAVA-CUDA interf

Let's Parse to Prevent Pwnage - Usenix
to large-scale exploits such as rapidly-spreading Web ap- plication worms [18], and its risk is increasing, with the growth of distributed and cloud computing.

Touchscreen Biometrics Across Multiple Devices - Usenix
they read in our Android sensor application, which logged their keystrokes, including .... 10 subjects use some form of biometrics to unlock their mo- bile devices ...

Touchscreen Biometrics Across Multiple Devices - Usenix
cles from a set of recent stories featured in local and national news sources. ... We developed a sensor application for Android to record all touchscreen ...

Availability in Globally Distributed Storage Systems - Usenix
layered systems for user goals such as data availability relies on accurate ... live operation at Google and describe how our analysis influenced the design of our ..... statistical behavior of correlated failures to understand data availability. In

“WTH..!?!” Experiences, reactions, and expectations related to ... - Usenix
Jul 22, 2015 - on the Westin index [27] to understand people's level of tech- nical protection and ...... viding users with more education on how to protect their accounts against .... Journal of Public. Policy & Marketing, 25(2):160–171, 2006.

Comparing Expert and Non-Expert Security Practices - Usenix
Jul 24, 2015 - Security practices that experts follow and consider good security advice for .... the survey via their social media accounts. About 80% of partic-.