RFC 9971 describes MLRsearch, an alternative to RFC 2544 testing

In short

60 seconds length of each trial in the RFC 2544 binary search; 0 frames the old test may lose; Multiple loss-ratio goals MLRsearch can search for in one run; 50% recommended Goal Exceed Ratio in MLRsearch

What the old test does

RFC 2544 was published in 1999. Among other things it defines a "throughput" test for a device that forwards network traffic, such as a router or a software switch. Throughput there means the highest load the device can carry without dropping a single frame, a definition the RFC takes from the older RFC 1242.

RFC 2544 does not name a search method, but RFC 9971 says a particular one is "frequently used as a starting point", and it calls it the Binary Search. In simplified form, a test device sends traffic at a load halfway between a load already known to be loss-free and one known to lose frames. Each such trial lasts 60 seconds for unconditional RFC 2544 compliance. If any frame is lost, the midpoint becomes the new upper bound; if none is, it becomes the new lower bound. The search repeats until the gap between the bounds is as small as wanted, and the last lower bound is reported as the throughput.

Why does the RFC call the RFC 2544 test too slow?

The RFC's argument is about software. Networking functions now often run on ordinary CPUs, either on a dedicated appliance or as a virtual appliance on shared cloud servers, rather than on purpose-built chips. These get updated often and come in many configurations, so, the RFC says, there are more performance tests to run and they run more often. Test time matters more than it did.

Its introduction and Section 2 describe these problems with the Binary Search on such systems (we group them into four).

Our illustration, not the RFC's: if every trial takes the full 60 seconds, ten trials take at least ten minutes before any pauses between them. Each trial halves the remaining range, so ten trials narrow it to about a thousandth of the starting range.

How does MLRsearch differ from the RFC 2544 test?

The RFC lists early implementation enhancements that it either formalises or leaves to implementers. Two of them, and part of a third, are in the specification itself.

Other time-saving tricks, such as choosing which load to test next, are called implementation details and left out of the specification. The RFC says this "achieves high comparability without limiting future improvements."

A search goal is set with a few parameters. Among them are a Goal Loss Ratio (the largest loss that still counts as acceptable, which must be at least zero and below one), a Goal Final Trial Duration (the minimum trial length that must be reached before a load can be called a lower bound) and a Goal Exceed Ratio, the share of trials that may exceed the loss ratio. The RFC recommends 0.5 for that last value, "for explainability reasons", and says it also gives the smallest variation in search duration.

Staying compatible with RFC 2544

MLRsearch can be set conservatively or aggressively. The RFC says conservative settings can give "unconditionally compliant" RFC 2544 results, but with little gain in search time or repeatability. Aggressive settings are faster and more repeatable, but the results are not RFC 2544 compliant.

For the compliant case, section 4.10.2 recommends one search goal:

For people who already run RFC 2544 tests, the RFC adds that many setups "can be adapted" to produce MLRsearch compliant results, often without changing the trials, just by adding to the final test report.

A method, not yet a benchmark

The RFC is careful about its limits. Configurable goals are useful for detailed testing, but it says that flexibility is "detrimental to inter-lab comparability unless a specific, common set of Search Goals is agreed upon". So it says MLRsearch should not be seen as a direct extension or replacement for the RFC 2544 throughput benchmark. It is a base that later documents from the IETF's Benchmarking Methodology Working Group can use to define specific, comparable benchmarks by fixing particular goal sets.

RFC 9971 is Informational. It says it "is not an Internet Standards Track specification", although it records IETF community consensus and IESG approval. It also reports no measurements of how much time MLRsearch saves, so there is no speed-up figure to quote. The authors are both from Cisco.

Terms in plain English

Where things stand

RFC 9971 is the published record of the method. It leaves open which loss goals the industry should settle on, saying there "does not seem to be a consensus" on the best Goal Loss Ratio, and it points to future benchmarking documents to fix specific goal sets. We did not look for any such follow-up.

Sources

Sources

Related stories

More from Wi-Fi Wizards

All stories from Wi-Fi Wizards