[Paper Review] BOPS, Not FLOPS! A New Metric and Roofline Performance Model For Datacenter Computing
This paper proposes BOPS (Basic Operations Per Second) as a new computation-centric metric for datacenter workloads, replacing FLOPS which is ineffective due to low utilization (0.1% efficiency). By defining a minimal set of representative operations—integer/floating-point arithmetic, comparison, and array addressing—the authors introduce a formal BOPS model and a tool that enables accurate performance upper-bound estimation and cross-workload comparison, achieving 4.4× speedup in Sort and 1.2× in Redis via BOPS-guided optimization.
For emerging datacenter (in short, DC) workloads, such as online Internet services or offline data analytics, how to evaluate the upper bound performance and provide apple-to-apple comparisons are fundamental problems. To this end, a unified computation-centric metric is an essential requirement. As the most important computation-centric performance metric, FLOPS has guided computing systems evolutions for many years. However, our observations demonstrate that the average FLOPS efficiency of the DC workloads is only 0.1%, which implies that FLOPS is inappropriate for DC computing. To address the above issue, we propose BOPS (Basic Operations Per Second), which is the average number of BOPs (Basic OPerations) completed per second. We conduct the analysis on the characteristics of seventeen typical DC workloads and extract the minimum representative computation operations set, which is composed of integer and floating point computation operations of arithmetic, comparing and array addressing. Then, we propose the formalized BOPS definition and the BOPS based upper bound performance model. Finally, the BOPS measuring tool is also implemented. We perform experiments with seventeen DC workloads on three typical Intel processors platforms. First, BOPS can reflect the performance gap of different computing systems, the bias between the peak BOPS performance gap and the average DC workloads' wall clock time gap is no more than 10%. Second, the Sort workload can achieve 32% BOPS efficiency on the experimental platform. At last, we present two use cases of BOPS. One is the BOPS based system evaluation, we illustrate that BOPS can compare performance of workloads from multiple domains. The other is BOPS based optimizations. We show that under the guiding of the BOPS based upper bound model, the Sort workload and the Redis workload achieve 4.4X and 1.2X performance improvements respectively.
Motivation & Objective
- Address the lack of a unified, computation-centric performance metric for datacenter (DC) workloads, which currently rely on user-perceived metrics like requests per second or wall clock time.
- Identify the fundamental flaw in using FLOPS for DC workloads, where average FLOPS efficiency is only 0.1%, making it an inaccurate performance indicator.
- Develop a new metric, BOPS (Basic Operations Per Second), based on a minimal, representative set of operations common across diverse DC workloads.
- Establish a formal BOPS-based upper bound performance model (DC-Roofline) to guide system evaluation and workload optimization.
- Demonstrate the practical utility of BOPS through real-world optimizations in Redis and Sort, showing measurable performance improvements.
Proposed method
- Analyze 17 typical datacenter workloads (e.g., Redis, Sort, AI inference) to identify dominant operations, revealing that they are data-movement and control-intensive with high integer and branch operations.
- Define BOPs (Basic Operations) as a minimal, representative set of operations: integer/floating-point arithmetic, comparison, and array addressing—operations critical to data movement and control flow.
- Formalize BOPS as a computation-centric metric: BOPS = (sum of BOPs executed) / (wall clock time), enabling cross-platform and cross-workload performance comparison.
- Implement a BOPS measuring tool that analyzes source code to count BOPs and estimate performance, independent of hardware-specific tuning.
- Develop the DC-Roofline model, a performance upper-bound model based on BOPS, which identifies performance bottlenecks (e.g., memory bandwidth, compute) and guides optimization.
- Apply the DC-Roofline model to optimize real workloads: use compiler flags (-O3), memory allocator replacement (Jemalloc), hash function replacement (HighwayHash), and pre-allocation (NO_REHASH) to improve OI and BOPS.
Experimental results
Research questions
- RQ1Why is FLOPS ineffective as a performance metric for modern datacenter workloads, and what are the root causes of its poor correlation with actual performance?
- RQ2What is a minimal, representative set of computation operations that captures the essential computational behavior across diverse datacenter workloads?
- RQ3How can a new computation-centric metric, BOPS, be formally defined and measured to enable accurate, apples-to-apples performance comparison across heterogeneous workloads?
- RQ4Can the BOPS-based DC-Roofline model effectively predict performance bottlenecks and guide system-level optimizations in real-world datacenter workloads?
- RQ5To what extent can BOPS-guided optimizations improve real-world datacenter workloads like Redis and Sort in terms of BOPS efficiency and end-to-end performance?
Key findings
- The average FLOPS efficiency of datacenter workloads is only 0.1%, demonstrating that FLOPS is a poor metric for characterizing real-world datacenter performance.
- BOPS achieves a performance gap bias of no more than 10% between peak BOPS (micro-architecture) and average wall clock time across three Intel platforms, confirming its accuracy in reflecting system performance differences.
- The Sort workload achieved 32% BOPS efficiency on the experimental platform, demonstrating that BOPS can quantify real system utilization and guide optimization.
- Using the DC-Roofline model, the Sort workload achieved a 4.4× performance improvement through targeted optimizations, validating the model’s effectiveness in identifying and resolving bottlenecks.
- The Redis workload was optimized via BOPS-guided techniques (NO_REHASH, JE_MALLOC, SIMD_HASH), resulting in a 1.2× performance improvement (from 122k to 146k QPS) and a rise in OI from 2.9 to 3.8.
- The BOPS measuring tool successfully enabled cross-domain comparison across Big Data, AI, HPC, OLTP, and OLAP workloads, proving BOPS' universality and utility in system evaluation and optimization.
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.