Professional Documents
Culture Documents
12- Tcp Udp المرور
12- Tcp Udp المرور
Computer Networks
Topics:
Summer 2024
• Application Layer (Ch. 2)
Sayeed Ghani • Overview (Cont.)
Lecture 12 • Traffic Calculations
• TCP vs UDP
Thursday, July 4th • TLS
Bits vs Bytes
• 1 Byte = 8 bits
1-2
Real-time Application Throughput requirements
2. Video conferencing:
sending 1 message (image) of size 1000 bytes every msec
Throughput required = ?
1-3
Real-time Application Throughput requirements
2. Video conferencing:
sending 1 message (image) of size 1000 bytes every msec
Throughput required = 1000x8 / 0.001 sec = 8 Mbps
1-4
Non-real time Applications
Non-real time application:
1. File download (no timing issue)
downloading MP3 file of size 100 Mbytes
Assume throughput is 1 Mbps, how long will it take?
Time = ?
1-5
Non-real time Applications
Non-real time application:
1. File download (no timing issue)
downloading MP3 file of size 100 Mbytes
Assume throughput is 1 Mbps, how long will it take?
Time = Size / throughput = 100x8 Mbits / 1 Mb/sec = 800 seconds
1-6
Throughput vs Delay
L=5000 bits s=200,000 km/s
R = 1 Mbps
d=2000 km
A B
Throughput = ?
1-7
Throughput vs Delay
L=5000 bits s=200,000 km/s
R = 1 Mbps
d=2000 km
A B
Throughput from A to B = ?
1-8
Throughput vs Delay
L=5000 bits s=200,000 km/s
R = 1 Mbps
d=2000 km
A B
1-9
Throughput vs Delay
Rs = 1 Mbps, R = 100 Mbps, Rc = 0.1 Mbps A
i.e. throughput from A to B = 0.1 Mbps
1-10
Throughput vs Delay