IAE Academy

Performance formulas

Performance metrics: delay, throughput and link utilisation. 19 formulas for GATE CS Computer Networks, each with when to use it. Each is explained in the topic notes.

All 19 Performance formulas

TRANSMISSION DELAY

L = packet size in bits, R = link rate in bits per second. Depends on the packet and the rate, not on the length of the wire.

PROPAGATION DELAY

d = length of the link, v = propagation speed in the medium. Independent of the packet size and the link rate.

ROUND-TRIP TIME (NEGLIGIBLE ACK SIZE)

For a short probe or acknowledgement whose transmission delay is negligible. If transmission delays matter, add them explicitly.

ONE PACKET OVER N LINKS, STORE-AND-FORWARD

Each router receives the whole packet before forwarding it. Queuing and processing delays are zero unless given. With equal links this is .

P PACKETS BACK TO BACK OVER N EQUAL LINKS

All packets have the same size L, are sent without gaps, and no queuing occurs other than waiting behind earlier packets. The first packet needs N transmission times; each later packet finishes one transmission time after the one before.

THROUGHPUT OF A PATH

Steady transfer of a long stream over links in series with no other traffic, and a sender window large enough not to be the limit. Delays do not change this rate; they only shift when the stream starts and ends.

FILE OF F BITS IN PACKETS OF L BITS, LINKS IN SERIES

Store-and-forward; is the bottleneck rate (link ); F is a whole number of packets of L bits sent back to back; no other traffic, no processing delay. Every link other than the bottleneck adds one packet transmission time. With equal links and this is . For a very large F the first term dominates.

BANDWIDTH-DELAY PRODUCT

Number of bits that fill the link from one end to the other (bits in flight in one direction). Using gives the bits that can be in flight during one round trip.

WINDOW-LIMITED THROUGHPUT

W = sender window in bits (a TCP window is given in bytes, so multiply by 8). = time from sending the first bit of a window to receiving its acknowledgement: for frames of transmission time , or simply RTT when transmission time is negligible. With this gives , as below.

STOP-AND-WAIT UTILISATION

No errors, acknowledgement transmission time and processing time negligible. If the ACK has a non-negligible transmission time , the cycle is .

EFFECTIVE THROUGHPUT

R = link rate. Equivalently, one frame of bits is delivered per cycle: .

STOP-AND-WAIT WITH FRAME LOSS

Each frame is lost independently with probability p, acknowledgements are never lost, and every failed attempt costs one full cycle (timeout equal to the cycle). The expected number of transmissions per frame is .

USEFUL THROUGHPUT WITH HEADER OVERHEAD

L = whole frame in bits including the header, H = header bits. Use this only when the question asks for data (payload) throughput; otherwise headers count as transmitted bits.

SLIDING-WINDOW UTILISATION

N = sender window in frames, , no errors, ACK transmission negligible. Applies to Go-Back-N and Selective Repeat alike when there are no losses. gives stop-and-wait.

WINDOW NEEDED TO KEEP THE LINK BUSY

Smallest window giving . Equivalently, the window must cover one full cycle: .

GENERAL RULE FOR SEQUENCE NUMBERS

= sender window, = receiver window, both in frames; k = bits in the sequence number. Go-Back-N has , giving ; Selective Repeat with gives .

MAXIMUM WINDOW, GO-BACK-N

k = bits in the sequence number. A window of would make a whole new window look like a retransmission of the old one.

MAXIMUM WINDOW, SELECTIVE REPEAT

Sender and receiver windows are equal; the two windows together must not exceed the numbers.

SEQUENCE BITS FOR A GIVEN WINDOW

N = sender window size in frames. Use from the utilisation formula when the question asks for the field that keeps the link fully busy.

Where this was asked: 2022 (1), 2023 (1), 2024 (1), 2025 (1), 2026 (3). See the 7 previous-year questions on Performance. This shows what was asked, not what will be asked.