Six standards define how to measure throughput, delay, loss and jitter in IP networks. Only then can measurements be compared.
Why Standards?
A measurement is only as meaningful as the method behind it. The standards define what is measured, with which packet sizes, for how long and when a test counts as passed. This makes results comparable across links, periods and providers, and usable in SLAs and acceptance tests.
The IETF benchmarking methodology from 1999, written for network devices in the lab. Adapted to Ethernet and IP links as Ethernet benchmarking, it is the basic test before a link goes into service. Because it pushes the link to its limit, RFC 6815 keeps it out of live networks and on links without customer traffic. Its main tests run one after another over a set of fixed frame sizes, from 64 to 1518 bytes for Ethernet: throughput as the highest rate without frame loss, latency at that rate, the frame loss rate at different load steps, and the longest run of frames without a gap that gets through without loss (back-to-back), a measure of the buffers. Further tests measure how quickly a device recovers from overload and from a reset. The result is a set of values per frame size, not a pass or fail verdict.
The ITU-T test methodology for Ethernet service activation. It checks whether a service meets the agreed values, for several services at once, such as voice, video and data in classes of their own, each at its agreed rate rather than the full capacity of the link. The service configuration test checks each service on its own at its committed rate (CIR); optionally it ramps up to that rate in steps, tests the excess rate (EIR) and checks that traffic above it is limited. The service performance test then runs all services together over a longer period, from 15 minutes to 24 hours. It measures information rate, frame transfer delay, frame delay variation, frame loss ratio and availability, each against agreed acceptance criteria, with a pass or fail result.
Defines delay variation, or jitter, as the difference in one-way delay between selected packets, usually consecutive ones. Because only differences count, a fixed offset between the clocks at the two measurement points drops out. The measurement works at a low packet rate, adds hardly any load to the network and can therefore run around the clock. For voice, jitter takes effect through the jitter buffer: it delays the conversation or discards packets that arrive too late.What delay and loss mean for voice: the E-model calculator
A framework for TCP throughput testing. First the path MTU, the round-trip time without load and the bottleneck bandwidth are determined; from these follows the window size TCP needs for the full rate. Then TCP throughput is measured and compared with what the path should achieve. Three metrics explain the difference: the TCP transfer time ratio (actual against ideal transfer time), TCP efficiency (the share of data that did not have to be retransmitted) and the buffer delay percentage (how much the round-trip time rises under load).How delay and loss slow TCP down: the TCP flow simulator
Real traffic mixes small and large packets. RFC 6985 does not prescribe a particular mix but a notation for one, the IMIX genome: each packet size has a letter, such as a for 64 and g for 1518 bytes, and the sequence of letters describes order and shares. The sequence of packet sizes in a test is then described exactly and can be repeated.
The Precision Time Protocol (PTP) synchronises clocks across the packet network from a grandmaster, with timestamps in hardware. With suitable clocks and network elements it reaches an accuracy well below a microsecond. Only synchronised clocks make one-way delay measurable without mixing up the outbound and return paths. Where PTP is not available, GPS at the site provides the time.
RFC 2544 or Y.1564?
Both generate test traffic, but they answer different questions: RFC 2544 searches for the most a link can do, Y.1564 checks at the agreed rates whether a service delivers what was agreed.
RFC 2544 and Y.1564 Compared
RFC 2544
ITU-T Y.1564
Question
What is the most the link can do?
Does the service deliver what was agreed?
Traffic
One stream up to the limit, one frame size after another
Several services at once, at their agreed rates
Procedure
Single tests in sequence
Configuration test per service, then a performance test of all services
Jitter
Not included
Frame delay variation
Result
Values per frame size
Pass or fail, against the values of the SLA
In the simulator both methods run over the same 1 Gbit/s link, which already carries customer traffic. The sliders set how many million packets per second (Mpps) the router in front of the line can forward at most and how much customer traffic the line carries. Whatever no longer fits through the router or on the line, the router discards: that is the frame loss.
Test duration 49 min, 25 min of it with customer loss
Frame size in bytes, the measured throughput in % below. Left the load on the line in %, right the frame loss in %.
RFC 2544. Searches each frame size for the highest rate without frame loss. Every trial above the limit hits the customer traffic too, which is why RFC 2544 does not belong on a live network.
Test duration 27 min, 0 min of it with customer loss
00252550507575100100ConfigurationPerformance
Test phase. Left the load on the line in %, right the frame loss in %.
Voice, CIR 50 Mbit/s: passed
Video, CIR 150 Mbit/s: passed
Data, CIR 250 Mbit/s: passed
ITU-T Y.1564. Checks three services at their committed rates, first one by one in steps, then together. As long as the sum fits on the line, the customer traffic is left alone.
Customer traffic
Test traffic
Frame loss
How Coast Guard Uses Them
Full load before service
Tests to RFC 2544 push the link to its limit. Coast Guard runs them on links without customer traffic, such as before a link goes into service, with IMIX traffic to RFC 6985 rather than fixed frame sizes alone.
Services against the SLA
To Y.1564, Coast Guard checks several services at once at their agreed rates, with a pass or fail result.
Delay variation around the clock
To RFC 3393, at a low packet rate and one way, between test heads whose clocks are synchronised via GPS or PTP. Changes in the network show up in near real time.
TCP over long connections
To RFC 6349: long-running connections reveal congestion, traffic steering and problems in the core and at the edge.
From the access to the core
The test heads sit at the end customer with 2.5 Gbit/s, at the points of presence with 10 Gbit/s and at the central interconnection points with 100 Gbit/s.Coast Guard test heads