TL;DR
This paper tackles the challenge of creating comprehensive big data benchmarks by identifying and abstracting core computational "dwarfs" – frequently occurring operations – within diverse big data analytics workloads. By proposing eight such dwarfs, the authors lay the groundwork for a more efficient and representative approach to benchmarking, moving beyond specific applications to fundamental computational building blocks.
What Problem Does This Paper Address?
Benchmarking big data systems is crucial for evaluating their performance, but the sheer complexity, diversity, and rapid evolution of big data workloads pose significant challenges. Traditional approaches often focus on specific domains or popular workloads, which can be subjective and fail to capture the full spectrum of big data analytics. The authors aim to address this by developing a systematic methodology to identify fundamental computational units, or "dwarfs," that represent the building blocks of a wide range of big data analytics tasks. This abstraction allows for the creation of more generalizable and cost-effective benchmarks.
Methods
The authors propose a multi-step methodology for identifying these "dwarfs":
- Application Domain Identification: They first identify six important and emerging application domains: search engine, social network, e-commerce, bioinformatics, multimedia, and astronomy. This selection is based on metrics like page views and visitor data, as well as their significance in big data analytics.
- Technique and Library Investigation: Within these domains, they investigate widely used processing techniques (e.g., machine learning, data mining), libraries (e.g., MLlib, Mahout), frameworks (e.g., Spark, Hadoop), and existing benchmarks.
- Algorithm Selection: They then select 40 representative algorithms that play significant roles in these application domains.
- Dwarf Abstraction: The core of their method involves deeply analyzing these 40 algorithms to identify frequently appearing operations. These operations are then abstracted into eight "dwarfs workloads." This process omits flow control (like iteration) and basic mathematical functions, focusing instead on the essence of computation.
- Confirmation: The identified dwarfs are confirmed by analyzing their accuracy and comprehensiveness, and by demonstrating how combinations of these dwarfs can compose the original 40 algorithms. They also use a Directed Acyclic Graph (DAG)-like structure to represent the composition of algorithms from dwarfs.
Datasets
The paper does not explicitly list specific datasets used for training or evaluation in the context of identifying the dwarfs. However, it mentions that their benchmark suite, BigDataBench 3.1, includes "14 real-world data sets." The methodology itself is based on analyzing algorithms and their operations, rather than training on specific datasets.
Key Insights and Ideas
- The "Dwarf" Abstraction: The central idea is that complex big data workloads can be decomposed into a small set of fundamental computational "dwarfs." This is analogous to how numerical methods were abstracted into "dwarfs" in scientific computing.
- Beyond OLAP: The identified dwarfs are specifically for big data analytics, moving beyond traditional OLAP operations.
- Cost-Efficiency and Representativeness: Using dwarfs for benchmarking is proposed as a more cost-efficient and representative approach than using vast, real-world workloads.
- Eight Core Dwarfs: The identification of eight specific dwarfs (Linear Algebra, Sampling, Logic Operations, Transform Operations, Set Operations, Graph Operations, Sort, and Statistic Operations) provides a concrete set of building blocks for big data analytics.
- DAG Representation: The use of DAGs to illustrate how algorithms are composed of dwarfs offers a clear visual and structural understanding of this abstraction.
Key Results
The primary result of this paper is the identification and definition of eight "dwarfs workloads" in big data analytics:
- Linear Algebra: Matrix/Vector operations (addition, subtraction, multiplication).
- Sampling: MCMC, random sampling.
- Logic Operations: Hash algorithms (e.g., MD5).
- Transform Operations: FFT, DCT, Wavelet Transform.
- Set Operations: Union, intersection, complement.
- Graph Operations: Graph traversal and computations.
- Sort: Various sorting algorithms (partial, quick, top-k).
- Statistic Operations: Count operations.
The paper also demonstrates how these dwarfs can be combined to represent 40 previously investigated algorithms and forms the basis for their BigDataBench benchmark suite.
Limitations and Future Work
- Flow Control Omission: The authors explicitly omit flow control (iteration, selection) and basic mathematical functions from their dwarf definitions, focusing on computational units. While this simplifies the abstraction, it means that the dwarfs themselves don't fully represent an entire algorithm's execution flow.
- Comparison with NRC Seven Giants: The paper contrasts its eight dwarfs with the "seven giants" proposed by the National Research Council. The dwarfs are at a lower level of abstraction, focusing on units of computation, whereas the giants are more macroscopical problem definitions.
- Future Work: The paper's immediate future work is the construction of the BigDataBench benchmark suite based on these dwarfs, which they have already initiated. The methodology itself is presented as a foundation for future benchmarking efforts in big data analytics.
Summary updated