Calculate frame loss ratio as a percentage from transmitted and lost or received frame counts, or estimate lost or transmitted frames from a loss %.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Loss ratio from lost frames | Finds the frame loss percentage from a count of lost frames | Requires the transmitted frames and the lost frames |
| Loss ratio from received frames | Finds the frame loss percentage from the counters at each end of a link or test | Requires the transmitted frames and the received frames |
| Estimate lost frames | Finds how many frames a given loss percentage implies | Requires the transmitted frames and the loss percentage |
| Estimate transmitted frames | Finds the transmitted total that a lost count and a loss percentage imply | Requires the lost frames and the loss percentage |
Frame counts are whole numbers and the loss percentage runs from 0 to 100. Every result shows the loss ratio as a fraction and as a percentage, the received frames and the received share.
Frame Loss Ratio Formulas
| FLR | Frame loss ratio as a fraction. Multiplied by 100 it is the loss percentage |
| T | Frames transmitted |
| R | Frames received |
ITU-T Y.1563 defines the Ethernet frame loss ratio as the lost frames divided by the transmitted frames in the population being measured [1]. The benchmarking procedure in RFC 2544 computes the same quantity as a percentage from the count sent into a device and the count it sends out [2].
Loss ratio from lost frames
L is the number of lost frames, which is T − R. With 1,000 frames sent and 50 lost, the loss is 50 ÷ 1,000 × 100 = 5%, a ratio of 0.05. A lost count larger than the transmitted count is rejected.
Loss ratio from received frames
This is the main formula with the two counters entered directly. With 1,000 frames sent and 950 received, 50 are lost and the loss is 5%. A received count above the transmitted count is rejected, because the formula has no place for duplicated frames.
Estimate lost frames
A loss of 0.1% on 1,000,000 frames is 1,000 lost frames. The answer is an expected count, so it can be fractional: 0.1% of 1,500 frames is 1.5.
Estimate transmitted frames
If 25 frames were lost at a 0.5% loss rate, about 25 ÷ 0.005 = 5,000 frames were sent. A loss of 0% cannot be used here, because no total can be worked back from it.
Limits of This Estimate
- Both counters must cover the same traffic over the same interval. Counters read at different times, or on ports carrying other traffic, give a ratio that means nothing.
- What counts as lost depends on the measurement. In the IETF packet loss metric a packet is lost if it does not arrive within a waiting time, a corrupted packet counts as lost, and a duplicated packet counts once [4]. The calculator only sees the totals.
- RFC 1242 frames loss as frames a device should have forwarded under constant load but did not for lack of resources, reported against offered load [3]. A single percentage does not show the load at which the loss occurred, and it does not say whether a link meets a service level.
Sources
- ITU-T, Recommendation Y.1563, Ethernet frame transfer and availability performance, clause 8.4.1: definition of Ethernet frame loss ratio
- IETF, RFC 2544, Benchmarking Methodology for Network Interconnect Devices, Section 26.3: frame loss rate computed from input and output counts
- IETF, RFC 1242, Benchmarking Terminology for Network Interconnection Devices, Section 3.6: meaning of frame loss rate and how it is reported
- IETF, RFC 7680, A One-Way Loss Metric for IP Performance Metrics, Sections 2.4 and 2.5: when a packet counts as lost, and how duplicates and corruption are treated
