WQEFC:A Scalable and Low-Latency RDMA Messages Scheduler for Mixed Messages
RDMA has been widely deployed to improve the performance of applications with frequently fine-grained remote access. However, restricted on-chip resources result in cache misses under high concurrency that significantly degrade network performance. QPC-aware solutions only focus on the number of concurrent QPs, ignoring the impact of WQE within QPs. SMART limits the number of WQEs in each QP with a credit-based scheme. Nevertheless, we find that equal treatment increases the tail latency of messages ranging from 32 bytes to 1024 bytes by 2× when mixing messages of different sizes. In this paper, we introduce WQEFC, a scalable RDMA message scheduler that provides lower latency and higher throughput for applications with heavily concurrent messages. Our key insight is that there is a significant difference in the sensitivity to cache miss between messages of different sizes. For messages smaller than 32 bytes, which are sensitive to cache misses, we combine the credit limiter and sub-message poller, limiting the number of concurrent wqes to avoid cache miss while ensuring optimal message completion latency. For other messages, which are insensitive to cache miss, we assign them a higher priority and use the sub-message poller to ensure message concurrency while reducing cache miss. We implement WQEFC as a middleware between the driver layer and the application layer for flexible deployment. WQEFC outperforms the state-of-the-art solution Smart by increasing system throughput by 61.3%, and reducing the tail latency of messages smaller than 32 bytes and larger than 32 bytes by 41.6% and 72.6%, respectively.
Authors
- Xuanqi Meng (ORCID: https://orcid.org/0000-0002-4655-7352)
- Keqiu Li (ORCID: https://orcid.org/0000-0003-1758-3030)
- Yaozhen Li (ORCID: https://orcid.org/0009-0008-1855-776X)
- Lide Suo (ORCID: https://orcid.org/0009-0001-9370-7878)
- Wenxin Li (ORCID: https://orcid.org/0000-0001-8507-0339)
- Yitao Hu (ORCID: https://orcid.org/0009-0004-0458-0900)
- Yiren Pang (ORCID: https://orcid.org/0009-0001-3296-0378)
- Yuxuan Du (ORCID: https://orcid.org/0000-0002-8564-9137)
Institutions
- Tianjin University (CN)
Publication Details
- Published
- 2024-12-13
- DOI
- https://doi.org/10.1109/hpcc64274.2024.00212
- Primary Topic
- Distributed and Parallel Computing Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Key Research and Development Program of China