Computer Networks Essentials / Network Performance & Troubleshooting

Throughput

๐Ÿค” What is Throughput? (Basic Idea)

When data is sent over a network:

  • Not all data sent actually reaches the destination

  • Some packets may be delayed or lost

๐Ÿ“Œ Throughput tells us how much data is actually delivered successfully.


๐Ÿง  Simple Definition

๐Ÿ“Œ Throughput is the amount of data successfully transmitted from source to destination per unit time over a network.


๐Ÿง  One-Line Understanding

Throughput = โ€œHow much useful data the network really delivers.โ€


๐Ÿง  Real-Life Analogy

๐Ÿšฐ Water Pipe Example

  • Pipe capacity = Bandwidth

  • Actual water flowing = Throughput

๐Ÿ‘‰ Even if pipe is wide, leaks and blocks reduce actual water flow.

๐Ÿ“Œ Same with networks.


๐Ÿงญ Where Does Throughput Matter?

Throughput is important in:

  • File downloads ๐Ÿ“ฅ

  • Video streaming ๐ŸŽฅ

  • Cloud services โ˜๏ธ

  • Database communication ๐Ÿ’พ


๐Ÿงฎ Throughput Formula

Throughput = Total Data Successfully Received / Total Time

๐Ÿง  Example

  • Data received = 10 MB

  • Time taken = 5 seconds

๐Ÿ‘‰ Throughput = 2 MB/s


๐Ÿ“Š Units of Throughput

  • Bits per second (bps)

  • Kbps, Mbps, Gbps

๐Ÿ“Œ Same units as bandwidth, but meaning is different.


โš–๏ธ Throughput vs Bandwidth

This comparison is almost guaranteed in exams.

Feature

Bandwidth

Throughput

Meaning

Maximum capacity

Actual delivered data

Nature

Theoretical

Practical

Affected by

Link capacity

Congestion, delay, loss

Always fixed?

Yes

No

Example

100 Mbps link

30 Mbps actual

๐Ÿ“Œ Throughput โ‰ค Bandwidth (Always)


๐Ÿง  Why Throughput is Always Less Than Bandwidth

Throughput is reduced due to:

  • โฑ๏ธ Delay

  • ๐Ÿ“ฆ Packet loss

  • ๐Ÿ” Retransmissions

  • ๐Ÿšฆ Congestion

  • ๐Ÿ” Protocol overhead


๐Ÿงฉ Factors Affecting Throughput

๐Ÿšฆ 1. Network Congestion

  • Too many packets

  • Router queues overflow

๐Ÿ“Œ Congestion โ†’ packet drops โ†’ lower throughput


๐Ÿ“ฆ 2. Packet Loss

  • Lost packets must be retransmitted

  • Increases time

๐Ÿ“Œ TCP retransmissions reduce throughput significantly.


โฑ๏ธ 3. Network Delay (Latency)

  • High delay slows acknowledgements

  • Reduces data rate

๐Ÿ“Œ Especially impacts TCP.


๐Ÿ“ 4. Bandwidth of the Link

  • Higher bandwidth โ†’ higher possible throughput

  • But only if network is uncongested


๐Ÿ” 5. Protocol Used

Protocol

Throughput Impact

TCP

Reliable but slower

UDP

Faster but unreliable

๐Ÿ“Œ TCP trades speed for reliability.


๐Ÿ” 6. Encryption & Security Overhead

  • SSL/TLS adds headers

  • Encryption consumes CPU

๐Ÿ“Œ Slight reduction in throughput.


๐Ÿ–ฅ๏ธ 7. Hardware Limitations

  • Slow routers

  • Weak NICs

  • CPU bottlenecks

๐Ÿ“Œ Hardware caps throughput.


๐Ÿง  Throughput in TCP (Quick Insight)

TCP throughput depends on:

  • Window size

  • Round-trip time (RTT)

  • Packet loss rate

๐Ÿ“Œ Larger window + lower RTT = higher throughput.


๐ŸŽฏ Why Throughput Is Important

Low throughput causes:

  • Slow downloads ๐Ÿ“ฅ

  • Video buffering ๐ŸŽฅ

  • Poor cloud performance โ˜๏ธ

  • Bad user experience ๐Ÿ˜ก

๐Ÿ“Œ Users feel throughput, not bandwidth.


๐Ÿง  Good vs Poor Throughput (Approx.)

Application

Required Throughput

Web browsing

Low

HD video streaming

5โ€“10 Mbps

4K video

25+ Mbps

File transfer

As high as possible


๐Ÿ› ๏ธ How to Improve Throughput (Preview)

  • Reduce congestion

  • Increase bandwidth

  • Use QoS

  • Optimize routing

  • Upgrade hardware

๐Ÿ“Œ Covered in troubleshooting topics next.


๐Ÿง  Memory Tricks

  • Bandwidth = Road width ๐Ÿ›ฃ๏ธ

  • Throughput = Cars actually moving ๐Ÿš—

  • Loss & delay kill throughput โŒ


โญ One-Line Summary

๐Ÿ”น Throughput measures the actual amount of data successfully delivered over a network per unit time and is always less than or equal to bandwidth.