Abstract

Network administrators are interested in measuring the distribution of delays (the time between a request and its response), by directly running succinct algorithms within high-speed network devices. Unfortunately, the considerable gap between the small available memory and the huge volume of arriving traffic makes it challenging to design an algorithm that accurately measures delays. Existing algorithms exhibit bias against samples with higher delays. We present fridges, a novel data structure that corrects for the survivorship bias due to hash collisions, producing unbiased estimates of the delay distribution. The key idea is to consider a sample that was lucky enough to survive many insertions into the data structure as a representative for other similar samples that did not survive. We also show how to combine results from multiple fridges, each optimized for a different range of delays, for further accuracy gains. Simulation experiments show our design outperforms prior work using naive hash-indexed arrays, achieving 2x-4x memory saving. We implement a prototype P4 program running on the Intel Tofino programmable switch, using only moderate hardware resources.

Original languageEnglish (US)
Title of host publication3rd Meeting of the Symposium on Algorithmic Principles of Computer Systems, APOCS 2022
PublisherSociety for Industrial and Applied Mathematics Publications
Pages15-30
Number of pages16
ISBN (Electronic)9781713852117
StatePublished - 2022
Event3rd Meeting of the Symposium on Algorithmic Principles of Computer Systems, APOCS 2022 - Hybrid, Alexandria, United States
Duration: Jan 12 2022 → …

Publication series

Name3rd Meeting of the Symposium on Algorithmic Principles of Computer Systems, APOCS 2022

Conference

Conference3rd Meeting of the Symposium on Algorithmic Principles of Computer Systems, APOCS 2022
Country/TerritoryUnited States
CityHybrid, Alexandria
Period1/12/22 → …

All Science Journal Classification (ASJC) codes

  • Computational Theory and Mathematics
  • Computational Mathematics
  • Numerical Analysis
  • Theoretical Computer Science

Fingerprint

Dive into the research topics of 'Unbiased Delay Measurement in the Data Plane'. Together they form a unique fingerprint.

Cite this