Skip to content

feat(packetloss): allow measuring packet loss without load - #77

Draft
cf-rhett wants to merge 1 commit into
cloudflare:mainfrom
cf-rhett:rhett/packet-loss-without-load
Draft

cf-rhett wants to merge 1 commit into
cloudflare:mainfrom
cf-rhett:rhett/packet-loss-without-load

Conversation

@cf-rhett

Copy link
Copy Markdown
Contributor

PacketLoss always loads the network in both directions while it sends packets, so the reported loss mostly reflects congestion the test itself causes. This adds PacketLossConfig::generate_load (default true, so behaviour is unchanged) and a --no-load flag on mach packet-loss to measure idle packet loss instead, the way the speed.cloudflare.com engine does.

PacketLoss always saturates the network in both directions while it sends
packets, so the result mostly reflects congestion the test itself causes.
Add PacketLossConfig::generate_load (default true) and a matching
--no-load flag so callers can measure idle packet loss instead, the way
the speed.cloudflare.com engine does.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant