rfc-7680

A One-Way Loss Metric for IP Performance Metrics (IPPM)

G. Almes, S. Kalidindi, M. Zekauskas, A. Morton (Editor)
date2016-01 streamIETF areaops wgippm statusINTERNET STANDARD pages22 canonicalhttps://www.rfc-editor.org/rfc/rfc7680 doi10.17487/RFC7680 errataview
This memo defines a metric for one-way loss of packets across Internet paths. It builds on notions introduced and discussed in the IP Performance Metrics (IPPM) Framework document, RFC 2330; the reader is assumed to be familiar with that document. This memo makes RFC 2680 obsolete.

obsoletes

also

Extracted elements (28)

design-rationale §2.5

A corrupted packet that arrives at the destination is counted as lost rather than received. If the IP header is corrupted, the source or destination address cannot be confirmed, making it impossible to associate the corrupted packet with a specific sent test packet; counting it as received would be inconsistent.

measurement, ip

design-rationale §2.7

Clock synchronization errors and an insufficiently high loss threshold Tmax can cause finite-delay packets to be misclassified as lost. The loss threshold must be set high enough and clocks synchronized well enough that arriving packets are rarely counted as lost; sensitivity of loss-only measurement to clock error is less than for delay measurement.

measurement, ip, ntp

design-rationale §1.1

One-way loss measurement is preferred over round-trip because Internet paths are often asymmetric, with different router sequences for forward and reverse paths, meaning round-trip measurements conflate the performance of two distinct paths. Additionally, application performance often depends on loss in a single direction.

measurement, ip

design-rationale §3.5

Poisson sampling is used to schedule measurements because it avoids self-synchronization effects and produces a statistically unbiased sample. The Poisson distribution limits the bias introduced by regular periodic probing, though other methods such as periodic sampling with random start times (RFC 3432) may be appropriate for specific situations.

measurement, ip

design-rationale §2.6

The loss threshold Tmax is intentionally left somewhat vague in definition, representing a value so large that any value in [Tmax-delta, Tmax+delta] is an equivalent threshold. Enforcing a specific constant waiting time on stored delay singletons is also compliant, allowing results to serve multiple reporting audiences.

measurement, ip

design-rationale §3.5

The Poisson arrival rate lambda is deliberately left unconstrained except at extremes: too high a rate perturbs the network and causes congestion; too low a rate fails to capture interesting network behavior. For detecting loss ratios below 1% over one-minute periods, several hundred samples per minute may be required.

measurement, ip

design-rationale §2.5

Type-P-One-way-Packet-Loss is exactly 0 when Type-P-One-way-Delay has a finite value, and exactly 1 when Type-P-One-way-Delay is undefined. This links loss measurement to the delay metric and means the Tmax threshold defines the boundary between 'very large delay' and 'loss'.

measurement, ip

errata §6

Two errata from RFC 2680 were incorporated: EID 1528 (status: Verified) and EID 3186 (status: Held for Document Update). These minor revisions were applied to Sections 1 and 2.7 of this document.

measurement, ip

interoperability-note §3.6

Out-of-order arrival of test packets must be handled correctly: it is possible for a packet sent second (at TS[i+1]) to arrive at the destination before a packet sent first (at TS[i]). Reordering metrics are defined in RFC 4737.

measurement, ip

interoperability-note §2.5

The standard-formed packet definition applicable to loss metrics (Section 15 of RFC 2330) currently applies only to IPv4; duplicated packets that arrive at the destination as multiple non-corrupt copies are counted as received.

measurement, ip

interoperability-note §3.5

Time-slotted links (described in RFC 7312) can greatly modify the sample characteristics of a Poisson stream: unbiased packets with randomized inter-packet intervals may be converted to a new distribution, possibly with strong periodic characteristics, after encountering a time-slotted link.

measurement, ip

interoperability-note §2.5

Type-P-One-way-Packet-Loss is directly related to Type-P-One-way-Delay (RFC 7679): loss is 0 exactly when delay has a finite value, and 1 exactly when delay is undefined. Practical measurement systems therefore often combine methods for measuring both delay and loss using the same Tmax parameter.

measurement, ip

normative-requirement §5 SHOULD

Measurement methodologies SHOULD include appropriate techniques to reduce the probability that measurement traffic can be distinguished from normal traffic, preventing routers from treating it differently and attackers from injecting false measurements.

measurement, security, ip

normative-requirement §5 MUST

Measurement parameters MUST be carefully selected so that the measurements inject trivial amounts of additional traffic into the networks they measure; injecting too much traffic can skew results and in extreme cases cause congestion and denial of service.

measurement, security, ip

normative-requirement §3.8 MUST

The calibration and context for the underlying singletons MUST be reported along with the Poisson stream sample, per the reporting requirements of Section 2.8.

measurement, ip

normative-requirement §2.8 MUST

The calibration and context in which the metric is measured MUST be carefully considered and SHOULD always be reported along with metric results, including Type-P, loss threshold, instrument calibration, and path traversed.

measurement, ip

normative-requirement §2.8.3 MUST

The degree of synchronization between Src and Dst clocks MUST be reported. If possible, instances where a packet arrived at the Dst network interface but was reported as lost due to resource exhaustion SHOULD be reported.

measurement, ip

normative-requirement §2.8.1 MUST

The exact Type-P used to make the measurements MUST be accurately reported, since the metric value may depend on protocol (UDP or TCP), port number, size, DS Field, ECN, or RSVP settings.

measurement, ip

normative-requirement §2.8.2 MUST

The loss threshold Tmax (or other methodology used to distinguish finite delay from loss) MUST be reported along with the metric results.

measurement, ip

normative-requirement §2.8.4 SHOULD

The path traversed by the test packets SHOULD be reported if possible, including initial link selection where the host can choose between multiple links.

measurement, ip

privacy-consideration §5

Active measurement techniques greatly reduce the sensitive information available to potential observers compared to passive observation of user traffic. Passive observations of user traffic for measurement purposes raise many privacy issues; implementors are referred to the LMAP Framework (RFC 7594) for coverage of both active and passive technique privacy considerations.

measurement, privacy, ip

protocol-element §3.2

The sample metric parameters are: Src, Dst, T0 (start time), Tf (end time), Tmax (loss threshold), and lambda (Poisson rate in reciprocal seconds). The output is a sequence of <T, L> pairs with monotonically increasing T values.

measurement, ip

protocol-element §2.2

The singleton metric parameters are: Src (IP address of sending host), Dst (IP address of receiving host), T (send time), and Tmax (loss threshold waiting time). Metric units are binary: 0 (received) or 1 (lost).

measurement, ip

protocol-element §2

Type-P-One-way-Packet-Loss is the singleton metric defined as a binary value: 0 if Src sent a Type-P packet to Dst at wire time T and Dst received it, or 1 if Dst did not receive it within the loss threshold Tmax.

measurement, ip

protocol-element §3

Type-P-One-way-Packet-Loss-Poisson-Stream is a sample metric consisting of a sequence of <time, loss> pairs generated by scheduling singleton measurements at times drawn from a pseudorandom Poisson process with rate lambda between T0 and Tf.

measurement, ip

protocol-element §4.1

Type-P-One-way-Packet-Loss-Ratio is the average of all L values in a Type-P-One-way-Packet-Loss-Poisson-Stream, representing the ratio of lost packets to total packets. It is undefined if the sample is empty.

measurement, ip

security-consideration §5

Collecting measurements or using measurement results for reconnaissance to assist subsequent system attacks is common; access to measurement results and control of measurement systems must be guarded against. RFC 7594 (LMAP Framework) Section 7 provides system requirements to avoid measurement system compromise.

measurement, security, ip

security-consideration §5

There are two types of security concerns: harm caused by measurements (active probing injecting traffic that can cause congestion) and harm to measurements (routers giving measurement traffic special priority, or attackers injecting artificial traffic to artificially lower the measured loss ratio). Authentication techniques such as digital signatures may guard against injected traffic attacks.

measurement, security, ip