Skip to main content
QUICK REVIEW

[Paper Review] Collie: Finding Performance Anomalies in RDMA Subsystems

Xinhao Kong, Yibo Zhu|arXiv (Cornell University)|Apr 22, 2023
Software System Performance and ReliabilityComputer Science6 citations
TL;DR

Collie is a systematic tool that uncovers performance anomalies in RDMA subsystems by using simulated annealing to explore application workload spaces and drive hardware counters to extreme values, identifying 15 previously unknown anomalies—7 of which were fixed by vendors after reporting.

ABSTRACT

High-speed RDMA networks are getting rapidly adopted in the industry for their low latency and reduced CPU overheads. To verify that RDMA can be used in production, system administrators need to understand the set of application workloads that can potentially trigger abnormal performance behaviors (e.g., unexpected low throughput, PFC pause frame storm). We design and implement Collie, a tool for users to systematically uncover performance anomalies in RDMA subsystems without the need to access hardware internal designs. Instead of individually testing each hardware device (e.g., NIC, memory, PCIe), Collie is holistic, constructing a comprehensive search space for application workloads. Collie then uses simulated annealing to drive RDMA-related performance and diagnostic counters to extreme value regions to find workloads that can trigger performance anomalies. We evaluate Collie on combinations of various RDMA NIC, CPU, and other hardware components. Collie found 15 new performance anomalies. All of them are acknowledged by the hardware vendors. 7 of them are already fixed after we reported them. We also present our experience in using Collie to avoid performance anomalies for an RDMA RPC library and an RDMA distributed machine learning framework.

Motivation & Objective

  • Address the critical need to detect performance anomalies in RDMA subsystems that arise from complex interactions between RNICs and server hardware.
  • Overcome the limitations of traditional testing methods (e.g., basic benchmarks or real application workloads) that fail to uncover subtle, workload-dependent anomalies.
  • Enable system administrators and application developers to proactively identify and avoid performance anomalies before deployment in production environments.
  • Provide actionable insights into anomaly triggers to guide application-level design decisions in RDMA-based systems.

Proposed method

  • Construct a holistic workload search space from the developer’s perspective, focusing on controllable parameters like memory types, connection counts, and transport types.
  • Leverage vendor-provided performance and diagnostic counters (e.g., PFC pause frames, throughput) as feedback signals for optimization.
  • Apply simulated annealing to guide the search process, iteratively mutating workloads to drive counters toward extreme values indicative of anomalies.
  • Use the triggering conditions of detected anomalies to avoid redundant testing and to inform application developers on how to avoid problematic configurations.
  • Integrate hardware counter monitoring into the search loop to enable data-driven exploration of the high-dimensional workload space.
  • Validate findings through real-world evaluation on 8 commodity RDMA subsystems, including diverse RNICs, CPUs, and server configurations.

Experimental results

Research questions

  • RQ1Can a systematic, automated approach effectively uncover performance anomalies in RDMA subsystems that are not triggered by standard benchmarks or real-world workloads?
  • RQ2How can performance anomalies be detected without access to internal hardware designs or source code?
  • RQ3To what extent can simulated annealing guided by hardware counters efficiently explore the complex, high-dimensional space of RDMA application workloads?
  • RQ4What are the most common triggering conditions for RDMA subsystem anomalies, and can they be generalized across different hardware configurations?
  • RQ5Can the identified anomalies be used to guide application development and avoid performance issues before hardware fixes are available?

Key findings

  • Collie successfully identified 15 new performance anomalies in RDMA subsystems across 8 commodity hardware configurations, all acknowledged by hardware vendors.
  • Seven of the 15 anomalies were confirmed as bugs and are already fixed by vendors following the researchers’ reports.
  • The tool uncovered anomalies that were not triggered by standard benchmarks like Perftest, demonstrating its ability to find edge cases missed by conventional testing.
  • The anomalies included unexpected low throughput and PFC pause frame storms under specific combinations of application workloads, NUMA settings, and hardware components.
  • Collie’s approach enabled the development team to modify their RDMA RPC library and distributed machine learning framework to avoid known anomalies before vendor patches were released.
  • The use of simulated annealing with hardware counter feedback significantly improved search efficiency compared to random or blind exploration of the workload space.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.