Publication:

Compact Algorithms for Measuring Network Performance

datacite.rightsopen.access
dc.contributor.advisorRexford, Jennifer J.R.
dc.contributor.authorZheng, Yufei
dc.contributor.otherComputer Science Department
dc.date.accessioned2024-10-03T12:29:00Z
dc.date.accessioned2026-12-04T11:31:13Z
dc.date.available2024-10-03T12:29:00Z
dc.date.available2026-12-04T11:31:13Z
dc.date.created2024-01-01
dc.date.issued2024
dc.description.abstractFor network administrators, performance monitoring provides valuable insights into network quality and security. The emergence of programmable network devices makes it possible to measure performance metrics in the data plane, where packets fly by. Running measurement tasks directly in the data plane improves efficiency, preserves user privacy, and enables the possibility of real-time actions based on the analysis. However, programmable data planes have limited memory size and memory accesses. Meanwhile, measuring performance metrics fundamentally requires a large amount of memory resources, as each packet must be processed relative to its predecessor in the same flow. This dissertation tackles the specific challenges that arise from running performance measurements with limited memory. The first part of this dissertation introduces new data-plane algorithms for monitoring two canonical performance metrics related to Transmission Control Protocol (TCP): delay and TCP packet reordering. \begin{itemize}\item In measuring delay distribution, existing algorithms often exhibit bias against larger delays. We present \emph{fridges}, a novel data structure that allows for the correction of the \emph{survivorship bias} due to hash collisions. The main idea is to keep track of the probability $p$ that a delay sample is collected, and count it as $\frac{1}{p}$ samples. Using multiple fridges together, we can further improve the accuracy by computing a weighted average of single-fridge estimators. \itemWe present efficient algorithms for identifying \emph{IP prefixes} with heavy packet reordering. First, we sample as many flows as possible, regardless of their sizes, but only for a short period at a time. Next, we separately monitor the large flows over long periods, in addition to the flow sampling. Both algorithms measure at the flow level, and aggregate statistics at the prefix level. \end{itemize} Existing counter-based algorithms for identifying heavy-hitter flows could also be modified to measure performance metrics.However, many of such algorithms, despite of showing good empirical performance, lack theoretical guarantees. In the second part, we present the first formal analysis for the performance of one such algorithm, the Random Admission Policy (RAP). \begin{itemize}\item We show that, for a highly skewed packet stream with $k$ heavy flows, RAP with memory size $k$ stores $O(k)$ heavy flows with constant probability. \end{itemize}
dc.format.mimetypeapplication/pdf
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/dsp01r207ts730
dc.identifier.urihttps://theses-dissertations.princeton.edu/handle/88435/dsp01r207ts730
dc.language.isoen
dc.publisherPrinceton, NJ : Princeton University
dc.subjectComputer network
dc.subjectNetwork algorithm
dc.subject.classificationComputer science
dc.titleCompact Algorithms for Measuring Network Performance
dc.typeAcademic dissertations (Ph.D.)
dspace.entity.typePublication
pu.date.classyear2024
pu.departmentComputer Science

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Zheng_princeton_0181D_15243.pdf
Size:
10.04 MB
Format:
Adobe Portable Document Format

Collections