Memory-Efficient Performance Monitoring on Programmable Switches with Lean Algorithms

被引:0
|
作者
Liu, Zaoxing [1 ]
Zhou, Samson [1 ]
Rottenstreich, Ori [2 ]
Braverman, Vladimir [3 ]
Rexford, Jennifer [4 ]
机构
[1] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
[2] Technion, Haifa, Israel
[3] Johns Hopkins Univ, Baltimore, MD USA
[4] Princeton Univ, Princeton, NJ 08544 USA
关键词
BLOOM FILTER; FREQUENT;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Network performance problems are notoriously difficult to diagnose. Prior profiling systems collect performance statistics by keeping information about each network flow, but maintaining per-flow state is not scalable on resource-constrained NIC and switch hardware. Instead, we propose sketch-based performance monitoring using memory that is sublinear in the number of flows. Existing sketches estimate flow monitoring metrics based on flow sizes. In contrast, performance monitoring typically requires combining information across pairs of packets, such as matching a data packet with its acknowledgment to compute a round-trip time. We define a new class of lean algorithms that use memory sublinear in both the size of input data and the number of flows. We then introduce lean algorithms for a set of important statistics, such as identifying flows with high latency, loss, out-of-order, or retransmitted packets. We implement prototypes of our lean algorithms on a commodity programmable switch using the P4 language. Our experiments show that lean algorithms detect similar to 82% of top 100 problematic flows among real-world packet traces using just 40KB memory.
引用
收藏
页码:31 / 44
页数:14
相关论文
共 50 条
  • [1] A scalable memory-efficient architecture for parallel shared memory switches
    Matthews, Brad
    Elhanany, Itamar
    2007 WORKSHOP ON HIGH PERFORMANCE SWITCHING AND ROUTING, 2007, : 74 - +
  • [2] Fast, memory-efficient retrograde algorithms
    Wu, R
    Beal, D
    ICGA JOURNAL, 2001, 24 (03) : 147 - 159
  • [3] Memory-Efficient Hardware Performance Counters with Approximate-Counting Algorithms
    Xu, Jingyi
    Kim, Sehoon
    Nikolic, Borivoje
    Shao, Yakun Sophia
    2021 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE (ISPASS 2021), 2021, : 226 - 228
  • [4] Memory-Efficient Algorithms for Finding Needles in Haystacks
    Dinur, Itai
    Dunkelman, Orr
    Keller, Nathan
    Shamir, Adi
    ADVANCES IN CRYPTOLOGY (CRYPTO 2016), PT II, 2016, 9815 : 185 - 206
  • [5] Fast and Memory-Efficient Algorithms for Evacuation Problems
    Schloeter, Miriam
    Skutella, Martin
    PROCEEDINGS OF THE TWENTY-EIGHTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2017, : 821 - 840
  • [6] Memory-Efficient Algorithms for Spatial Network Queries
    Nutanong, Sarana
    Samet, Hanan
    2013 IEEE 29TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2013, : 649 - 660
  • [7] Fast and Memory-Efficient Routing Algorithms for Field Programmable Gate Arrays With Sparse Intracluster Routing Crossbars
    Moctar, Yehdhih Ould Mohammed
    Lemieux, Guy G. F.
    Brisk, Philip
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2015, 34 (12) : 1928 - 1941
  • [8] Work and memory-efficient parallel algorithms for the knapsack problem
    Ferreira, A
    INTERNATIONAL JOURNAL OF HIGH SPEED COMPUTING, 1995, 7 (04): : 595 - 606
  • [9] A Graph Theoretic Framework of Recomputation Algorithms for Memory-Efficient Backpropagation
    Kusumoto, Mitsuru
    Inoue, Takuya
    Watanabe, Gentaro
    Akiba, Takuya
    Koyama, Masanori
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 32 (NIPS 2019), 2019, 32
  • [10] Deterministic memory-efficient string matching algorithms for intrusion detection
    Tuck, N
    Sherwood, T
    Calder, B
    Varghese, G
    IEEE INFOCOM 2004: THE CONFERENCE ON COMPUTER COMMUNICATIONS, VOLS 1-4, PROCEEDINGS, 2004, : 2628 - 2639