Numericals Tx, Tp, RTT, MTU, MSS, MLS
All Formulas Overview
Section titled “All Formulas Overview”1. Transmission Delay \boxed{T_x = \frac{{L}{R}
- : Time to serialize all bits of a packet onto the link:
- = Packet / segment size (bits)
- = Link bandwidth (bits/sec)
- T\_{x,\min} = \frac{L}{R\_{\max\}}
- Effect of segment size:
- Larger segments → higher , more efficient ❓
- Smaller segments → lower , higher header overhead ❓
2. Propagation Delay \boxed{T\_p = \frac{d}{v\}}
- : Time for one bit to travel from sender to receiver:
- = Distance (m)
- = Propagation speed (~ m/s in fiber/copper, m/s in air)
- T\_{p,\min} = \frac{d\_{\min\}}{v\_{\max\}}
3. Total Packet Delay \boxed{T\_{\text{total\}} = T\_x + T\_p}
- First bit arrival:
- Last bit arrival:
4. Round Trip Time (RTT)
- Ignoring ACK transmission: ⭐
- Including ACK transmission: \boxed{RTT = 2T\_p + T\_{x,\text{data\}} + T\_{x,\text{ack\}}}
5. Bandwidth-Delay Product (BDP) ⭐
- : Max number of bits in-flight
- Minimum TCP window to fully utilize link:
- Number of segments in-flight: n = \frac{\text{BDP\}}{\text{MSS\}}
6. MTU / MLS / MSS
- (Maximum Transmission Unit): Max frame size a link can carry (bytes)
- (Maximum Link/Segment Size): Largest segment/frame link allows
- (Maximum Segment Size) \boxed{\text{MSS} = \text{MLS} - \text{IP Header} - \text{TCP Header\}}
- Impact on T\_x = \frac{\text{Segment Size (including headers)\}}{R}
- CSMA/CD minimum frame size: ⭐
7. Store-and-Forward / Multiple Links
- 1 packet across k links:
- n packets across k links:
- Cut-through switching (first packet delay): T\_{\text{first\}} \approx T\_p + \text{header transmission}
8. CSMA/CD & Stop-and-Wait
- Collision detection requirement:
- Stop-and-Wait utilization: \boxed{U = \frac{T\_x}{T\_x + 2T\_p\}} ⭐
- Minimum frame size for Ethernet / CSMA/CD:
9. End-to-End Delay Components \boxed{T\_{\text{end-to-end\}} = \sum T\_x + \sum T\_p + \sum T\_q + \sum T\_{\text{process\}}}
- = Transmission delay
- = Propagation delay
- = Queuing delay
- T\_{\text{process\}} = Processing delay
Shortcut / GATE-Friendly Formulas ⭐
- in ms:
- in ms (d in km, v ≈ m/s):
- Minimum frame size for collision detection:
- Number of in-flight segments: \boxed{n = \frac{\text{BDP\}}{\text{MSS\}}}
Transmission & Propagation Delay
Section titled “Transmission & Propagation Delay”Transmission and propagation delays belong to the Physical Layer, but CSMA/CD and Stop-and-Wait depend on them for correctness and performance — that’s why questions appear under those protocols.
1. Transmission Delay
Definition: Time required to serialize (push) all bits of a packet onto the link.
- = Packet size (bits)
- = Link bandwidth / transmission rate (bits/sec)
Key Properties:
- Depends on packet size (L) and link (Bandwidth) rate (R)
- Larger packet → higher
- Higher bandwidth → lower
- Independent of distance
- Also called serialization delay
Minimum Transmission Time:
- Occurs when bandwidth is maximum for a given packet: T\_{x, \min} = \frac{L}{R\_\text{max\}}
Example:
2. Propagation Delay
Definition: Time taken by one bit to propagate from sender to receiver or Time taken for a bit to travel from sender to receiver.
- = distance (meters)
- = propagation speed in medium m/s in copper/fiber, m/s in air
Key Properties:
- Depends on distance and medium, not on packet size.
- Long-distance links → dominates
- Short links → dominates
- Independent of packet size and bandwidth
- Typical values: Fiber/Copper: Air/Vacuum:
Minimum Propagation Time:
- Occurs when distance is minimum and speed is maximum: T\_{p, \min} = \frac{d\_\text{min\}}{v\_\text{max\}}
Example:
Total Time to Send a Packet
Observation: ⭐
- LAN (short distance, high bandwidth)
→ is very small, may dominate Ex: For LAN: ( - WAN / Satellite (long distance)
→ dominates Ex: For satellite:
Time for First Bit vs Last Bit
- First bit arrival time: T\_{\text{first bit\}} = T\_p
- Last bit arrival time: T\_{\text{last bit\}} = T\_x + T\_p ⭐
This is frequently tested in GATE. GATE often asks: “When does the receiver get the complete packet?”
Bandwidth–Delay Product ⭐⭐
Definition: Number of bits that can be present “in-flight” in the link at any instant.
- Number of bits present in the link simultaneously
Rate at which source sending bits (bits/sec) xTime for one bit to reach destination (sec) =bits not yet reached destination but midway (bits)- Equals minimum TCP window size to fully utilize the link ⭐
TCP window size ≥ BDP (to fully utilize link)- Reason:
- TCP window size = max bits sender can send without ACK
- If ( TCP window size < BDP ) -> sender stops sending before the “in-flight” capacity of the link is full -> Some link capacity remains idle -> Throughput < R (link rate)
Significance:
- Helps design buffer size in routers
- Indicates how many bits are “on the wire”
Example:
If window < BDP → link underutilized (very common GATE concept)
6. Effect of Packet Segmentation (Pipelining) / Multiple Packets
Case 1: Single link, no store-and-forward
- For multiple packets sent back-to-back, total transmission time for (n) packets:
- If pipelining (like TCP windowing), can be overlapped, so effective total time for large (n):
Case 2: Store-and-Forward, k links (VERY IMPORTANT)
- For 1 packet across k links:
- For n packets:
This is one of the most asked GATE formulas.
Case 3: Cut-through switching (rare but asked)
- Transmission overlaps
- Delay < store-and-forward
- First packet delay ≈
7. Delay Components in Networks / End-to-End Delay
- Transmission delay:
- Propagation delay:
- Queuing delay: Time spent waiting in router queues
- Processing delay: Time routers take to process headers
Total end-to-end delay:
- T\_{\text{end-to-end\}} = \sum T\_x + \sum T\_p + \sum T\_q + \sum T\_{\text{process\}}
Where:
- : Queuing delay (variable, load-dependent)
- ( T\_{\text{process\}} ): Header processing (small but non-zero)
GATE usually ignores queue & processing unless specified.
8. Round Trip Time (RTT)
Definition : It is the total time taken for a data packet to travel from the sender to the receiver and for the corresponding acknowledgment (ACK) to travel back to the sender.
Ignoring ACK Tx
With ACK transmission:
Satellite links → RTT dominates TCP performance.
9. Summary
Transmission delay
- If L in Mb, R in Mbps:
Propagation delay
- At ( ) m/s:
Core Difference
| Aspect | Transmission Delay () | Propagation Delay () |
|---|---|---|
| Depends on | Packet size, bandwidth | Distance, medium |
| Independent of | Distance | Packet size |
| Physical meaning | Time to send bits | Time for bits to travel |
| Controlled by | Sender’s data rate | Speed of signal |
| Dominates in | High-bandwidth links | Long-distance links |
GATE-Style Numericals and Tips
Given: L, R, d, v
- Step 1: Convert all units to bits, seconds, meters
- Step 2: Compute ()
- Step 3: Compute ()
- Step 4: Total delay = ()
Shortcut Formulas for GATE:
- () in milliseconds if L in Mb, R in Mbps:
- () in milliseconds if d in km, v in 10^8 m/s: (Approximation commonly used in GATE calculations)
Important Tips:
- For minimum → maximize
- For minimum → minimize or increase
- Bandwidth-delay product tells you how much data can be “in-flight” before acknowledgment
Critical Condition: ( ) ⭐
Section titled “Critical Condition: ( T_x≥2T_p\boldsymbol{T\_x \ge 2T\_p}T_x≥2T_p ) ⭐”This condition appears repeatedly in CSMA/CD and Stop-and-Wait analysis, even though and are Physical Layer delays.
Meaning of the Condition -> The sender must keep transmitting long enough so that a signal (or collision) from the farthest node can travel to the receiver and back before transmission ends.
Why does () appear?
- (): time for signal to travel one way
- Worst case:
- Collision occurs at the farthest node
- Collision information must return to sender
->Round-trip propagation delay =
A. Role in CSMA/CD (MOST IMPORTANT USE)
Collision Detection Requirement
For CSMA/CD to detect a collision, the sender must still be transmitting when the collision signal returns.
Hence,
Consequence:
- Determines minimum frame size
If :
- Sender finishes transmission early
- Collision goes undetected ❌
- CSMA/CD fails
B. Role in Stop-and-Wait
In Stop-and-Wait, utilization depends on the relation between and :
Cases:
| Relation | Effect |
|---|---|
| Very low utilization (long idle wait) | |
| Boundary condition | |
| High utilization |
-> Satellite links → () dominates → poor Stop-and-Wait performance
Where GATE Uses This Condition
- Minimum frame size
- Ethernet design
- CSMA/CD correctness
- Stop-and-Wait utilization
- RTT-dominated links
Transmission & MTU / MSS / MLS
Section titled “Transmission & MTU / MSS / MLS”MTU (Maximum Transmission Unit)
- Maximum frame size that a link layer protocol can carry.
- Example: Ethernet → MTU = 1500 bytes.
- Limits the maximum IP packet size, which in turn limits TCP segment size / MLS.
MLS (Maximum Link / Segment Size)
- Largest allowed segment or frame a link can transmit in a single transmission.
- Often determined by MTU.
- Ensures minimum transmission time for CSMA/CD / Stop-and-Wait:
- TCP segment size must not exceed MLS; otherwise, fragmentation occurs.
MSS (Maximum Segment Size / Largest Segment Size)
- Maximum TCP payload that can fit inside IP packet without fragmentation:
- Example: Ethernet MTU = 1500B → MLS = 1500B, IP header = 20B, TCP header = 20B → MSS = 1460B
Impact on Transmission Delay ()
- Transmission delay is proportional to segment size ():
- Smaller segments → smaller , more header overhead
- Larger segments (near MLS) → higher , fewer headers → better efficiency
- Minimum frame size / minimum in CSMA/CD:
- If MTU / MLS < L\_{\text{min\}}, padding is required to detect collisions.
Bandwidth-Delay Product (BDP) & MSS
- BDP tells how many bits can be “in-flight” in the link.
- TCP window must accommodate multiple segments if MSS < BDP:
- Large MLS / MSS → fewer segments → better pipelining efficiency.
Propagation Delay vs MTU / Segment Size
- Large segments (near MLS / MTU) → higher → can overlap with → better link utilization.
- Small segments → low → dominates → poor Stop-and-Wait or CSMA/CD utilization.
Example Including MTU / MLS
Link: R = 10 Mbps, = 0.01 s, MTU / MLS = 1500B (12,000 bits)
Number of segments in-flight to fully utilize link:
Integration with CSMA/CD / Stop-and-Wait
- Minimum frame size: L\_{\text{min\}} = R \times 2T\_p
- MLS / MTU must allow minimum L\_{\text{min\}}, otherwise padding is required.
- Stop-and-Wait utilization improves if segment size ≈ MLS / MTU to maximize .