StampLite: Noggrann aktiv mätning av latens på Linux med hjälp av vanlig hårdvara : En praktisk studie genom implementering av STAMP (Simple Two Way Active Measurement Protocol)
Accurate latency measurement is fundamental to reliable network diagnostics and performance tuning. However, most active measurement tools overlook the delay and jitter they themselves introduce, partially masking the very metrics they are supposed to expose. This thesis investigates how accurately network latency can be captured on commodity Linux-based hardware. We design, implement, and release StampLite — a lightweight Simple Two-Way Active Measurement Protocol (STAMP) open-source implementation for Linux — and benchmark it against popular tools (ping, twping, and twampy) in tightly controlled virtual and physical testbed environments. Our implementation reduces the systematic overestimation of one-way and round-trip delay - caused by host processing time and the tool’s own latency - by approximately an order of magnitude compared to existing solutions. In both physical and virtualized testbeds, delay overestimation is limited to under 20 μs and jitter is below 2 μs. In addition, our experiments reveal that some performance improvements, such as polling, heavily affect results on physical hardware but have a limited effect on simulated topologies. This underscores the importance of validating measurement software using physical equipment. By making the code publicly available and sharing replicable experiments, we reduce the barrier to future research on low-cost, high-precision network telemetry.
Publication Details
- Journal
- KTH Publication Database DiVA (KTH Royal Institute of Technology)
- Published
- 2025-01-01
- Primary Topic
- Water Quality and Resources Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00