RFC 2285
Benchmarking Terminology for LAN Switching Devices
RFC 2285: Benchmarking Terminology for LAN Switching Devices π
Okay bestie, this is RFC 2285, and it's giving a glossary for testing LAN switches π§. It's from the Network Working Group, written by R. Mandeville of European Network Laboratories, dated February 1998. It's Informational (so it's a guide, not a standard) π. The header doesn't list anything it obsoletes or updates, so it's just doing its own thing π .
Status of this Memo β¨
This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.
Copyright Notice πΈ
Copyright (C) The Internet Society (1998). All Rights Reserved.
Table of Contents π
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Existing definitions . . . . . . . . . . . . . . . . . . . . . . 2
3. Term definitions . . . . . . . . . . . . . . . . . . . . . . . . 3
3.1 Devices. . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3.1.1 Device under test (DUT) . . . . . . . . . . . . . . . . 3
3.1.2 System under test (SUT) . . . . . . . . . . . . . . . . 3
3.2 Traffic orientation. . . . . . . . . . . . . . . . . . . . . 4
3.2.1 Unidirectional traffic. . . . . . . . . . . . . . . . . 4
3.2.2 Bidirectional traffic . . . . . . . . . . . . . . . . . 5
3.3 Traffic distribution . . . . . . . . . . . . . . . . . . . . 6
3.3.1 Non-meshed traffic. . . . . . . . . . . . . . . . . . . 6
3.3.2 Partially meshed traffic. . . . . . . . . . . . . . . . 7
3.3.3 Fully meshed traffic. . . . . . . . . . . . . . . . . . 8
3.4 Bursts . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.4.1 Burst . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.4.2 Burst size . . . . . . . . . . . . . . . . . . . . . . 10
3.4.3 Inter-burst gap (IBG). . . . . . . . . . . . . . . . . 10
3.5 Loads . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.5.1 Intended load (Iload) . . . . . . . . . . . . . . . . 11
3.5.2 Offered load (Oload) . . . . . . . . . . . . . . . . . 12
3.5.3 Maximum offered load (MOL) . . . . . . . . . . . . . . 13
3.5.4 Overloading . . . . . . . . . . . . . . . . . . . . . 14
3.6 Forwarding rates . . . . . . . . . . . . . . . . . . . . . 15
3.6.1 Forwarding rate (FR) . . . . . . . . . . . . . . . . . 15
3.6.2 Forwarding rate at maximum offered load (FRMOL). . . . 16
3.6.3 Maximum forwarding rate (MFR). . . . . . . . . . . . . 16
3.7 Congestion control . . . . . . . . . . . . . . . . . . . . 17
3.7.1 Backpressure . . . . . . . . . . . . . . . . . . . . . 17
3.7.2 Forward pressure . . . . . . . . . . . . . . . . . . . 18
3.7.3 Head of line blocking . . . . . . . . . . . . . . . . 19
3.8 Address handling . . . . . . . . . . . . . . . . . . . . . 20
3.8.1 Address caching capacity . . . . . . . . . . . . . . . 20
3.8.2 Address learning rate . . . . . . . . . . . . . . . . 20
3.8.3 Flood count . . . . . . . . . . . . . . . . . . . . . 21
3.9 Errored frame filtering . . . . . . . . . . . . . . . . . . 21
3.9.1 Errored frames . . . . . . . . . . . . . . . . . . . . 22
3.10 Broadcasts . . . . . . . . . . . . . . . . . . . . . . . . 22
3.10.1 Broadcast forwarding rate at maximum load . . . . . . 22
3.10.2 Broadcast latency . . . . . . . . . . . . . . . . . . 23
4. Security Considerations . . . . . . . . . . . . . . . . . . . . 24
5. References. . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6. Acknowledgements. . . . . . . . . . . . . . . . . . . . . . . . 24
7. Author's Address. . . . . . . . . . . . . . . . . . . . . . . . 24
8. Full Copyright Statement. . . . . . . . . . . . . . . . . . . . 25
1. Introduction π
Okay so this document is all about terminology for benchmarking local area network (LAN) switching devices π₯. It extends the terms already defined for benchmarking network interconnect devices in RFCs 1242 and 1944 over to switching devices. It's giving a natural upgrade β¨.
Applying some of these terms to a broader range of network interconnect devices might be useful, but this RFC mainly focuses on devices that switch frames at the Medium Access Control (MAC) layer π¦. It defines terms for the traffic used when benchmarking switching devices, plus forwarding performance, congestion control, latency, address handling and filtering. Main character energy π.
2. Existing definitions π§
Bestie, you should check out RFC 1242 ("Benchmarking Terminology for Network Interconnect Devices") before using this document π. RFC 1944 ("Benchmarking Methodology for Network Interconnect Devices") also talks about a bunch of terms that matter for benchmarking switches, so read that one too π«Ά.
For clarity and continuity, this RFC uses the definition template from Section 2 of RFC 1242 π . Definitions are indexed and grouped into sections so they're easy to find.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 π.
3. Term definitions π
3.1 Devices π
This group of definitions applies to all types of networking devices π.
3.1.1 Device under test (DUT) β¨
Definition:
The network forwarding device to which stimulus is offered and response measured.
Discussion:
A single stand-alone or modular unit which receives frames on one or more of its interfaces and then forwards them to one or more interfaces according to the addressing information contained in the frame. Lowkey the classic DUT π§.
Measurement units:
n/a
Issues:
See Also:
- system under test (SUT) (3.1.2)
3.1.2 System Under Test (SUT) π¦
Definition:
The collective set of network devices to which stimulus is offered as a single entity and response measured.
Discussion:
A system under test may be made up of a variety of networking devices. Some devices may be active in the forwarding decision-making process, such as routers or switches; other devices may be passive such as a CSU/DSU. Regardless of the constituent components, the system is treated as a singular entity to which stimulus is offered and response measured. It's the whole squad, treated as one π«Ά.
Measurement units:
n/a
Issues:
See Also:
- device under test (DUT) (3.1.1)
3.2 Traffic orientation πΈ
This group of definitions applies to the traffic presented to the interfaces of a DUT/SUT. It shows whether the interfaces are receiving only, transmitting only, or both receiving and transmitting π .
3.2.1 Unidirectional traffic π
Definition:
When all frames presented to the input interfaces of a DUT/SUT are addressed to output interfaces which do not themselves receive any frames.
Discussion:
This definition matches the discussion in section 16 of RFC 1944, which describes how unidirectional traffic can be offered to a DUT/SUT to measure throughput. Unidirectional traffic is also appropriate for:
- the measurement of the minimum inter-frame gap
- the creation of many-to-one or one-to-many interface overload
- the detection of head of line blocking
- the measurement of forwarding rates and throughput when congestion control mechanisms are active
When a tester offers unidirectional traffic to a DUT/SUT, reception and transmission are handled by different interfaces or sets of interfaces of the DUT/SUT. All frames received from the tester by the DUT/SUT are transmitted back to the tester from interfaces which do not themselves receive any frames. Clean separation, no drama π.
It's useful to tell apart traffic orientation and traffic distribution when you're looking at traffic patterns used in device testing π₯. Unidirectional traffic, for example, is oriented in a single direction between mutually exclusive sets of source and destination interfaces of a DUT/SUT. That traffic can still be distributed between interfaces in different ways. When traffic is sent to two or more interfaces from an external source and then forwarded by the DUT/SUT to a single output interface, the traffic orientation is unidirectional and the traffic distribution between interfaces is many-to-one. Traffic can also be sent to a single input interface and forwarded by the DUT/SUT to two or more output interfaces, which gives a one-to-many distribution of traffic π¦.
These traffic distributions can also be combined to test for head of line blocking, or to measure forwarding rates and throughput when congestion control mechanisms are active π.
When a DUT/SUT has interfaces running at different media rates, the number of input interfaces needed to load or overload an output interface (or interfaces) will vary π§.
It should be noted that measuring the minimum inter-frame gap serves to detect violations of the IEEE 802.3 standard π.
Issues:
- half duplex / full duplex
Measurement units:
n/a
See Also:
- bidirectional traffic (3.2.2)
- non-meshed traffic (3.3.1)
- partially meshed traffic (3.3.2)
- fully meshed traffic (3.3.3)
- congestion control (3.7)
- head of line blocking (3.7.3)
3.2.2 Bidirectional traffic π
Definition:
Frames presented to a DUT/SUT such that every receiving interface also transmits.
Discussion:
This definition matches the discussion in section 14 of RFC 1944.
When a tester offers bidirectional traffic to a DUT/SUT, all the interfaces that receive frames from the tester also transmit frames back to the tester. Everyone's talking to everyone π¬.
Bidirectional traffic MUST be offered when measuring the throughput or forwarding rate of full duplex interfaces of a switching device. No skipping this one, bestie π.
Issues:
- truncated binary exponential back-off algorithm
Measurement units:
n/a
See Also:
- unidirectional traffic (3.2.1)
- non-meshed traffic (3.3.1)
- partially meshed traffic (3.3.2)
- fully meshed traffic (3.3.3)
3.3 Traffic distribution π
This group of definitions applies to how frames forwarded by a DUT/SUT are distributed π.
3.3.1 Non-meshed traffic β¨
Definition:
Frames offered to a single input interface and addressed to a single output interface of a DUT/SUT, where input and output interfaces are grouped in mutually exclusive pairs.
Discussion:
In the simplest case of non-meshed traffic, all frames are offered to a single input interface and addressed to a single output interface. The one-to-one mapping of input to output interfaces that non-meshed traffic needs can be extended to multiple mutually exclusive pairs of input and output interfaces. Pairs, pairs, pairs π―.
Measurement units:
n/a
Issues:
- half duplex / full duplex
See Also:
- unidirectional traffic (3.2.1)
- bidirectional traffic (3.2.2)
- partially meshed traffic (3.3.2.)
- fully meshed traffic (3.3.3)
- burst (3.4.1)
3.3.2 Partially meshed traffic π¦
Definition:
Okay bestie, so this is when frames get offered to one or more input interfaces of a DUT/SUT and addressed to one or more output interfaces. The input and output interfaces are mutually exclusive, and they're mapped one-to-many, many-to-one, or many-to-many. πΈ
Discussion:
This definition comes from the multi-port testing discussion in section 16 of RFC 1944. Partially meshed traffic lets you do one-to-many, many-to-one, or many-to-many mappings of input to output interfaces. It also extends easily to setups with multiple switching devices linked together over backbone connections. π
Here's the tea: partially meshed traffic can load backbone connections between two switching devices or systems more heavily than fully meshed traffic does. When partially meshed traffic is offered, devices or systems can be set up to forward all of the frames they receive to the opposite side of the backbone connection. Fully meshed traffic, though, needs at least some of the offered frames to be forwarded locally, meaning out the interfaces of the DUT/SUT that received them. Those frames never traverse the backbone connection. It's giving efficiency, lowkey π
Measurement units:
n/a
Issues:
half duplex / full duplex
See Also:
- unidirectional traffic (3.2.1)
- bidirectional traffic (3.2.2)
- non-meshed traffic (3.3.1)
- fully meshed traffic (3.3.3)
- burst (3.4.1)
3.3.3 Fully meshed traffic β¨
Definition:
Frames get offered to a designated number of interfaces of a DUT/SUT, and every one of the interfaces under test receives frames addressed to all of the other interfaces under test. Main character energy π
Discussion:
Just like bidirectional partially meshed traffic, fully meshed traffic requires each of the DUT/SUT's interfaces to both receive and transmit frames. The difference is that the interfaces aren't divided into groups the way they are with partially meshed traffic. So every interface forwards frames to, and receives frames from, every other interface. π¦
The total number of individual input/output interface pairs when traffic is fully meshed over n switched interfaces equals n x (n - 1). Compare that with n x (n / 2) such interface pairs when traffic is partially meshed. The math ain't mathing for fully meshed, it's wild π
Fully meshed traffic on half duplex interfaces is inherently bursty, since interfaces have to interrupt transmission whenever they receive frames. This kind of bursty meshed traffic is characteristic of real network traffic. It can be really useful for diagnosing a DUT/SUT, because it exercises many of its component parts at the same time. Additional inspection may be warranted to correlate the frame forwarding capacity of a DUT/SUT under meshed traffic with the behavior of individual elements, such as input or output buffers, buffer allocation mechanisms, aggregate switching capacity, processing speed, or medium access control. π₯
Analyzing forwarding rate measurements gets tricky when you offer bidirectional or fully meshed traffic π The rate at which the tester can be observed transmitting frames to the DUT/SUT may be smaller than the rate it intends to transmit. That happens because of collisions on half duplex media or the action of congestion control mechanisms. So it's important to account for both the intended and offered loads, defined in sections 3.5.1.and 3.5.2 below, when you report the results of these forwarding rate measurements. π
When offering bursty meshed traffic to a DUT/SUT, a bunch of variables come into play. These include frame size, the number of frames within bursts, the interval between bursts, and how the load is distributed between incoming and outgoing traffic. Terms related to bursts are defined in section 3.4 below. π
Measurement units:
n/a
Issues:
half duplex / full duplex
See Also:
- unidirectional traffic (3.2.1)
- bidirectional traffic (3.2.2)
- non-meshed traffic (3.3.1)
- partially meshed traffic (3.3.2)
- burst (3.4.1)
- intended load (3.5.1)
- offered load (3.5.2)
3.4 Bursts π
This group of definitions applies to the intervals between frames, or groups of frames, offered to the DUT/SUT. π§
3.4.1 Burst π«
Definition:
A sequence of frames transmitted with the minimum legal inter-frame gap. β¨
Discussion:
This definition follows from discussions in section 3.16 of RFC 1242 and section 21 of RFC 1944. Those sections describe cases where it's useful to treat isolated frames as single frame bursts. π
Measurement units:
n/a
Issues:
See Also:
- burst size (3.4.2)
- inter-burst gap (IBG) (3.4.3)
3.4.2 Burst size πΈ
Definition:
The number of frames in a burst. π¦
Discussion:
Burst size can range from one to infinity. In unidirectional traffic, as well as in bidirectional or meshed traffic on full duplex interfaces, there's no theoretical limit to burst length. When traffic is bidirectional or meshed, though, bursts on half duplex media are finite, since interfaces interrupt transmission intermittently to receive frames. π
On real networks, burst size will normally increase with window size. So it's desirable to test devices with small burst sizes as well as large ones. π«Ά
Measurement units:
number of N-octet frames
Issues:
See Also:
- burst (3.4.1)
- inter-burst gap (IBG) (3.4.3)
3.4.3 Inter-burst gap (IBG) π
Definition:
The interval between two bursts. β
Discussion:
This definition conforms to the discussion in section 20 of RFC 1944 on bursty traffic. π
Bidirectional and meshed traffic are inherently bursty, since interfaces share their time between receiving and transmitting frames. External sources offering bursty traffic for a given frame size and burst size must adjust the inter-burst gap to achieve a specified average rate of frame transmission. Gap management is an art, bestie π¨
Measurement units:
nanosecondsmicrosecondsmillisecondsseconds
Issues:
See Also:
- burst (3.4.1)
- burst size (3.4.2)
3.5 Loads π
This group of definitions applies to the rates at which traffic is offered to any DUT/SUT. π
3.5.1 Intended load (Iload) π―
Definition:
The number of frames per second that an external source attempts to transmit to a DUT/SUT for forwarding to a specified output interface or interfaces. π
Discussion:
Collisions on CSMA/CD links, or the action of congestion control mechanisms, can affect the rate at which an external source of traffic transmits frames to a DUT/SUT. So it's useful to tell apart the load an external source attempts to apply to a DUT/SUT and the load it's observed or measured to apply. Two different things, iykyk π
In the case of Ethernet, an external source of traffic MUST implement the truncated binary exponential back-off algorithm to ensure that it is accessing the medium legally. This one's non-negotiable, no cap π¨
Measurement units:
bits per secondN-octets per second(N-octets per second / media_maximum-octets per second) x 100
Issues:
See Also:
- burst (3.4.1)
- inter-burst gap (3.4.3)
- offered load (3.5.2)
3.5.2 Offered load (Oload) π·
Definition:
The number of frames per second that an external source can be observed or measured to transmit to a DUT/SUT for forwarding to a specified output interface or interfaces. π
Discussion:
The load an external device can be observed applying to a DUT/SUT may be less than the intended load. That's because of collisions on half duplex media or the action of congestion control mechanisms. So it's important to distinguish intended and offered load when analyzing the results of forwarding rate measurements using bidirectional or fully meshed traffic. π§
Frames that aren't successfully transmitted by an external source of traffic to a DUT/SUT MUST NOT be counted as transmitted frames when measuring forwarding rates. Don't count the flops, bestie π ββοΈ
The frame count on an interface of a DUT/SUT may exceed the rate at which an external device offers frames. That happens because of spanning tree BPDUs (Bridge Protocol Data Units) on 802.1D-compliant switches, or because of SNMP frames. Such frames should be treated as modifiers, as described in section 11 of RFC 1944. πΏ
Offered load MUST be indicated when reporting the results of forwarding rate measurements. Always label your numbers, periodt π β¨
Measurement units:
bits per secondN-octets per second(N-octets per second / media_maximum-octets per second) x 100
Issues:
token ring
See Also:
- bidirectional traffic (3.2.2)
- fully meshed traffic (3.3.3)
- intended load (3.5.1)
- forwarding rate (3.6.1)
3.5.3 Maximum offered load (MOL) π
Definition:
The highest number of frames per second that an external source can transmit to a DUT/SUT for forwarding to a specified output interface or interfaces. π
Discussion:
The maximum load an external device can apply to a DUT/SUT may not equal the maximum load the medium allows. That's the case when an external source lacks the resources to transmit frames at the minimum legal inter-frame gap, or when it has enough resources to transmit frames below the minimum legal inter-frame gap. π€―
Maximum load can also vary with parameters other than a medium's maximum theoretical utilization. For example, on media that employ tokens, maximum load may vary as a function of Token Rotation Time, Token Holding Time, or the ability to chain multiple frames to a single token. It's a whole ecosystem, ngl π
The maximum load that an external device applies to a DUT/SUT MUST be specified when measuring forwarding rates. Write it down, it's not optional ππ
Measurement units:
bits per secondN-octets per second(N-octets per second / media_maximum-octets per second) x 100
Issues:
See Also:
- offered load (3.5.2)
3.5.4 Overloading β¨
Definition:
Okay so this one is about trying to load a DUT/SUT with more traffic than the medium is allowed to carry ππ¦
Discussion:
Overloading is highkey useful because it can exercise buffers, buffer allocation algorithms, and congestion control mechanisms π§ π The number of input interfaces needed to overload one or more output interfaces depends on the media rates of the interfaces involved, so it's not one-size-fits-all π
An external source can also overload an interface by sending frames with gaps shorter than the minimum inter-frame gap π A DUT/SUT MUST forward those frames at intervals equal to or above the minimum gap specified in standards. No exceptions, bestie π«Ά
A DUT/SUT using congestion control techniques like backpressure or forward pressure may show no frame loss when a tester tries to overload one or more of its interfaces. This should not be exploited to suggest that the DUT/SUT supports rates above the maximum rate the medium allows π Both techniques just slow down how fast the tester gets to offer frames. Backpressure does this by jamming the tester's transmission interfaces, and forward pressure does it by keeping the tester from getting fair access to the medium. Analysis of both cases should take the difference between intended load (3.5.1) and offered load (3.5.2) into account π§
Measurement units:
- bits per second
- N-octets per second
(N-octets per second / media_maximum-octets per second) x 100
Issues:
See Also:
- unidirectional traffic (3.2.1)
- intended load (3.5.1)
- offered load (3.5.2)
- forwarding rate (3.6.1)
- backpressure (3.7.1)
- forward pressure (3.7.2)
3.6 Forwarding rates π¦
This group of definitions is about the rates at which traffic gets forwarded by any DUT/SUT in response to a stimulus. Main character energy π
3.6.1 Forwarding rate (FR) π
Definition:
The number of frames per second that a device can be observed to successfully transmit to the correct destination interface in response to a specified offered load β¨
Discussion:
Okay, this is the one that's different from throughput. Throughput is defined in section 3.17 of RFC 1242, and it makes explicit reference to frame loss. Forwarding rate does not π ββοΈ It just counts the frames per second observed on the output side of the interface under test, and it MUST be reported in relation to the offered load. Forwarding rate can be measured with different traffic orientations and distributions πΈ
It should be noted that the forwarding rate of a DUT/SUT may be sensitive to the action of congestion control mechanisms π₯
Measurement units:
- N-octet frames per second
Issues:
See Also:
- offered load (3.5.2)
- forwarding rate at maximum offered load (3.6.2)
- maximum forwarding rate (3.6.3)
3.6.2 Forwarding rate at maximum offered load (FRMOL) π
Definition:
The number of frames per second that a device can be observed to successfully transmit to the correct destination interface in response to the maximum offered load π
Discussion:
Forwarding rate at maximum offered load may be lower than the maximum rate at which a device can be observed to successfully forward traffic. That happens when a device's ability to forward frames falls apart once it's hit with offered traffic at maximum load π
Maximum offered load MUST be cited when reporting forwarding rate at maximum offered load. Receipts, bestie π§Ύ
Measurement units:
- N-octet frames per second
Issues:
See Also:
- maximum offered load (3.5.3)
- forwarding rate (3.6.1)
- maximum forwarding rate (3.6.3)
3.6.3 Maximum forwarding rate (MFR) π
Definition:
The highest forwarding rate of a DUT/SUT, taken from an iterative set of forwarding rate measurements β
Discussion:
A device's forwarding rate may degrade before maximum load is reached π So the load applied to the device must be cited when you report maximum forwarding rate. Don't skip this part π
Here's an example showing how these loading and forwarding rate terms are meant to be used. It's especially useful for seeing how the difference between forwarding rate at maximum offered load (FRMOL) and maximum forwarding rate (MFR) can characterize a DUT/SUT π
(A) (B)
Test Device DUT/SUT
Offered Load Forwarding Rate
------------ ---------------
(1) 14,880 fps - MOL 7,400 fps - FRMOL
(2) 13,880 fps 8,472 fps
(3) 12,880 fps 12,880 fps - MFR
Measurement units:
- N-octet frames per second
Issues:
See Also:
- offered load (3.5.2)
- forwarding rates (3.6.1)
- forwarding rate at maximum load (3.6.2)
3.7 Congestion control π¦
This group of definitions is about how a DUT/SUT behaves when congestion or contention is present π«Ά
3.7.1 Backpressure π§±
Definition:
Any technique a DUT/SUT uses to try to avoid frame loss by holding back external sources of traffic from sending frames to congested interfaces π
Discussion:
Some switches send jam signals, like preamble bits, back to traffic sources when their transmit and/or receive buffers start to overfill π Switches running full duplex Ethernet links may use IEEE 802.3x Flow Control for the same purpose. These devices may see no frame loss when external sources try to offer traffic to congested or overloaded interfaces β¨
It should be noted that jamming and other flow control methods may slow all traffic sent to congested input interfaces, including traffic meant for uncongested output interfaces π
A DUT/SUT applying backpressure may show no frame loss when a tester tries to overload one or more of its interfaces. This should not be read as meaning the DUT/SUT supports forwarding rates above the maximum rate the medium allows π ββοΈ The overloading is only apparent here, since backpressure keeps the DUT/SUT from getting overloaded by slowing down how fast the tester can offer frames π¦
Measurement units:
- frame loss on congested interface or interfaces
- N-octet frames per second between the interface applying backpressure and an uncongested destination interface
Issues:
- jamming not explicitly described in standards
See Also:
- intended load (3.5.1)
- offered load (3.5.2)
- overloading (3.5.4)
- forwarding rate (3.6.1)
- forward pressure (3.7.2)
3.7.2 Forward pressure ποΈ
Definition:
Methods that depart from or otherwise violate a defined standardized protocol in an attempt to increase the forwarding performance of a DUT/SUT π±
Discussion:
A DUT/SUT may be found to inhibit or abort back-off algorithms so it can force access to the medium when contention occurs. It should be noted that the back-off algorithm should be fair whether the DUT/SUT is in a congested or an uncongested state βοΈ Transmitting below the minimum inter-frame gap, or ignoring flow control primitives, both fall into this category π
A DUT/SUT applying forward pressure may eliminate all or most frame loss when a tester tries to overload one or more of its interfaces. This should not be interpreted to suggest that the DUT/SUT's interfaces can sustain forwarding rates above the maximum rate the medium allows. The overloading is only apparent here, because forward pressure lets the DUT/SUT clear out saturated output queues by forcing access to the medium, while also keeping the tester from sending frames π§ββοΈ
Measurement units:
- intervals between frames in microseconds
- intervals in microseconds between transmission retries during 16 successive collisions
Issues:
- truncated binary exponential back-off algorithm
See Also:
- intended load (3.5.1)
- offered load (3.5.2)
- overloading (3.5.4)
- forwarding rate (3.6.1)
- backpressure (3.7.1)
3.7.3 Head of line blocking π§
Definition:
Frame loss or added delay seen on an uncongested output interface whenever frames arrive from an input interface that is also trying to forward frames to a congested output interface π¬
Discussion:
It's important to check that a switch doesn't slow down transmission or drop frames on interfaces that aren't congested whenever overloading happens on one of its other interfaces π«
Measurement units:
- forwarding rate and frame loss recorded on an uncongested interface when receiving frames from an interface that is also forwarding frames to a congested interface
Issues:
- input buffers
See Also:
- unidirectional traffic (3.2.1)
3.8 Address handling π
This group of definitions is about the address resolution process that lets a DUT/SUT forward frames to their correct destinations πΊοΈ
3.8.1 Address caching capacity π§
Definition:
The number of MAC addresses per n interfaces, per module, or per device that a DUT/SUT can cache and successfully forward frames to without flooding or dropping frames π¦
Discussion:
Network builders will want to know how many nodes they can connect to a switch πββοΈ So it's necessary to verify the number of MAC addresses that can be assigned per n interfaces, per module, and per chassis before a DUT/SUT starts flooding frames π
Measurement units:
- number of MAC addresses per n interfaces, modules, or chassis
Issues:
See Also:
- address learning rate (3.8.2)
3.8.2 Address learning rate π
Definition:
The maximum rate at which a switch can learn new MAC addresses without flooding or dropping frames β±οΈ
Discussion:
Users may want to know how long it takes a switch to build its address tables. This is super useful when you're thinking about how long a network takes to come back up when lots of users log on in the morning or after a crash π
Measurement units:
- frames with different source addresses per second
Issues:
See Also:
- address caching capacity (3.8.1)
3.8.3 Flood count π
Definition:
Frames forwarded to interfaces that don't correspond to the destination MAC address information when traffic is offered to a DUT/SUT for forwarding π
Discussion:
When you record throughput statistics, it's important to check that frames actually went to their proper destinations π¬ Flooded frames MUST NOT be counted as received frames. Both known and unknown unicast frames can be flooded π
Measurement units:
- N-octet valid frames
Issues:
- spanning tree BPDUs.
See Also:
- address caching capacity (3.8.1)
3.9 Errored frame filtering π§Ή
This group of definitions is about frames with errors that a DUT/SUT may filter π
3.9.1 Errored frames
Definition:
Frames that are over-sized, under-sized, misaligned, or have an errored Frame Check Sequence. π
Discussion:
Okay so, switches are not the same as IEEE 802.1d compliant bridges π. Bridges are supposed to filter all the illegal frames, but switches don't necessarily do that. Some switches don't store frames before forwarding them to the destination interfaces, so they may not filter over-sized frames (jabbers) or check whether the Frame Check Sequence field is valid π. Other illegal frames include under-sized frames (runts) and misaligned frames. Not catching these is giving chaos, bestie π
Measurement units:
n/a
Issues:
See Also:
3.10 Broadcasts
This group of definitions covers MAC layer and network layer broadcast frames π£π¦
3.10.1 Broadcast forwarding rate
Definition:
The number of broadcast frames per second that a DUT/SUT can be observed to deliver to all interfaces located within a broadcast domain, in response to a specified offered load of frames directed to the broadcast MAC address. π
Discussion:
There's no standard forwarding mechanism that switches use for broadcast frames, so this one is a whole vibe π. It's useful to figure out the broadcast forwarding rate for frames switched between interfaces on the same card, between interfaces on different cards in the same chassis, and between interfaces on different chassis that are linked together over backbone connections. The terms maximum broadcast forwarding rate and broadcast forwarding rate at maximum load come straight from the forwarding rate terms we already covered in section 3.6 above β¨
Measurement units:
N-octet frames per second
Issues:
See Also:
- forwarding rate at maximum load (3.6.2)
- maximum forwarding rate (3.6.3)
- broadcast latency (3.10.2)
3.10.2 Broadcast latency
Definition:
The time required by a DUT/SUT to forward a broadcast frame to each interface located within a broadcast domain. β±οΈ
Discussion:
Since there's no standard way for switches to process broadcast frames, the broadcast latency might not be the same on every receiving interface of a switching device π« . The latency measurements SHOULD be bit oriented, as described in section 3.8 of RFC 1242. It's useful to measure broadcast latency for frames forwarded between interfaces on the same card, between interfaces on different cards in the same chassis, and between different chassis linked over backbone connections π
Measurement units:
- nanoseconds
- microseconds
- milliseconds
- seconds
Issues:
See Also:
- broadcast forwarding rate (3.10.1)
4. Security Considerations π
Documents like this one don't directly affect the security of the Internet or of corporate networks, as long as benchmarking isn't performed on devices or systems that are connected to live, operating networks. Phew π
The document points out that switching devices may violate the IEEE 802.3 standard. They can do this by transmitting frames below the minimum interframe gap, or by unfairly accessing the medium through inhibiting the backoff algorithm π¬. Even though these violations don't directly cause security breaches, they can still mess with the normal functioning of other interworking devices by blocking their access to the medium. That's a serious problem, bestie π¨. Their use on the Internet or on corporate networks should be discouraged.
5. References
[1] Bradner, S., "Benchmarking Terminology for Network Interconnection Devices", RFC 1242, July 1991.
[2] Bradner, S., and J. McQuaid, "Benchmarking Methodology for Network Interconnect Devices", RFC 1944, May 1996.
6. Acknowledgments π«Ά
The Benchmarking Methodology Working Group of the IETF, and especially Kevin Dubray (Bay Networks), deserve a huge thank you for all the suggestions they gave to help finish this document π. Ajay Shah (WG), Jean-Christophe Bestaux (ENL), Henry Hamon (Netcom Systems), Stan Kopek (Digital), and Doug Ruby (Prominet) also gave super valuable input at different stages of this project β¨.
Special thanks go to Scott Bradner for his seminal work in the field of benchmarking, and for all his encouraging remarks πΈ.
7. Author's Address ποΈ
Robert Mandeville
European Network Laboratories (ENL)
2, rue Helene Boucher
78286 Guyancourt Cedex
France
Phone: + 33 1 39 44 12 05
Mobile Phone + 33 6 07 47 67 10
Fax: + 33 1 39 44 12 06
EMail: bob.mandeville@eunet.fr
8. Full Copyright Statement βοΈ
Copyright (C) The Internet Society (1998). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
π¦ where this page comes from
- ietf: rfc2285 1998-02
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms