Lune

INFOCOM2022Top-tier venue

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 Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Themis: Scheduling-Aware Buffer Management for HBM-Based Hybrid Buffers cites Occamy: A Preemptive Buffer Management for On-chip Shared-memory Switches
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Occamy: A Preemptive Buffer Management for On-chip Shared-memory SwitchesDanfeng Shan, Yunguang Li, Jinchao Ma, Zhenxing Zhang et al.EuroSys 2025 · 5 citations
  2. NetRadar: Enabling Robust Carpet Bombing DDoS DetectionJunchen Pan, Lei Zhang, Xiaoyong Si, Jie Zhang et al.NDSS 2026 · 1 citation
  3. Themis: Scheduling-Aware Buffer Management for HBM-Based Hybrid BuffersZhiyu Zhang, Minkun Xue, Kan Yu, Ruyi Yao et al.NSDI 2026

Related papers

  1. Traffic-aware Buffer Management in Shared Memory SwitchesSijiang Huang, Mowei Wang, Yong CuiINFOCOM 2021 · 14 citations
  2. Protean: Adaptive Management of Shared-Memory in Datacenter SwitchesHamidreza Almasi, Rohan Vardekar, Balajee VamananINFOCOM 2023 · 11 citations
  3. ABS: Adaptive Buffer Sizing via Augmented Programmability with Machine LearningJiaxin Tang, Sen Liu, Yang Xu, Zehua Guo et al.INFOCOM 2022 · 9 citations
  4. DeepScheduler: Enabling Flow-Aware Scheduling in Time-Sensitive NetworkingXiaowu He, Xiangwen Zhuge, Fan Dang, Wang Xu et al.INFOCOM 2023 · 77 citations
  5. Distilling Arbitration Logic from Traces using Machine Learning: A Case Study on NoCYuan Zhou, Hanyu Wang, Jieming Yin, Zhiru ZhangDAC 2021 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines