Updates for the Back-to-back Frame
Benchmark in RFC 2544AT&T Labs200 Laurel Avenue SouthMiddletown,NJ07748USA+1 732 420 1571+1 732 368 1192acmorton@att.comFundamental Benchmarking Methodologies for Network Interconnect
Devices of interest to the IETF are defined in RFC 2544. This memo
updates the procedures of the test to measure the Back-to-back frames
Benchmark of RFC 2544, based on further experience.This memo updates Section 26.4 of RFC 2544.The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in BCP
14 when, and only when,
they appear in all capitals, as shown here.The IETF's fundamental Benchmarking Methodologies are defined in, supported by the terms and definitions in , and actually obsoletes an
earlier specification, . Over time, the
benchmarking community has updated several
times, including the Device Reset Benchmark ,
and the important Applicability Statement
concerning use outside the Isolated Test Environment (ITE) required for
accurate benchmarking. Other specifications implicitly update , such as the IPv6 Benchmarking Methodologies in .Recent testing experience with the Back-to-back Frame test and
Benchmark in Section 26.4 of indicates that an
update is warranted . This memo describes the rationale and provides
the updated method. provides its own Requirements Language
consistent with , since
predates . Thus, the requirements presented in
this memo are expressed in terms, and intended
for those performing/reporting laboratory tests to improve clarity and
repeatability, and for those designing devices that facilitate these
tests.The scope of this memo is to define an updated method to
unambiguously perform tests, measure the benchmark(s), and report the
results for Back-to-back Frames (presently described Section 26.4 of
).The goal is to provide more efficient test procedures where possible,
and to expand reporting with additional interpretation of the
results. Benchmarks rely on test conditions with
constant frame sizes, with the goal of understanding what network device
capability has been tested. Tests with the smallest size stress the
header processing capacity, and tests with the largest size stress the
overall bit processing capacity. Tests with sizes in-between may
determine the transition between these two capacities. However,
conditions simultaneously sending multiple frame sizes, such as those
described in , MUST NOT be used in Back-to-back
Frame testing.Section 3 of describes buffer size testing
for physical networking devices in a Data Center. The methods measure buffer latency directly with traffic
on multiple ingress ports that overload an egress port on the Device
Under Test (DUT), and are not subject to the revised calculations
presented in this memo.Section 3.1 of describes the rationale for
the Back-to-back Frames Benchmark. To summarize, there are several
reasons that devices on a network produce bursts of frames at the
minimum allowed spacing, and it is therefore worthwhile to understand
the Device Under Test (DUT) limit on the length of such bursts in
practice. Also, states: After this test was defined, there have been occasional discussions
of the stability and repeatability of the results, both over time and
across labs. Fortunately, the Open Platform for Network Function
Virtualization (OPNFV) VSPERF project's Continuous Integration (CI)
testing routinely repeats Back-to-back Frame tests to verify that test
functionality has been maintained through development of the test
control programs. These tests were used as a basis to evaluate stability
and repeatability, even across lab set-ups when the test platform was
migrated to new DUT hardware at the end of 2016.When the VSPERF CI results were examined ,
several aspects of the results were considered notable:Back-to-back Frame Benchmark was very consistent for some fixed
frame sizes, and somewhat variable for others.The Back-to-back Frame length reported for large frame sizes was
unexpectedly long, and no explanation or measurement limit condition
was indicated.Calculation of the extent of buffer time in the DUT helped to
explain the results observed with all frame sizes (for example, some
frame sizes cannot exceed the frame header processing rate of the
DUT and therefore no buffering occurs, therefore the results
depended on the test equipment and not the DUT).It was found that the actual buffer time in the DUT could be
estimated using results from the Throughput tests conducted
according to Section 26.1 of , because it
appears that the DUT's frame processing rate may tend to increase
the estimate.Further, if the Throughput tests of Section 26.1 of are conducted as a prerequisite test, the number of
frame sizes required for Back-to-back Frame Benchmarking can be reduced
to one or more of the small frame sizes, or the results for large frame
sizes can be noted as invalid in the results if tested anyway (these are
the frame sizes for which the back-to-back frame rate cannot exceed the
exceed the frame header processing rate of the DUT and no buffering
occurs). provides the details of the calculation
to estimate the actual buffer storage available in the DUT, using
results from the Throughput tests for each frame size, and the maximum
theoretical frame rate for the DUT links (which constrain the minimum
frame spacing). Knowledge of approximate buffer storage size (in time or
bytes) may be useful to estimate whether frame losses will occur if DUT
forwarding is temporarily suspended in a production deployment, due to
an unexpected interruption of frame processing (an interruption of
duration greater than the estimated buffer would certainly cause lost
frames).The Test Setup MUST be consistent with Figure 1 of , or Figure 2 when the tester's sender and recover are
different devices. Other mandatory testing aspects described in MUST be included, unless explicitly modified in the
next section.The ingress and egress link speeds and link layer protocols MUST be
specified and used to compute the maximum theoretical frame rate when
respecting the minimum inter-frame gap.The test results for the Throughput Benchmark conducted according to
Section 26.1 of for all -RECOMMENDED frame sizes MUST be available to reduce
the tested frame size list, or to note invalid results for individual
frame sizes (because the burst length may be essentially infinite for
large frame sizes).Note that:the Throughput and the Back-to-back Frame measurement
configuration traffic characteristics (unidirectional or
bi-directional) MUST match.the Throughput measurement MUST be under zero-loss conditions,
according to Section 26.1 of .The Back-to-back Benchmark described in Section 3.1 of MUST be measured directly by the tester. Additional
measurement requirements are described below in Section 5.Objective: To characterize the ability of a DUT to process
back-to-back frames as defined in .The Procedure follows.From the list of RECOMMENDED Frame sizes (Section 9 of ), select the subset of Frame sizes whose measured
Throughput was less than the maximum theoretical Frame Rate. These are
the only Frame sizes where it is possible to produce a burst of frames
that cause the DUT buffers to fill and eventually overflow, producing
one or more discarded frames.Each trial in the test requires the tester to send a burst of
frames (after idle time) with the minimum inter-frame gap, and to
count the corresponding frames forwarded by the DUT.The duration of the trial MUST be at least 2 seconds, to allow DUT
buffers to deplete.If all frames have been received, the tester increases the length
of the burst according to the search algorithm and performs another
trial.If the received frame count is less than the number of frames in
the burst, then the limit of DUT processing and buffering may have
been exceeded, and the burst length is determined by the search
algorithm for the next trial.@@@@ OPNFV VSPERF Test Results presented at IETF-102 will have
relevance for answering these questions.@@@@ Should a particular search algorithm be included? @@@@ Yes,
probably more than one. There are multiple roles for benchmark tests
(Highly repetitive CI and Highly Accurate & Repeatable
Experiments).@@@@ Should the search include trial repetition whenever frame loss
is observed, to avoid the effects of background loss (un-related to
buffer overflow)? @@@@ Yes, OPNFV VSPERF results illustrate the value
of this, and ETSI NFV TST009 Annex B describes the theory behind this
new algorithm.The Back-to-back Frame value is the longest burst of frames that
the DUT can successfully process and buffer without frame loss, as
determined from the series of trials. The tester may impose a
(configurable) minimum step size for burst length, and the step size
MUST be reported with the results (as this influences the accuracy and
variation of test results).The test MUST be repeated N times for each frame size in the subset
list, and each Back-to-back Frame value made available for further
processing (below).For each Frame size, calculate the following summary statistics for
Back-to-back Frame values over the N tests:Average (Benchmark)MinimumMaximumStandard DeviationFurther, calculate the Implied DUT Buffer Time and the Corrected
DUT Buffer Time in seconds, as follows:The formula above is simply expressing the Burst of Frames
in units of time.The term on the far right in the formula for Corrected DUT
Buffer Time accounts for all the frames in the Burst that were
transmitted by the DUT *while the Burst of frames were sent in*. So,
these frames are not in the Buffer and the Buffer size is more
accurately estimated by excluding them.The back-to-back results SHOULD be reported in the format of a table
with a row for each of the tested frame sizes. There SHOULD be columns
for the frame size and for the resultant average frame count for each
type of data stream tested.The number of tests Averaged for the Benchmark, N, MUST be
reported.The Minimum, Maximum, and Standard Deviation across all complete
tests SHOULD also be reported.The Corrected DUT Buffer Time SHOULD also be reported.If the tester operates using a maximum burst length in frames, then
this maximum length SHOULD be reported.Frame Size, octetsAve B2B Length, framesMin,Max,StdDevCorrected Buff Time, Sec642600025500,27000,200.00004Static and configuration parameters:Number of test repetitions, NMinimum Step Size (during searches), in frames.Benchmarking activities as described in this memo are limited to
technology characterization using controlled stimuli in a laboratory
environment, with dedicated address space and the other constraints
.The benchmarking network topology will be an independent test setup
and MUST NOT be connected to devices that may forward the test traffic
into a production network, or misroute traffic to the test management
network. See .Further, benchmarking is performed on a "black-box" basis, relying
solely on measurements observable external to the DUT/SUT.Special capabilities SHOULD NOT exist in the DUT/SUT specifically for
benchmarking purposes. Any implications for network security arising
from the DUT/SUT SHOULD be identical in the lab and in production
networks.This memo makes no requests of IANA.Thanks to Trevor Cooper, Sridhar Rao, and Martin Klozik of the VSPERF
project for many contributions to the testing . Yoshiaki Itou has also investigated the topic,
and made useful suggestions.Dataplane Performance, Capacity, and Benchmarking in
OPNFVIntel Corp.AT&T LabsSpirent CommunicationsBack2Back Testing Time Series (from CI)