Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

ACTS in Need: Automatic Configuration Tuning with Scalability Guarantees

Published 4 Aug 2017 in cs.DC | (1708.01349v2)

Abstract: To support the variety of Big Data use cases, many Big Data related systems expose a large number of user-specifiable configuration parameters. Highlighted in our experiments, a MySQL deployment with well-tuned configuration parameters achieves a peak throughput as 12 times much as one with the default setting. However, finding the best setting for the tens or hundreds of configuration parameters is mission impossible for ordinary users. Worse still, many Big Data applications require the support of multiple systems co-deployed in the same cluster. As these co-deployed systems can interact to affect the overall performance, they must be tuned together. Automatic configuration tuning with scalability guarantees (ACTS) is in need to help system users. Solutions to ACTS must scale to various systems, workloads, deployments, parameters and resource limits. Proposing and implementing an ACTS solution, we demonstrate that ACTS can benefit users not only in improving system performance and resource utilization, but also in saving costs and enabling fairer benchmarking.

Citations (10)

Summary

  • The paper introduces ACTS, an automatic configuration tuning system that utilizes Latin Hypercube Sampling and Recursive Random Search to efficiently explore high-dimensional parameter spaces.
  • The paper addresses challenges in Big Data systems such as dynamic performance models and costly sample collection, providing a scalable solution across diverse environments.
  • The paper demonstrates significant benefits including up to 11 times performance improvement, enhanced resource utilization, and reduced labor costs through automated tuning.

Automatic Configuration Tuning with Scalability Guarantees

Introduction

The paper "ACTS in Need: Automatic Configuration Tuning with Scalability Guarantees" (1708.01349) addresses the critical challenge of configuration tuning in Big Data systems, focusing on scalability across various systems, workloads, and deployment environments. Big Data systems typically feature numerous user-specifiable parameters that significantly impact performance, making manual tuning a cumbersome and often impractical task for users, particularly when multiple systems are deployed simultaneously. The paper proposes a solution to this complexity through an automatic configuration tuning system (ACTS) that promises scalability and efficacy in tuning diverse systems within given resource limits.

Problem Definition and Challenges

Automatic Configuration Tuning with Scalability Guarantees (ACTS) is posed as a sophisticated optimization problem aimed at finding the best configuration settings in complex, multi-dimensional parameter spaces inherent to Big Data systems. Key challenges highlighted include:

  • High Dimensionality: Many systems, such as Hadoop and MySQL, feature hundreds of configuration parameters that influence performance. Tuning these parameters manually is impractical due to the sheer number involved.
  • Dynamic Performance Models: Performance models are highly dynamic and change according to varying workloads, hardware setups, and co-deployment with other systems. Manual modeling or simulation becomes infeasible due to this dynamic complexity.
  • Costly Sample Collection: Collecting performance data is expensive as it requires testing configurations in environments identical to actual deployments, further constrained by the limited number of samples that can practically be collected.

The ACTS problem necessitates solutions that can handle these challenges efficiently while ensuring scalability across different systems and operational contexts.

Proposed Solution

The paper introduces a preliminarily feasible solution to the ACTS problem, leveraging a flexible system architecture that can adapt to various systems and environments. Key components of this architecture include:

  • System Manipulator and Workload Generator: These components facilitate sample collection directly from system tests under real deployment conditions, crucial for addressing the dynamicity and complexity challenges.
  • Latin Hypercube Sampling (LHS): Adopted for its ability to provide wide coverage of the high-dimensional parameter space within any given resource limit, ensuring scalability in sample collection.
  • Recursive Random Search (RRS): Implemented as a scalable optimization algorithm capable of navigating the parameter space to identify optimal configuration settings. The algorithm is noted for not being confined to local optima, thus ensuring a robust exploration of the parameter space.

This architecture marks a departure from previous architectures that relied on assumptions about preconstructed performance models or simulation-based configurations, which cannot accommodate the dynamic and contextually nuanced nature of Big Data system deployments.

Implications and Benefits

The adoption of ACTS implies significant benefits for users, including:

  • Improved System Performance: The solution demonstrates potential performance gains up to 11 times, enabling systems to achieve peak operational efficiency through optimized configurations.
  • Enhanced System Utilization: By optimizing throughput, ACTS can reduce reliance on multiple virtual machines, directly impacting resource allocation costs in cloud deployments.
  • Labor Cost Savings: Automating configuration tuning drastically reduces the time and human resources required compared to traditional manual tuning processes.
  • Fair Benchmarking: Provides an objective basis for comparing system performances by ensuring each system operates under optimal configurations, removing the subjective human element from initial tuning stages.
  • Bottleneck Identification: Through systematic tuning, ACTS facilitates the identification of system bottlenecks, informing strategic adjustments and optimizations.

Conclusion

The paper establishes the groundwork for scalable, automated configuration tuning in Big Data environments, underscoring ACTS as a potentially indispensable tool in modern system deployments. While a preliminary solution is presented, the authors acknowledge considerable research opportunities in refining these methods to fully realize ACTS's potential. The work paves the way for equipping future systems with in-built automatic tuning capabilities, which could fundamentally transform system deployment efficiencies in Big Data contexts.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

Explain it Like I'm 14

A Simple Explanation of “ACTS in Need: Automatic Configuration Tuning with Scalability Guarantees”

Overview: What’s this paper about?

This paper talks about a way to automatically tune the “settings” of big computer systems so they run faster and use fewer resources. Think of these settings like the many sliders and switches in a video game that change graphics, sound, and controls. In big data systems (like MySQL, Hadoop, Spark, or Tomcat), there are hundreds of such “knobs.” Picking the best combination can make the system much faster—sometimes about 11 times faster—but doing it by hand is too hard for most people. The authors propose ACTS, a method to tune these settings automatically and reliably in many different situations.

Goals: What questions are the authors trying to answer?

The authors want to know if we can build an automatic tuning system that:

  • Works for different kinds of systems (databases, web servers, data processing engines).
  • Adapts to different workloads (the kind of tasks the system is doing, like many reads vs. mixed reads and writes).
  • Handles different deployment environments (single machines vs. clusters, different hardware, and co-running software like Java).
  • Tunes lots of settings (sometimes hundreds) without oversimplifying.
  • Still finds good results even when it can only run a limited number of tests (because tests can be slow and expensive), and gets better if it’s allowed to run more.

In short, they want automatic tuning that “scales” across systems, workloads, environments, parameter sets, and the number of tests.

Methods: How did they approach the problem?

The authors designed a flexible setup (an “architecture”) with three parts:

  • A tuner: the brain that decides which settings to try next.
  • A system manipulator: the hands that apply new settings to the system and restart it if needed.
  • A workload generator: the engine that runs real or realistic tasks to measure performance.

They run these tuning tests in a “staging environment,” which is a safe copy of the real system. It has the same hardware and software as production but won’t disrupt real users. This way, they can measure actual performance without risking live systems.

To pick which settings to try, they use two ideas:

  • Latin Hypercube Sampling (LHS): Imagine each setting’s range as a line divided into equal segments. LHS picks samples so that, across all settings, it covers the space evenly. It’s like ensuring you taste every “slice” of each ingredient when experimenting with recipes, rather than accidentally sampling the same few combinations.
  • Recursive Random Search (RRS): This is like looking for the highest hill in a huge, bumpy landscape. First, you wander around randomly to find a promising spot (exploration). Then you search nearby to climb higher (exploitation). If you stop getting higher, you jump to a new area and try again. This helps avoid getting stuck on a small hill when a taller one exists somewhere else.

They chose LHS because it covers the setting space well even with few samples, and RRS because it keeps improving results and doesn’t get stuck easily.

Findings: What did they discover, and why does it matter?

  • Huge speedups are possible. For MySQL (a popular database), tuning the settings increased throughput from about 9,815 operations per second to about 118,184—roughly 11 times faster—without changing the code, just the settings.
  • Small boosts matter at scale. For Tomcat (a web server), tuning gave improvements of around 4–12% on different metrics. That may seem modest, but in a large cloud deployment, even a few percent can let you run fewer virtual machines. The authors estimate you could remove about 1 out of every 26 machines for the same traffic.
  • Saves a lot of time and money. Manual tuning can take months of human effort and still miss better settings. Their automatic method found better results in just a couple of days.
  • Fairer comparisons between systems. When researchers compare systems (benchmarking), results can be misleading if the systems aren’t properly tuned. ACTS makes the tuning process more objective and consistent, so comparisons are more trustworthy.
  • Finds bottlenecks. In systems that work together (for example, a front-end cache plus a database), ACTS helps figure out which part is slowing things down. You can tune each piece and the combination to see where performance gets stuck, which points to the real problem.

Implications: Why is this important for the future?

Computer systems are getting more complex, with more knobs to turn and more ways those knobs interact with hardware, workloads, and other software. Doing this by hand is often impractical. ACTS shows that automatic tuning is not only possible, but powerful and cost-effective. It can:

  • Make systems faster without changing the code.
  • Reduce cloud costs by using fewer machines for the same job.
  • Help teams benchmark fairly and avoid misleading claims.
  • Guide engineers to the true causes of slowdowns.

The authors believe future systems should include automatic tuning as a built-in feature. Their approach is a first step and opens up many research opportunities to make automatic configuration tuning even better.

Open Problems

We found no open problems mentioned in this paper.