Formal Abstractions for Packet Scheduling

Open Access
Authors
  • D. Kozen
Publication date 10-2023
Journal Proceedings of the ACM on Programming Languages
Event ACM SIGPLAN conference on Systems, Programming, Languages, and Applications: Software for Humanity - Round 2
Article number 269
Volume | Issue number 7 | OOPSLA2
Number of pages 25
Organisations
  • Interfacultary Research - Institute for Logic, Language and Computation (ILLC)
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. 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.

Document type Article
Language English
Published at https://doi.org/10.48550/arXiv.2211.11659 https://doi.org/10.1145/3622845
Other links https://doi.org/10.5281/zenodo.8329703
Downloads
3622845 (Final published version)
Permalink to this page
Back