Formal Abstractions for Packet Scheduling

Anshuman Mohan, Yunhe Liu, Nate Foster, Tobias Kappé, Dexter Kozen
11/21/2022
cs.NI

Official code: cornell-netlab/pifo-trees-artifact (5 stars, OCaml, MIT, last commit 2023-09-09).

Abstract

Early programming models for software-defined networking (SDN) focused on basic features for controlling network-wide forwarding paths, but more recent work has considered richer features, such as packet scheduling and queueing, that affect performance. In particular, PIFO trees, proposed by Sivaraman et al., offer a flexible and efficient primitive for programmable packet scheduling.

Show full abstract

Prior work has shown that PIFO trees can express a wide range of practical algorithms including strict priority, weighted fair queueing, and hierarchical schemes. However, the semantic properties of PIFO trees are not well understood. This paper studies PIFO trees from a programming language perspective. We formalize the syntax and semantics of PIFO trees in an operational model that decouples the scheduling policy running on a tree from the topology of the tree. Building on this formalization, we develop compilation algorithms that allow the behavior of a PIFO tree written against one topology to be realized using a tree with a different topology. Such a compiler could be used to optimize an implementation of PIFO trees, or realize a logical PIFO tree on a target with a fixed topology baked into the hardware. To support experimentation, we develop a software simulator for PIFO trees, and we present case studies illustrating its behavior on standard and custom algorithms.

View on arXivView PDF

Code Implementations(1)

MIT

An artifact in support our paper "Formal Abstractions for Packet Scheduling"

50OCaml, PythonJul 9, 20233 years agoMIT

Similar Papers

Cite this paper

@article{mohan2022formal,
  title  = {Formal Abstractions for Packet Scheduling},
  author = {Anshuman Mohan and Yunhe Liu and Nate Foster and Tobias Kappé and Dexter Kozen},
  year   = {2022},
  eprint = {2211.11659},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.11659}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.11659.svg)](https://codeofpaper.com/paper/2211.11659)

Discussion