[Paper Review] Demystifying the MLPerf Benchmark Suite
This paper provides a comprehensive characterization of the MLPerf benchmark suite, analyzing its diverse workloads across hardware platforms to reveal critical insights into system bottlenecks in distributed deep learning training. It demonstrates that MLPerf benchmarks vary significantly in scaling efficiency, communication patterns, and hardware sensitivity—highlighting the need for optimized interconnects (e.g., NVLink), smart scheduling, and compiler optimizations to maximize performance.
MLPerf, an emerging machine learning benchmark suite strives to cover a broad range of applications of machine learning. We present a study on its characteristics and how the MLPerf benchmarks differ from some of the previous deep learning benchmarks like DAWNBench and DeepBench. We find that application benchmarks such as MLPerf (although rich in kernels) exhibit different features compared to kernel benchmarks such as DeepBench. MLPerf benchmark suite contains a diverse set of models which allows unveiling various bottlenecks in the system. Based on our findings, dedicated low latency interconnect between GPUs in multi-GPU systems is required for optimal distributed deep learning training. We also observe variation in scaling efficiency across the MLPerf models. The variation exhibited by the different models highlight the importance of smart scheduling strategies for multi-GPU training. Another observation is that CPU utilization increases with increase in number of GPUs used for training. Corroborating prior work we also observe and quantify improvements possible by compiler optimizations, mixed-precision training and use of Tensor Cores.
Motivation & Objective
- To analyze the performance characteristics of the MLPerf benchmark suite across diverse hardware platforms.
- To understand how MLPerf benchmarks differ from prior deep learning benchmarks like DAWNBench and DeepBench in terms of workload behavior and system bottlenecks.
- To investigate the impact of hardware interconnects (e.g., PCIe vs. NVLink), CPU utilization, and system topology on training performance.
- To evaluate the role of compiler optimizations, mixed-precision training, and Tensor Core utilization in accelerating MLPerf workloads.
- To identify opportunities for intelligent scheduling in multi-GPU environments based on model-specific scaling behavior.
Proposed method
- Conducted experiments on multiple hardware platforms, including systems with NVLink, PCIe switches, and CPU-based GPU connections, to evaluate end-to-end training performance.
- Measured GPU and CPU utilization across three job types: distributed training (multi-GPU), multiple hyperparameter runs, and mixed workloads.
- Analyzed data transfer rates over PCIe and NVLink buses to assess communication overhead in multi-GPU training.
- Evaluated the impact of XLA compiler optimizations and mixed-precision training with Tensor Cores on convergence speed and accuracy.
- Mapped workloads on a roofline performance model to compare arithmetic intensity and memory bandwidth requirements across MLPerf, DAWNBench, and DeepBench.
- Compared identical models across different frameworks (e.g., ResNet-50 in TensorFlow vs. MXNet) to assess implementation-dependent performance variation.
Experimental results
Research questions
- RQ1How do the MLPerf benchmarks differ in scaling efficiency and communication patterns across multi-GPU systems with varying interconnects?
- RQ2To what extent do compiler optimizations (e.g., XLA) and mixed-precision training improve performance on MLPerf workloads?
- RQ3How does the choice of GPU interconnect (PCIe vs. NVLink) affect training throughput and system utilization?
- RQ4What is the relationship between model architecture and system resource utilization (CPU/GPU) in distributed training?
- RQ5How do MLPerf benchmarks compare to prior benchmarks like DAWNBench and DeepBench in terms of computational intensity and memory bandwidth demands?
Key findings
- MLPerf benchmarks exhibit significant intra-suite dissimilarity, with scaling efficiency varying widely—e.g., ResNet-50 in TensorFlow shows near-perfect scaling, while NCF_Py shows poor scaling.
- NVLink-enabled systems outperform PCIe-based systems by up to 40% in training time, with the highest performance gains observed in communication-heavy models like MLPf_NCF_Py.
- XLA compilation reduced training time by 40% for ResNet-50 in TensorFlow without affecting accuracy, demonstrating the value of kernel fusion and compiler optimization.
- Mixed-precision training with Tensor Cores delivered a 3.3× speedup on ResNet-50_TF but only 1.5× on MRCNN_Py, indicating model-dependent gains.
- CPU utilization increased significantly with more GPUs, especially in multiple-run and mixed-run scenarios, due to per-GPU host program overhead.
- PCIe bus utilization during distributed training reached up to 58.95 GBps (for MLPf_NCF_Py), highlighting that communication can become a bottleneck in PCIe-connected systems without direct GPU-to-GPU access.
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.