TY - GEN
T1 - Unbiased Delay Measurement in the Data Plane
AU - Zheng, Yufei
AU - Chen, Xiaoqi
AU - Braverman, Mark
AU - Rexford, Jennifer
N1 - Publisher Copyright:
Copyright © 2022 by SIAM.
PY - 2022
Y1 - 2022
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=85138027267&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85138027267&partnerID=8YFLogxK
M3 - Conference contribution
AN - SCOPUS:85138027267
T3 - 3rd Meeting of the Symposium on Algorithmic Principles of Computer Systems, APOCS 2022
SP - 15
EP - 30
BT - 3rd Meeting of the Symposium on Algorithmic Principles of Computer Systems, APOCS 2022
PB - Society for Industrial and Applied Mathematics Publications
T2 - 3rd Meeting of the Symposium on Algorithmic Principles of Computer Systems, APOCS 2022
Y2 - 12 January 2022
ER -