Learning Buffer Management Policies for Shared Memory Switches
Mowei Wang, Sijiang Huang, Yong Cui, Wendong Wang, Zhenhua Li
Abstract
Today’s network switches often use on-chip shared memory to improve buffer efficiency and absorb bursty traffic. Current buffer management practices usually rely on simple heuristics and have unrealistic assumptions about the traffic pattern, since developing a buffer management policy suited for every scenario is infeasible. We show that modern machine learning techniques can be of essential help to learn efficient policies automatically.In this paper, we propose Neural Dynamic Threshold (NDT) that uses deep reinforcement learning (RL) to learn buffer management policies without human instructions except for a high-level objective. To tackle the high complexity and scale of the buffer management problem, we develop two domain-specific techniques upon off-the-shelf deep RL solutions. First, we design a scalable RL model by leveraging the permutation symmetry of the switch ports. Second, we use a two-level control mechanism to achieve efficient training and decision-making. The buffer allocation is directly controlled by a low-level heuristic during the decision interval, while the RL agent only decides the high-level control factor according to the traffic density. Testbed and simulation experiments demonstrate that NDT generalizes well and outperforms hand-tuned heuristic policies even on workloads for which it was not explicitly trained.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 1258f8b3-687b-4e2d-a018-d64e77039520Cited by top-tier papers3
- Occamy: A Preemptive Buffer Management for On-chip Shared-memory SwitchesDanfeng Shan, Yunguang Li, Jinchao Ma, Zhenxing Zhang et al.EuroSys 2025 · 5 citations
- NetRadar: Enabling Robust Carpet Bombing DDoS DetectionJunchen Pan, Lei Zhang, Xiaoyong Si, Jie Zhang et al.NDSS 2026 · 1 citation
- Themis: Scheduling-Aware Buffer Management for HBM-Based Hybrid BuffersZhiyu Zhang, Minkun Xue, Kan Yu, Ruyi Yao et al.NSDI 2026
Related papers
- Traffic-aware Buffer Management in Shared Memory SwitchesSijiang Huang, Mowei Wang, Yong CuiINFOCOM 2021 · 14 citations
- Protean: Adaptive Management of Shared-Memory in Datacenter SwitchesHamidreza Almasi, Rohan Vardekar, Balajee VamananINFOCOM 2023 · 11 citations
- ABS: Adaptive Buffer Sizing via Augmented Programmability with Machine LearningJiaxin Tang, Sen Liu, Yang Xu, Zehua Guo et al.INFOCOM 2022 · 9 citations
- DeepScheduler: Enabling Flow-Aware Scheduling in Time-Sensitive NetworkingXiaowu He, Xiangwen Zhuge, Fan Dang, Wang Xu et al.INFOCOM 2023 · 77 citations
- Distilling Arbitration Logic from Traces using Machine Learning: A Case Study on NoCYuan Zhou, Hanyu Wang, Jieming Yin, Zhiru ZhangDAC 2021 · 8 citations
