embedded system lab. jung youngjin janus: optimal flash provisioning for cloud storage workloads c....
DESCRIPTION
정 영 진 Embedded System Lab. Introduction System description Workload characterization Economics and provisioning Optimizing the flash allocation for workloads Optimization with bounded write rates Evaluation Conclusion ContentsTRANSCRIPT
Embedded System Lab.
Jung [email protected]
Janus: Optimal Flash Provisioning for Cloud Storage Workloads
C. Albrecht, A. Merchant, M. Stokely, M. Waliji, F. Labelle, N. Coehlo, X. Shi, and C. E. Schrock.
In Proceedings of the annual conference on USENIX Annual Technical Conference, ATC ’13, Berkeley, CA, USA, 2013. USENIX Association.
정 영 진 Embedded System Lab.
정 영 진 Embedded System Lab.
Introduction System description Workload characterization Economics and provisioning Optimizing the flash allocation for
workloads Optimization with bounded write rates Evaluation Conclusion
Contents
정 영 진 Embedded System Lab.
HDD & SSD Disks are slow, even as their capacities grow We can compensate for this by adding flash storage
Large cloud environment Many user Many workload Distributing the available flash capacity
uniformly between the workloads is not ideal
Introduction
정 영 진 Embedded System Lab.
Janus? Provides flash storage allocation recommendations for
workloads in a distributed file system Used in distributed file system, GFS, Colosus …
Google workload Analyzed workload characterizations
Most I/O accesses -> recently created files 28% of read operations -> 1% data
Files are placed in the flash upon creation
Introduction
정 영 진 Embedded System Lab.
Recommendation Runs periodically to adjust Many read operation -> flash storage Key input
Age of data Read rate of the data by age
Janus work step Collect age of data and characterization of how cacheable
each workload Allocate flash amongst the workloads Coordination with the distributed file system
System description
HybridStorage
Colosus orGFS
정 영 진 Embedded System Lab.
Workload A large application have many job
Need to define a metric that lets us compare how many read operations would be served
Workload characterization
정 영 진 Embedded System Lab.
Cacheability functions FIFO eviction instance
How much data there is of a given age How many reads there are to files of a given age
LRU eviction instance Amount of data with a given temporal locality Rate of reads to files with that temporal locality(time gap)
Workload characterization
SIGELMAN, B. H., ET AL. Dapper, a large-scale distributed systems tracing infrastructure. rep., Google, Inc., 2010.
정 영 진 Embedded System Lab.
Obtaining instance From file system metadata From trace sample
Function input/output Input : size of data Output : the number of read operations
Workload characterization
정 영 진 Embedded System Lab.
Peak IOPS and capacity requirementsEconomics and provisioning
Cost effective to put workloads
entirely in flashCost effective to hot portions ofthe data on flash
정 영 진 Embedded System Lab.
Determine the best flash allocation for each workload
Primary goal Find maximize the aggregate rate of read operations
Instance Workloads with cacheability function Total flash capacity
Task Allocate flash to workloads to maximize the weighted flash
read rate
Optimizing the flash allocation for workloads
정 영 진 Embedded System Lab.
Secondary goal Bound the flash write rate to reduce flash wear
Instance Workloads with cacheability function and write rate Bound on the flash write rate Total flash capacity
Task Allocate flash to workloads and determine write probability
for each workload to maximize the flash read rate
Optimization with bounded write rates
정 영 진 Embedded System Lab.
Flash hit rate during trainingEvaluation
정 영 진 Embedded System Lab.
Flash usage and flash read rate for one workload over time
Evaluation
정 영 진 Embedded System Lab.
Comparison of flash hit rates for alternative allocation methods
Evaluation
Allocation MethodCell A
(low workload variance)
Cell B(high workload
variance)Optimized 28% 74%
Proportional to read rate 26% 64%
Single FIFO 19% 42%Proportional to data size 14% 15%
정 영 진 Embedded System Lab.
2013 USENIX Annual Technical Conference, Presentation video
Reference
정 영 진 Embedded System Lab.
Q & A