Test & Measurement


RFC 2544: Benchmarking methodology for network interconnect devices

25 August 2004 Test & Measurement

RFC documents are a series of technical and organisational notes for Internet-related protocols and procedures. Some RFCs represent true Internet Standards, while others are categorised as informational (such as RFC 2544) or even experimental (see www.rfceditor.org or www.faqs.org/rfcs/</a>).

RFC 2544 discusses and defines a number of tests that may be used to describe the performance characteristics of a network interconnecting device. RFC 2544 provides a standard methodology for all equipment vendors to use, allowing customers a clear, 'apples-to-apples' comparison of devices. The tests described would be used in the development, manufacturing, and installation of the network devices.

As Ethernet testing moved from manufacturers to service providers, RFC 2544 became a natural testing methodology to use. Unlike traditional TDM- and ATM-based services, Ethernet does not have stringent requirements for quality based upon class of service. The testing requirements for MANs (metropolitan area networks) have traditionally focused on throughput, latency, and frame loss rate rather than bit error rate and 'five nines' reliability. Thus, RFC 2544 takes the place of quality of service testing seen in traditional networks.

The RFC 2544 methodology is centred on six out-of-service tests, run automatically at various frame sizes. As an intrusive test, it cannot be performed in a monitoring mode (on a live network).

Test scenarios

The configuration of Figure 1, 'Single tester, single device' is typical for benchmarking a network device upon acceptance or installation. A single test set sends traffic to one port of the device and measures the output of another port. A single test set can characterise multiple devices in serial: 'Single Tester, Multiple Devices' in Figure 1.

Figure 1: Single tester, single device (left). Single tester, multiple devices (right)
Figure 1: Single tester, single device (left). Single tester, multiple devices (right)

For installed networks, the configuration 'Two testers, single device or network' in Figure 2, is the most realistic. The sending and receiving end may be separated by distances that make using a single tester impractical. The most straightforward manner of coordinating the two ends for testing is in setting one unit to loop mode. Unlike looping a traditional TDM-based network (PDH/ T-Carrier, SDH/SONET), a simple 'hard loopback' will not suffice. The Ethernet frames and IP packets must have the proper source and destination addresses to return to the original tester. While in loopback mode, the loop unit swaps the source and destination addresses for both the Ethernet and IP header (if applicable).

Figure 2: Two testers, single device or network
Figure 2: Two testers, single device or network

The operator at the far end can set the loopback mode manually or the loop unit can be placed in a responder mode, whereby it only loops after being sent a command from the other test unit. At the conclusion of the test, the loop can also be brought down remotely.

Frame structure

Test layers: RFC 2544 is designed for layer 2 and layer 3 devices. As such, each test frame must have a valid MAC header, preamble, and inter-packet gap. For testing layer 3 devices, such as routers, a valid IP header is also required. Though VLAN support is not mentioned, VLAN is an important element of Ethernet and should be included as appropriate. Unframed testing, where the payload data is not encapsulated into a valid Ethernet frame, is not compatible with RFC 2544 device testing.

RFC 2544 recommends using a UDP Echo Request packet because a router may drop data if the proper session initialisation sequence has not been established or if the payload is an unrecognised protocol. These concerns do not apply to layer 2 devices and for testing Ethernet networks, any test payload is acceptable. Sunrise Telecom uses a frame payload that consists of a sequence number, a timestamp, and a test pattern specified by the user. The sequence number and timestamp are used to accurately measure lost frames and latency, respectively.

Frame sizes: The standard sizes for Ethernet testing are 64, 128, 256, 512, 1024, 1280, and 1518 bytes. For systems that support jumbo frames, such as 4096- or 9000-byte frames, these frame sizes should be tested as well. With the exception of the reset test, each of the tests is run separately for each specified frame size.

The benchmarking tests

RFC 2544 defines six standardised tests: throughput; latency; frame loss rate; back-to-back frames; system recovery; reset.

Throughput: the throughput test determines the maximum frame rate without lost frames the DUT can manage. The test begins at 100% frame rate by sending a pre-determined number of frames. If any frames are lost, the test is repeated at a lower frame rate. This process continues until the maximum throughput is determined.

Sunrise Telecom uses a binary search algorithm for determining the throughput. The standard test method reduces the throughput by a set increment, such as 10%. This is not the most efficient algorithm available especially for determining the throughput with a better resolution, such as 1%. The binary search changes the throughput value by ever decreasing steps: 50, 25, 12,5, 6,25, 3,125%, etc. The throughput is increased or decreased depending on the results of the previous test. The algorithm continues to run until the throughput is determined to within the specified resolution, typically 1 to 10%. Once the maximum throughput is determined for each size, the results are displayed in a chart (Figure 3).

Figure 3
Figure 3

Latency: The standard latency test is to run traffic at the predetermined throughput rate for two minutes and measure the latency of a single tagged frame sent at least one minute into test. The reported latency is the average of 20 such tests.

Strict adherence to the standard would require 280 minutes - over 4 hours - to complete for all frame sizes. Sunrise Telecom has devised a 'quick latency' test that eliminates the need to run a separate and time-consuming latency test. During the throughput test, the latency of the test frames is measured and averaged. Results from failed throughput tests are discarded. The latency results from the highest successful throughput test are kept and reported. Latency results as a function of frame size and throughput are tabularised (Figure 4).

Figure 4
Figure 4

Frame loss rate: The frame loss rate test plots the frame loss as a function of utilisation. Similar to the throughput test, the test begins at 100% frame rate by sending a pre-determined number of frames and recording the percentage of lost frames. The bandwidth is reduced by a pre-set amount, 10% or less, and the test is repeated. If two successive trials result in no frame loss, the lower rates are not tested and assumed to have zero frame loss. This test is repeated for each frame size.

The results are plotted on a graph of percentage of lost frames as a function of frame rate. Different frame sizes are plotted on the same graph using different colours (Figure 5). Sunrise Telecom also provides a table so that the results can be easily exported to a spreadsheet or other program.

Figure 5
Figure 5

Back-to-back frames: The back-to-back frames test determines the maximum number of frames sent back-to-back with minimal IPG (in other words, at 100% frame rate) that the DUT can process without losing frames. The test begins with a specified number of frames and repeats with more or fewer frames until it determines the maximum number. As always, this is repeated for each frame size. This test may go by other names, such as 'burstability' or 'maximum throughput' test. The results are provided in tabular format.

System recovery: The system recovery speed is the time the DUT takes to stop losing frames when the frame rate is reduced from a stressed to a normal state. The device is stressed for at least one minute with too much traffic, typically 110% the rate determined by the throughput test, such that it loses frames. Then, the traffic is reduced to 50% of the pre-determined throughput. The time between the drop in frame rate to the last lost frame is averaged over several test runs for each frame size.

Reset: The reset test measures the time it takes for the DUT to begin forwarding frames after a hardware or software reset or a power interruption. Unlike the other RFC 2544 tests, only the smallest frame size, typically 64 bytes, needs to be tested. The delay between the last frame forwarded before the reset and the first frame after the reset is the reported reset speed. The test should be run for each type of reset.

For more information contact Chris Nel, Lambda Test Equipment, 012 349 1341.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

60 MHz 16-bit AWG
Vepac Electronics Test & Measurement
Siglent’s SDG1000X Plus series function/arbitrary waveform generator offers a maximum output frequency of 60 MHz, 16-bit vertical resolution, 1 GSa/s sampling rate, and 8 Mpts arbitrary waveform length.

Read more...
AC programmable power
Accutronics Test & Measurement
TDK Corporation has announced the introduction of the TDK-Lambda brand GENESYS AC and GENESYS AC PRO series of 2 kVA and 3 kVA rated programmable AC power sources.

Read more...
QA introduces large chisel tip style probes
Techmet Test & Measurement
The two new probes have a larger diameter to provide better contact reliability.

Read more...
Best practices for assuring successful PoE device deployment
Lambda Test Power Electronics / Power Management
Looking at the challenges of a typical IoT rollout, the biggest hurdle usually isn’t how to connect IoT devices to the LAN, but instead, how to get power cheaply and reliably to the device.

Read more...
Digital PSU with four variable outputs
Vepac Electronics Test & Measurement
The PeakTech 6215 is a laboratory power supply with four separate voltage outputs, each one infinitely variable using the rotary controls on the front of the unit.

Read more...
High-voltage insulation resistance testers
Comtest Test & Measurement
Two new high-voltage insulation resistance testers, from Fluke, deliver accuracy and speed in industrial and solar PV applications.

Read more...
Digital accelerometer for high dynamics applications
RS South Africa Test & Measurement
TDK extends its Tronics portfolio with the AXO314, a high-performance digital MEMS accelerometer with ±14 g input range for industrial applications operating under shock and vibration.

Read more...
Acceleration sensors for wearables
Future Electronics Test & Measurement
Bosch Sensortec has introduced two new acceleration sensors, the BMA530 and BMA580, both offered in a compact size of only 1,2 x 0,8 x 0,55 mm.

Read more...
Accurate laser measurement
Avnet Silica Test & Measurement
Online Teaser: Panasonic Industry’s laser sensor has a resolution of up to 0,5 µm, a linearity of ±0,05% FS, and a high-speed sampling of 100 µs.

Read more...
Handheld analyser with wide frequency range
Vepac Electronics Test & Measurement
The PXN-400 from Harogic is a handheld spectrum analyser that covers a frequency range of 9 kHz to 40 GHz, with an analytical bandwidth of 100 MHz.

Read more...