Authors: Liam McNamara, Ian Marsh (SICS Swedish ICT) and Sverker Forslin (PTS, the Swedish Post and Telecom Authority)
Venue: IRTF and ISOC Workshop on Research and Applications of Internet Measurements (RAIM), Yokohama, October 2015
Year: 2015
Topic: Internet measurements
Paper (PDF) · DiVA record · CheesePi project · Follow-up paper, 2017
Summary
How good is your home Internet connection? The usual answer is a speed test: one download and upload figure, at one moment, from one device. That says little about whether a video call will stutter in the evening or a stream will buffer during a big match.
CheesePi set out to characterise home connections objectively and continuously. A small, cheap, quiet Raspberry Pi sits on the home network, always on, and measures the connection for weeks or months. The user can look at a dashboard whenever they suspect a problem. The measurements are also collected centrally, so that, with enough homes, they describe the whole network. The work was done with PTS, the Swedish regulator, which wanted measures more informative than "Mbit/s at one place and time".
Design
CheesePi follows the vocabulary of the IETF's LMAP (Large-Scale Measurement of Broadband Performance) framework:
- Measurement Agents (MAs): the Raspberry Pis in homes. A common hardware platform makes measurements consistent and keeps the code simple.
- Controller: distributes measurement schedules and code updates to the agents.
- Collector: receives periodic uploads and stores them centrally.
- Measurement Peers (landmarks): well-provisioned destinations such as www.facebook.com and www.bbc.com.

Measurement tasks are self-contained and modular, so users can add their own. Agents probe landmarks with ping, HTTPing and traceroute, and measure each other peer-to-peer for tasks that need two ends, such as VoIP calls and video streaming. An automated VoIP call suite produces quality estimates. Agents also record the local WiFi environment, because a congested WiFi channel can make a good connection look bad. No user traffic is monitored or recorded.
Storage is local first: results go into a schemaless time-series database (InfluxDB) on the Pi, so the user can still see what happened when the connection is down. Uploads to the collector are periodic.
The dashboard runs on the Pi as a local website, so the user gets something back for hosting the agent. The paper also proposes a machine-to-machine interface, so that applications can ask the Pi about the connection rather than each running its own short speed test.

Agents sit behind the home router rather than in it. A gateway-based probe could also watch user traffic passively, but would miss the effect of the last hop (Ethernet or WiFi) that devices actually experience.
Research directions
- Subjective and objective quality. Link network conditions to what users perceive, especially the buffering and pause events in video. Existing video-quality tests did not degrade video in ways that matched real networks.
- Shared-infrastructure detection. Find out whether separate homes share a congested path to a server, using t-SNE to cluster measurements into "good" and "poor" quality. This matters for regulators (are ISPs sharing bottlenecks?) and operators (which subscribers are affected?).
By late 2015 the platform had collected over a million probes, including delay and path measurements to four major streaming events over Ethernet and WiFi.
Related work
- Leone (EU FP7, completed April 2015) assessed 12 new performance metrics on SamKnows' 130 probes and fed into the LMAP information model.
- CAIDA Archipelago (Ark) uses about 120 Raspberry Pis worldwide to measure topology and congestion with time-sequence pings.
- Fathom measured home networks from a Firefox extension.
- Measuring Broadband America (FCC) measured 13 US ISPs at 9,000 customers on 16 metrics.
Discussion
CheesePi's choices reflect its partner. A regulator needs neutral, representative measurements more than a large number of them, so the plan was to place nodes according to PTS's knowledge of the broadband population (technology, region, demographics) rather than recruit as many volunteers as possible. That fairness question became the theme of the 2017 follow-up.
Future work
From the paper: an adaptive scheduler that keeps measurement traffic within a data budget while still sampling enough to capture network dynamics; a public data repository; and recruiting Raspberry Pi owners into a CheesePi community. Later theses built the scheduler (Gustaf Lindstedt), the traffic generator (Sagar Sharma) and TCP-based delay measurement (Rebecca Portelli).
The EU perspective
- Open Internet Regulation (EU) 2015/2120 was adopted a month after this paper. Article 4(4) makes results from a certified monitoring mechanism usable as evidence that an ISP is not delivering contracted speeds. Article 5 requires national regulators to monitor compliance.
- BEREC guidelines (BoR (17) 178 on QoS measurement, and the 2022 update of the Open Internet guidelines) set out a common methodology. BEREC's open-source NNR (net neutrality reference) measurement tool is used by several regulators.
- European Electronic Communications Code, Directive (EU) 2018/1972, Article 104, has BEREC define QoS parameters that providers must publish.
- In Sweden, PTS continues to support Bredbandskollen, the national speed test. Hardware probes like CheesePi complement such browser tests with continuous, controlled measurements.
- GDPR: measuring from inside homes needs care. CheesePi recorded no user traffic, and the agent's identity was tied to its MAC address, not to the household.
References
- L. McNamara, I. Marsh and S. Forslin, "CheesePi: a Raspberry Pi based measurement platform," RAIM, 2015.
- IETF LMAP working group: RFC 7594 (framework, 2015), RFC 8193 (information model, 2017).
- V. Bajpai and J. Schönwälder, "A survey on Internet performance measurement platforms and related standardization efforts," IEEE Communications Surveys & Tutorials 17(3), 2015.
- M. Dhawan et al., "Fathom: a browser-based network measurement platform," ACM IMC, 2012.
- S. Hätönen et al., "An experimental study of home gateway characteristics," ACM IMC, 2010.
- Regulation (EU) 2015/2120 on open internet access.
Citation
Liam McNamara, Ian Marsh and Sverker Forslin, CheesePi: a Raspberry Pi based measurement platform, IRTF/ISOC RAIM workshop, 2015, Paper.
BibTeX
@inproceedings{McNamara2015CheesePi,
author = {McNamara, Liam and Marsh, Ian and Forslin, Sverker},
title = {CheesePi: A Raspberry Pi based measurement platform},
booktitle = {IRTF and ISOC Workshop on Research and Applications of Internet Measurements (RAIM)},
year = {2015},
month = oct
}
Related student theses
- Biniam Gebregergs Guulay: Measuring home network performance using dedicated hardware devices
- Rebecca Portelli: Delay characterization through TCP-based analysis
- Sagar Sharma: Accurate traffic generation in the CheesePi network
- Gustaf Lindstedt: Simulation and analysis of peer-to-peer network quality for measurement scheduling
More in Internet measurements: ← Delay characterisation through in-protocol measurements