Endure: A Robust Tuning Paradigm for LSM Trees Under Workload Uncertainty

10/26/2021
by   Andy Huynh, et al.
0

Log-Structured Merge trees (LSM trees) are increasingly used as the storage engines behind several data systems, frequently deployed in the cloud. Similar to other database architectures, LSM trees take into account information about the expected workload (e.g., reads vs. writes, point vs. range queries) to optimize their performance via tuning. Operating in shared infrastructure like the cloud, however, comes with a degree of workload uncertainty due to multi-tenancy and the fast-evolving nature of modern applications. Systems with static tuning discount the variability of such hybrid workloads and hence provide an inconsistent and overall suboptimal performance. To address this problem, we introduce Endure - a new paradigm for tuning LSM trees in the presence of workload uncertainty. Specifically, we focus on the impact of the choice of compaction policies, size-ratio, and memory allocation on the overall performance. Endure considers a robust formulation of the throughput maximization problem, and recommends a tuning that maximizes the worst-case throughput over a neighborhood of each expected workload. Additionally, an uncertainty tuning parameter controls the size of this neighborhood, thereby allowing the output tunings to be conservative or optimistic. Through both model-based and extensive experimental evaluation of Endure in the state-of-the-art LSM-based storage engine, RocksDB, we show that the robust tuning methodology consistently outperforms classical tun-ing strategies. We benchmark Endure using 15 workload templates that generate more than 10000 unique noisy workloads. The robust tunings output by Endure lead up to a 5× improvement in through-put in presence of uncertainty. On the flip side, when the observed workload exactly matches the expected one, Endure tunings have negligible performance loss.

READ FULL TEXT

page 8

page 9

research
08/15/2020

Automatic Storage Structure Selection for hybrid Workload

In the use of database systems, the design of the storage engine and dat...
research
08/14/2020

Consideration for effectively handling parallel workloads on public cloud system

We retrieved and analyzed parallel storage workloads of the FUJITSU K5 c...
research
01/21/2023

LWS: A Framework for Log-based Workload Simulation in Session-based SUT

Microservice-based applications and cloud-native systems have been widel...
research
03/10/2022

LlamaTune: Sample-Efficient DBMS Configuration Tuning

Tuning a database system to achieve optimal performance on a given workl...
research
05/22/2018

Storage and Memory Characterization of Data Intensive Workloads for Bare Metal Cloud

As the cost-per-byte of storage systems dramatically decreases, SSDs are...
research
03/17/2023

Autonomic Architecture for Big Data Performance Optimization

The big data software stack based on Apache Spark and Hadoop has become ...
research
11/27/2020

Introducing the Task-Aware Storage I/O (TASIO) Library

Task-based programming models are excellent tools to parallelize and sea...

Please sign up or login with your details

Forgot password? Click here to reset