Lune

NSDI2025Top-tier venue

A Layered Formal Methods Approach to Answering Queue-related Queries

Divya Raghunathan, Maria Apostolaki, Aarti Gupta

Abstract

Queue dynamics introduce significant uncertainty in network management tasks such as debugging, performance monitoring, and analysis. Despite numerous queue-monitoring techniques, many networks today continue to collect only per-port packet counts (e.g., using SNMP). Although queue lengths are correlated with packet counts, deriving the precise correlation between them is very challenging since packet counts do not specify many quantities (e.g., packet arrival order) which affect queue lengths.

This paper presents QUASI, a system that can answer many queue-related queries using only coarse-grained per-port packet counts. QUASI checks whether there exists a packet trace that is consistent with the packet counts and satisfies a query. To scale on large problem instances, QUASI relies on a layered approach and on a novel enqueue-rate abstraction, which is lossless for the class of queries that QUASI answers. The first layer employs a novel and efficient algorithm that generates a cover-set of abstract traces, constructs representative abstract traces from the cover-set, and efficiently checks each representative abstract trace by leveraging a known result on (0,1)-matrix existence. The first layer guarantees no false negatives: if the first layer says "No", there is no packet trace consistent with the observed packet counts that makes the query true. If it says "Yes", further verification is needed, which the second layer resolves using an SMT solver. As a result, QUASI has no false positives and no false negatives.

Our evaluations show that QUASI is up to 10 6 X faster than state-of-the-art, and can answer non-trivial queries about queue metrics (e.g., queue length) using minute-granularity packet counts. Our work is the first step toward more practical formal performance analysis under given measurements.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Reverie: Low Pass Filter-Based Switch Buffer Sharing for Datacenters with RDMA and TCP Traffic cites ABM: active buffer management in datacenters
  • Zoom2Net: Constrained Network Telemetry Imputation cites ABM: active buffer management in datacenters
  • Zoom2Net: Constrained Network Telemetry Imputation cites Reverie: Low Pass Filter-Based Switch Buffer Sharing for Datacenters with RDMA and TCP Traffic
  • Zoom2Net: Constrained Network Telemetry Imputation cites PrintQueue: performance diagnosis via queue measurement in the data plane
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on6

  1. ABM: active buffer management in datacentersVamsi Addanki, Maria Apostolaki, Manya Ghobadi, Stefan Schmid et al.SIGCOMM 2022 · 59 citations
  2. Reverie: Low Pass Filter-Based Switch Buffer Sharing for Datacenters with RDMA and TCP TrafficVamsi Addanki, Wei Bai, Stefan Schmid, Maria ApostolakiNSDI 2024 · 33 citations
  3. Formal Methods for Network Performance AnalysisMina Tahmasbi Arashloo, Ryan Beckett, Rachit AgarwalNSDI 2023 · 27 citations
  4. PrintQueue: performance diagnosis via queue measurement in the data planeYiran Lei, Liangcheng Yu, Vincent Liu, Mingwei XuSIGCOMM 2022 · 19 citations
  5. Zoom2Net: Constrained Network Telemetry ImputationFengchen Gong, Divya Raghunathan, Aarti Gupta, Maria ApostolakiSIGCOMM 2024 · 11 citations

Related papers

  1. Augmented Queue: A Scalable In-Network Abstraction for Data Center Network SharingXinyu Crystal Wu, Zhuang Wang, Weitao Wang, T. S. Eugene NgSIGCOMM 2023 · 10 citations
  2. Universal Online Sketch for Tracking Heavy Hitters and Estimating Moments of Data StreamsQingjun Xiao, Zhiying Tang, Shigang ChenINFOCOM 2020 · 30 citations
  3. μMon: Empowering Microsecond-level Network Monitoring with WaveletsHao Zheng, Chengyuan Huang, Xiangyu Han, Jiaqi Zheng et al.SIGCOMM 2024 · 26 citations
  4. BeauCoup: Answering Many Network Traffic Queries, One Memory Update at a TimeXiaoqi Chen, Shir Landau Feibish, Mark Braverman, Jennifer RexfordSIGCOMM 2020 · 91 citations
  5. Twenty Years After: Hierarchical Core-Stateless Fair QueueingZhuolong Yu, Jingfeng Wu, Vladimir Braverman, Ion Stoica et al.NSDI 2021 · 45 citations
Dusk over the sea between two cliffs drawn in fine vertical lines