[Paper Review] Energy and Performance-Can a Wimpy-Node Cluster Challenge a Brawny Server?
This paper evaluates a cluster of lightweight (wimpy) nodes—WattDB—against a single, high-performance (brawny) server for energy efficiency and performance under OLTP and OLAP workloads. The cluster dynamically scales node count to workload demands, achieving up to 50% lower energy consumption than the monolithic server, especially under low-to-moderate utilization, with acceptable performance trade-offs when workload forecasting is used.
Traditional DBMS servers are usually over-provisioned for most of their daily workloads and, because they do not show good energy proportionality, waste a lot of energy while underutilized. A cluster of small (wimpy) servers, where the number of nodes can dynamically adjust to the current workload, might offer better energy characteristics for these workloads. Yet, clusters suffer from "friction losses" and may not be able to quickly adapt to the workload, whereas a single, brawny server delivers performance instantaneously. In this paper, we compare a small cluster of lightweight nodes to a single server in terms of performance and energy efficiency. We run several benchmarks, consisting of OLTP and OLAP queries at variable utilization to test the system's ability to adjust to the workloads. To quantify possible energy saving and its conceivable drawback on query runtime, we evaluate our implementation on a cluster as well as on a single, brawny server and compare the results w.r.t. performance and energy consumption. Our findings confirm that - based on the workload - energy can be saved without sacrificing too much performance.
Motivation & Objective
- To evaluate whether a dynamically scalable cluster of lightweight nodes can outperform a single, high-end server in energy efficiency while maintaining acceptable performance.
- To investigate the trade-off between energy savings and performance degradation due to network and coordination overhead in distributed systems.
- To assess the impact of workload predictability and forecasting on cluster energy efficiency and response time.
- To compare energy consumption and query throughput between a clustered DBMS (WattDB) and a traditional monolithic DBMS under real-world OLTP and OLAP workloads.
- To determine under which workload conditions a cluster-based approach offers superior energy proportionality despite inherent 'friction losses'.
Proposed method
- Implemented WattDB, a research prototype of a distributed, elastic DBMS running on commodity, Amdahl-balanced wimpy nodes with dynamic scaling capabilities.
- Used TPC-C and TPC-H benchmarks to evaluate OLTP and OLAP workloads at varying utilization levels to simulate real-world database workloads.
- Employed workload forecasting to proactively scale the cluster size in anticipation of load changes, reducing response time penalties.
- Measured energy consumption and query performance across different utilization levels, comparing the cluster to a single, high-powered server.
- Evaluated both static and forecast-based cluster scaling strategies to assess the impact of proactive resource allocation on energy and performance.
- Quantified energy efficiency via total energy (Wh), throughput (queries per second), and average energy per query (mJ/query), with logarithmic visualization for comparison.
Experimental results
Research questions
- RQ1Can a cluster of lightweight nodes achieve better energy efficiency than a single, high-performance server under typical database workloads?
- RQ2How do 'friction losses' from network communication and coordination affect query performance in a distributed DBMS compared to a monolithic system?
- RQ3To what extent does workload forecasting improve the performance and energy efficiency of a dynamically scaling cluster?
- RQ4Under what workload conditions does the cluster's energy savings outweigh its performance disadvantages compared to a brawny server?
- RQ5How does energy proportionality manifest in a cluster versus a centralized system, especially at low utilization levels?
Key findings
- The wimpy-node cluster consumed less than half the power of the brawny server under low-to-moderate workloads, resulting in significantly lower energy consumption per query.
- For OLAP workloads, the cluster achieved better energy efficiency than the monolithic server, especially at lower utilizations, due to minimal coordination overhead.
- In OLTP workloads, the cluster was up to a magnitude slower than the brawny server due to synchronization and coordination overhead, but forecasting reduced this gap.
- With workload forecasting, the cluster achieved comparable performance to the brawny server at lower energy consumption, particularly for high-intensity workloads.
- The cluster's energy efficiency dominated the monolithic server's in the 20–50% utilization range, which is typical for many real-world database applications.
- Despite higher power usage during forecasting preparation phases, the overall energy efficiency improved due to better load matching and reduced idle energy waste.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.