SlideShare a Scribd company logo
Fundamentals of Computer Networks
ECE 478/578
Network Performance Metrics
Bandwidth
Amount of data transmitted per unit of time; per link, or end-to-end
Units 1KB = 210 bytes, 1Mbps = 106 bits per sec
How many KB/sec is a 1Mbps line? How many MB/sec?
Throughput
Data rate delivered by the a link, connection or network
Per link or end-to-end, same units as Bandwidth
2
Latency or Delay
Time for sending data from host A to B (in sec, msec, or μsec)
Per link or end-to-end
Usually consists of
Tt: Transmission delay
Tp: Propagation delay
Tq: Queuing delay
Round Trip Time (RTT) : time to send a message from A to B and
back
Important for flow control mechanisms
3
Delay Calculation
Tt : Transmission Delay: file size/bandwidth
Tp : Propagation Delay: time needed for signal to travel the medium,
Distance / speed of medium
Tq: Queuing Delay: time waiting in router’s buffer
A B
C
R
d1 d2
4
Example: Problem 1.6 from Book
Transfer 1,5 MB file, assuming RTT of 80 ms, a packet size of 1-KB
and an initial “handshake” of 2xRTT
Bandwidth is 10 Mbps and data packets can be sent continuously
5
RTT
. . .
Tt
Tp
RTT = 80 ms
Tt = 1024x8 bits/107 bits/s = 0.8192 ms
Tp = 40 ms
# of packets = 1536 (1.5 x 1024)
D = 2xRTT + 1536xTt + Tp
= 160 + 1258.29 + 40 ms
= 1.458 s
request
reply
confirm
Ack
A B
t
Example: Problem 1.6 from Book
Transfer 1,5 MB file, assuming RTT of 80 ms, a packet size of 1-KB
and an initial “handshake” of 2xRTT
After sending each packet must wait one RTT
6
RTT
. . .
Tt
RTT = 80 ms
Tt = 1024x8 bits/107 bits/s = 0.8192 ms
Tp = 40 ms
# of packets = 1536 (1.5 x 1024)
D = 2xRTT + 1535x(Tt +RTT)+ Tt+Tp
= 160 + 124,057 + 0.8192 + 40 ms
= 124.258 s
request
reply
confirm
Ack
A B
t
RTT
Example: Problem 1.6 from Book
Transfer 1,5 MB file, assuming RTT of 80 ms, a packet size of 1-KB
and an initial “handshake” of 2xRTT
Only 20 packets can be send per RTT, but infinitely fast
7
RTT
. . .
RTT = 80 ms
Tt = 0 ms
Tp = 40 ms
# of packets = 1536 (1.5 x 1024)
D = 2xRTT + 76xRTT + Tp
= 160 + 6080 + 40 ms
= 6.28 s
request
reply
confirm
Ack
A B
t
RTT
Example: Problem 1.6 from Book
Transfer 1,5 MB file, assuming RTT of 80 ms, a packet size of 1-KB
and an initial “handshake” of 2xRTT
1st RTT one packet, 2 RTT two packets … Infinite transmission rate
8
RTT
. . .
RTT = 80 ms
Tt = 0 ms
Tp = 40 ms
# of packets = 1536 (1.5 x 1024)
# of waits (1+2+…2n = 2n+1 -1)
211 -1 =2047 packets, n = 10
D = 2xRTT + 10xRTT + Tp
= 160 + 800 + 40 ms
= 1 s
request
reply
confirm
Ack
A B
t
RTT
Latency vs. Bandwidth
Importance depends on application
1 byte file, 1ms/1Mbps vs. 100ms/100Mbps
1 ms + 8μs = 1.008ms,
100ms + 0.08μs =100 ms.
1GB file, 1ms/1Mbps vs. 100ms/100Mbps
1ms + 10243 x 8 /106 = 2.38h + 1ms,
100ms + 85 s
9
Bandwidth x Delay Product
The amount of data (bits or bytes) “in the pipe”
Example: 100Mbps x 10ms = 1 Mbit
The amount of data sent before first bit arrives
Usually use RTT as delay: amount of data before a reply from a
receiver arrives to the sender
10
High-Speed Networks
Link Type Bandwidth Distance RTT Delay x BW
Dial-up 56 kbps 10 km 87 μs 5 bits
Wireless LAN 54 Mbps 50 m 0.33 μs 18 bits
Satellite link 45 Mbps 35,000 km 230 ms 10 Mb
Cross-country
fiber
10 Gbps 4,000 km 40 ms 400 Mb
11
Infinite bandwidth
Propagation delay dominates
Throughput = Transfer size/Transfer time
Transfer time = RTT + Transfer size/Bandwidth
1MB file across 1Gbps line with 100ms RTT, Throughput is 74.1 Mbps
Computing Application Bandwidth
12
FTP can utilize entire BW available
Video-on-demand may specify upper limit (only what’s needed)
Example: res: 352x240 pixels, 24-bit color, 30 fps
Each frame is (352 x 240 x 24)/8 =247.5 KB
Total required BW = 352 x 240 x 24 x 30 = 60.8 Mbps
Network Jitter
Variability in the delay between packets
Video-on-demand application: If jitter is known, application can decide
how much buffering is needed
Example: jitter is 50ms per frame and 10s video at 30fps must be
transmitted.
If Y frames buffered, video can play uninterrupted for Y x 1/30s.
The last frame will arrive 50 x (10 x 30 – Y) ms after video start, worst
case
Y/30 = 50 x (300 – Y)  Y = 180 frames
13
Example: Problem 1.19 from Book
1 – Gbps Ethernet with a s-a-f switch in the path and a packet size of
5,000 bits. Tp = 10 μs, switch transmits immediately after reception
14
1st bit: time 0
A S
t
B
Last bit: 5μs
Tp
Last bit rec: 15μs
Last bit sent: 20μs
Last bit rec: 30μs
Example: Problem 1.19 from Book
1 – Gbps Ethernet with a s-a-f switch in the path and a packet size of
5,000 bits. Tp = 10 μs, 3 switches in between A and B
4 links equal to 4 Tp delay
4 transmissions equal to 4 Tt delay
Total: 4Tp + 4Tt = 60 μs
Three switches, each transmits after 128 bits are received
Total: 4Tp + Tt + 3x128/109 = 40μs + 5μs + 0.384μs = 45.384μs
15

More Related Content

What's hot

104623 time division multiplexing (transmitter, receiver,commutator)
104623 time  division multiplexing (transmitter, receiver,commutator)104623 time  division multiplexing (transmitter, receiver,commutator)
104623 time division multiplexing (transmitter, receiver,commutator)
Devyani Gera
 
Cubic
CubicCubic
Cubic
deawoo Kim
 
Circuit Switching & Packet Switching
Circuit Switching & Packet SwitchingCircuit Switching & Packet Switching
Circuit Switching & Packet Switching
rachanabuch
 
Header compression and multiplexing in LISP
Header compression and multiplexing in LISPHeader compression and multiplexing in LISP
Header compression and multiplexing in LISP
Jose Saldana
 
Chapter 6 bandwidth utilization -multiplexing and spreading_computer_network
Chapter 6   bandwidth utilization -multiplexing and spreading_computer_networkChapter 6   bandwidth utilization -multiplexing and spreading_computer_network
Chapter 6 bandwidth utilization -multiplexing and spreading_computer_network
Dhairya Joshi
 
Lecture-6 Data Communication ~www.fida.com.bd
Lecture-6 Data Communication ~www.fida.com.bdLecture-6 Data Communication ~www.fida.com.bd
Lecture-6 Data Communication ~www.fida.com.bd
QUT (Queensland University of Technology)
 
Tcp congestion control
Tcp congestion controlTcp congestion control
Tcp congestion control
Abdo sayed
 
TCP Congestion Control
TCP Congestion ControlTCP Congestion Control
TCP Congestion Control
Michail Grigoropoulos
 
Simplemux traffic optimization
Simplemux traffic optimizationSimplemux traffic optimization
Simplemux traffic optimization
Jose Saldana
 
TCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
TCP-FIT: An Improved TCP Congestion Control Algorithm and its PerformanceTCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
TCP-FIT: An Improved TCP Congestion Control Algorithm and its PerformanceKevin Tong
 
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Waqas Afzal
 
Ch06
Ch06Ch06
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion control
Shubham Jain
 
Congestion control in tcp
Congestion control in tcpCongestion control in tcp
Congestion control in tcp
samarai_apoc
 
Congestion control avoidance
Congestion control avoidanceCongestion control avoidance
Congestion control avoidance
Anthony-Claret Onwutalobi
 
Analysis of TCP variants
Analysis of TCP variantsAnalysis of TCP variants

What's hot (20)

104623 time division multiplexing (transmitter, receiver,commutator)
104623 time  division multiplexing (transmitter, receiver,commutator)104623 time  division multiplexing (transmitter, receiver,commutator)
104623 time division multiplexing (transmitter, receiver,commutator)
 
TCP Westwood
TCP WestwoodTCP Westwood
TCP Westwood
 
Cubic
CubicCubic
Cubic
 
Circuit Switching & Packet Switching
Circuit Switching & Packet SwitchingCircuit Switching & Packet Switching
Circuit Switching & Packet Switching
 
Week3.1
Week3.1Week3.1
Week3.1
 
Header compression and multiplexing in LISP
Header compression and multiplexing in LISPHeader compression and multiplexing in LISP
Header compression and multiplexing in LISP
 
Chapter 6 bandwidth utilization -multiplexing and spreading_computer_network
Chapter 6   bandwidth utilization -multiplexing and spreading_computer_networkChapter 6   bandwidth utilization -multiplexing and spreading_computer_network
Chapter 6 bandwidth utilization -multiplexing and spreading_computer_network
 
Ch06
Ch06Ch06
Ch06
 
Lecture-6 Data Communication ~www.fida.com.bd
Lecture-6 Data Communication ~www.fida.com.bdLecture-6 Data Communication ~www.fida.com.bd
Lecture-6 Data Communication ~www.fida.com.bd
 
Tcp congestion control
Tcp congestion controlTcp congestion control
Tcp congestion control
 
TCP Congestion Control
TCP Congestion ControlTCP Congestion Control
TCP Congestion Control
 
Simplemux traffic optimization
Simplemux traffic optimizationSimplemux traffic optimization
Simplemux traffic optimization
 
Tdm fdm
Tdm fdmTdm fdm
Tdm fdm
 
TCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
TCP-FIT: An Improved TCP Congestion Control Algorithm and its PerformanceTCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
TCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
 
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
 
Ch06
Ch06Ch06
Ch06
 
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion control
 
Congestion control in tcp
Congestion control in tcpCongestion control in tcp
Congestion control in tcp
 
Congestion control avoidance
Congestion control avoidanceCongestion control avoidance
Congestion control avoidance
 
Analysis of TCP variants
Analysis of TCP variantsAnalysis of TCP variants
Analysis of TCP variants
 

Similar to Fundamental of computer network

Unit_I - 3
Unit_I - 3Unit_I - 3
Availability Computer Communication Network .pdf
Availability Computer Communication Network .pdfAvailability Computer Communication Network .pdf
Availability Computer Communication Network .pdf
YashShirude1
 
Switching Problems.pdf
Switching Problems.pdfSwitching Problems.pdf
Switching Problems.pdf
Senthil Vit
 
Transmission
TransmissionTransmission
Transmissionmrhaken
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission FundamentalsAisu
 
Lec 4 and_5
Lec 4 and_5Lec 4 and_5
Lec 4 and_5
hz3012
 
Networks-part10-Multiplexing-RcthfxgP-1.pptx
Networks-part10-Multiplexing-RcthfxgP-1.pptxNetworks-part10-Multiplexing-RcthfxgP-1.pptx
Networks-part10-Multiplexing-RcthfxgP-1.pptx
VijayKaran7
 
Basic Optical Fiber Working
Basic Optical Fiber WorkingBasic Optical Fiber Working
Basic Optical Fiber Working
mahipal9
 
Ethernet
EthernetEthernet
How PSTN phone works?
How PSTN phone works?How PSTN phone works?
How PSTN phone works?
mahipal9
 
Data and signals
Data and signalsData and signals
Data and signals
HamzahMohammed4
 
Data transfer experiments over 100G paths
Data transfer experiments over 100G pathsData transfer experiments over 100G paths
Data transfer experiments over 100G paths
Jisc
 
lec 3 4 Core Delays Thruput Net Arch.ppt
lec 3 4 Core Delays Thruput Net Arch.pptlec 3 4 Core Delays Thruput Net Arch.ppt
lec 3 4 Core Delays Thruput Net Arch.ppt
MahamKhurram4
 
Razin Kabir (063452556)
Razin Kabir (063452556)Razin Kabir (063452556)
Razin Kabir (063452556)mashiur
 
Assignment cn tl
Assignment cn tlAssignment cn tl
Assignment cn tlH K
 
Ch3 3 Data communication and networking
Ch3 3  Data communication and networking Ch3 3  Data communication and networking
Ch3 3 Data communication and networking
Neha Kurale
 
chapter four circuit switching communication
chapter four circuit switching communicationchapter four circuit switching communication
chapter four circuit switching communication
GeletaAman
 
Unit 4 bandwidth utilization
Unit 4 bandwidth utilizationUnit 4 bandwidth utilization
Unit 4 bandwidth utilization
Anjuman College of Engg. & Tech.
 
6 Ethernet
6 Ethernet6 Ethernet
6 Ethernet
Ram Dutt Shukla
 
TCM-TF 2014
TCM-TF 2014TCM-TF 2014
TCM-TF 2014
Jose Saldana
 

Similar to Fundamental of computer network (20)

Unit_I - 3
Unit_I - 3Unit_I - 3
Unit_I - 3
 
Availability Computer Communication Network .pdf
Availability Computer Communication Network .pdfAvailability Computer Communication Network .pdf
Availability Computer Communication Network .pdf
 
Switching Problems.pdf
Switching Problems.pdfSwitching Problems.pdf
Switching Problems.pdf
 
Transmission
TransmissionTransmission
Transmission
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
 
Lec 4 and_5
Lec 4 and_5Lec 4 and_5
Lec 4 and_5
 
Networks-part10-Multiplexing-RcthfxgP-1.pptx
Networks-part10-Multiplexing-RcthfxgP-1.pptxNetworks-part10-Multiplexing-RcthfxgP-1.pptx
Networks-part10-Multiplexing-RcthfxgP-1.pptx
 
Basic Optical Fiber Working
Basic Optical Fiber WorkingBasic Optical Fiber Working
Basic Optical Fiber Working
 
Ethernet
EthernetEthernet
Ethernet
 
How PSTN phone works?
How PSTN phone works?How PSTN phone works?
How PSTN phone works?
 
Data and signals
Data and signalsData and signals
Data and signals
 
Data transfer experiments over 100G paths
Data transfer experiments over 100G pathsData transfer experiments over 100G paths
Data transfer experiments over 100G paths
 
lec 3 4 Core Delays Thruput Net Arch.ppt
lec 3 4 Core Delays Thruput Net Arch.pptlec 3 4 Core Delays Thruput Net Arch.ppt
lec 3 4 Core Delays Thruput Net Arch.ppt
 
Razin Kabir (063452556)
Razin Kabir (063452556)Razin Kabir (063452556)
Razin Kabir (063452556)
 
Assignment cn tl
Assignment cn tlAssignment cn tl
Assignment cn tl
 
Ch3 3 Data communication and networking
Ch3 3  Data communication and networking Ch3 3  Data communication and networking
Ch3 3 Data communication and networking
 
chapter four circuit switching communication
chapter four circuit switching communicationchapter four circuit switching communication
chapter four circuit switching communication
 
Unit 4 bandwidth utilization
Unit 4 bandwidth utilizationUnit 4 bandwidth utilization
Unit 4 bandwidth utilization
 
6 Ethernet
6 Ethernet6 Ethernet
6 Ethernet
 
TCM-TF 2014
TCM-TF 2014TCM-TF 2014
TCM-TF 2014
 

More from pavanRaikar3

छत्रपती संभाजी महाराज
छत्रपती संभाजी महाराजछत्रपती संभाजी महाराज
छत्रपती संभाजी महाराज
pavanRaikar3
 
Basic mechanical-engineering
Basic mechanical-engineeringBasic mechanical-engineering
Basic mechanical-engineering
pavanRaikar3
 
Sindhudurg Fort
Sindhudurg FortSindhudurg Fort
Sindhudurg Fort
pavanRaikar3
 
Introduction to CAD/CAE/CAM
Introduction to CAD/CAE/CAMIntroduction to CAD/CAE/CAM
Introduction to CAD/CAE/CAM
pavanRaikar3
 
Introduction to CAD
Introduction to CADIntroduction to CAD
Introduction to CAD
pavanRaikar3
 
Design process
Design processDesign process
Design process
pavanRaikar3
 

More from pavanRaikar3 (6)

छत्रपती संभाजी महाराज
छत्रपती संभाजी महाराजछत्रपती संभाजी महाराज
छत्रपती संभाजी महाराज
 
Basic mechanical-engineering
Basic mechanical-engineeringBasic mechanical-engineering
Basic mechanical-engineering
 
Sindhudurg Fort
Sindhudurg FortSindhudurg Fort
Sindhudurg Fort
 
Introduction to CAD/CAE/CAM
Introduction to CAD/CAE/CAMIntroduction to CAD/CAE/CAM
Introduction to CAD/CAE/CAM
 
Introduction to CAD
Introduction to CADIntroduction to CAD
Introduction to CAD
 
Design process
Design processDesign process
Design process
 

Recently uploaded

"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
MERN Stack Developer Roadmap By ScholarHat PDF
MERN Stack Developer Roadmap By ScholarHat PDFMERN Stack Developer Roadmap By ScholarHat PDF
MERN Stack Developer Roadmap By ScholarHat PDF
scholarhattraining
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
christianmathematics
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
ArianaBusciglio
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Fresher’s Quiz 2023 at GMC Nizamabad.pptx
Fresher’s Quiz 2023 at GMC Nizamabad.pptxFresher’s Quiz 2023 at GMC Nizamabad.pptx
Fresher’s Quiz 2023 at GMC Nizamabad.pptx
SriSurya50
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
datarid22
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 

Recently uploaded (20)

"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
MERN Stack Developer Roadmap By ScholarHat PDF
MERN Stack Developer Roadmap By ScholarHat PDFMERN Stack Developer Roadmap By ScholarHat PDF
MERN Stack Developer Roadmap By ScholarHat PDF
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Fresher’s Quiz 2023 at GMC Nizamabad.pptx
Fresher’s Quiz 2023 at GMC Nizamabad.pptxFresher’s Quiz 2023 at GMC Nizamabad.pptx
Fresher’s Quiz 2023 at GMC Nizamabad.pptx
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 

Fundamental of computer network

  • 1. Fundamentals of Computer Networks ECE 478/578
  • 2. Network Performance Metrics Bandwidth Amount of data transmitted per unit of time; per link, or end-to-end Units 1KB = 210 bytes, 1Mbps = 106 bits per sec How many KB/sec is a 1Mbps line? How many MB/sec? Throughput Data rate delivered by the a link, connection or network Per link or end-to-end, same units as Bandwidth 2
  • 3. Latency or Delay Time for sending data from host A to B (in sec, msec, or μsec) Per link or end-to-end Usually consists of Tt: Transmission delay Tp: Propagation delay Tq: Queuing delay Round Trip Time (RTT) : time to send a message from A to B and back Important for flow control mechanisms 3
  • 4. Delay Calculation Tt : Transmission Delay: file size/bandwidth Tp : Propagation Delay: time needed for signal to travel the medium, Distance / speed of medium Tq: Queuing Delay: time waiting in router’s buffer A B C R d1 d2 4
  • 5. Example: Problem 1.6 from Book Transfer 1,5 MB file, assuming RTT of 80 ms, a packet size of 1-KB and an initial “handshake” of 2xRTT Bandwidth is 10 Mbps and data packets can be sent continuously 5 RTT . . . Tt Tp RTT = 80 ms Tt = 1024x8 bits/107 bits/s = 0.8192 ms Tp = 40 ms # of packets = 1536 (1.5 x 1024) D = 2xRTT + 1536xTt + Tp = 160 + 1258.29 + 40 ms = 1.458 s request reply confirm Ack A B t
  • 6. Example: Problem 1.6 from Book Transfer 1,5 MB file, assuming RTT of 80 ms, a packet size of 1-KB and an initial “handshake” of 2xRTT After sending each packet must wait one RTT 6 RTT . . . Tt RTT = 80 ms Tt = 1024x8 bits/107 bits/s = 0.8192 ms Tp = 40 ms # of packets = 1536 (1.5 x 1024) D = 2xRTT + 1535x(Tt +RTT)+ Tt+Tp = 160 + 124,057 + 0.8192 + 40 ms = 124.258 s request reply confirm Ack A B t RTT
  • 7. Example: Problem 1.6 from Book Transfer 1,5 MB file, assuming RTT of 80 ms, a packet size of 1-KB and an initial “handshake” of 2xRTT Only 20 packets can be send per RTT, but infinitely fast 7 RTT . . . RTT = 80 ms Tt = 0 ms Tp = 40 ms # of packets = 1536 (1.5 x 1024) D = 2xRTT + 76xRTT + Tp = 160 + 6080 + 40 ms = 6.28 s request reply confirm Ack A B t RTT
  • 8. Example: Problem 1.6 from Book Transfer 1,5 MB file, assuming RTT of 80 ms, a packet size of 1-KB and an initial “handshake” of 2xRTT 1st RTT one packet, 2 RTT two packets … Infinite transmission rate 8 RTT . . . RTT = 80 ms Tt = 0 ms Tp = 40 ms # of packets = 1536 (1.5 x 1024) # of waits (1+2+…2n = 2n+1 -1) 211 -1 =2047 packets, n = 10 D = 2xRTT + 10xRTT + Tp = 160 + 800 + 40 ms = 1 s request reply confirm Ack A B t RTT
  • 9. Latency vs. Bandwidth Importance depends on application 1 byte file, 1ms/1Mbps vs. 100ms/100Mbps 1 ms + 8μs = 1.008ms, 100ms + 0.08μs =100 ms. 1GB file, 1ms/1Mbps vs. 100ms/100Mbps 1ms + 10243 x 8 /106 = 2.38h + 1ms, 100ms + 85 s 9
  • 10. Bandwidth x Delay Product The amount of data (bits or bytes) “in the pipe” Example: 100Mbps x 10ms = 1 Mbit The amount of data sent before first bit arrives Usually use RTT as delay: amount of data before a reply from a receiver arrives to the sender 10
  • 11. High-Speed Networks Link Type Bandwidth Distance RTT Delay x BW Dial-up 56 kbps 10 km 87 μs 5 bits Wireless LAN 54 Mbps 50 m 0.33 μs 18 bits Satellite link 45 Mbps 35,000 km 230 ms 10 Mb Cross-country fiber 10 Gbps 4,000 km 40 ms 400 Mb 11 Infinite bandwidth Propagation delay dominates Throughput = Transfer size/Transfer time Transfer time = RTT + Transfer size/Bandwidth 1MB file across 1Gbps line with 100ms RTT, Throughput is 74.1 Mbps
  • 12. Computing Application Bandwidth 12 FTP can utilize entire BW available Video-on-demand may specify upper limit (only what’s needed) Example: res: 352x240 pixels, 24-bit color, 30 fps Each frame is (352 x 240 x 24)/8 =247.5 KB Total required BW = 352 x 240 x 24 x 30 = 60.8 Mbps
  • 13. Network Jitter Variability in the delay between packets Video-on-demand application: If jitter is known, application can decide how much buffering is needed Example: jitter is 50ms per frame and 10s video at 30fps must be transmitted. If Y frames buffered, video can play uninterrupted for Y x 1/30s. The last frame will arrive 50 x (10 x 30 – Y) ms after video start, worst case Y/30 = 50 x (300 – Y)  Y = 180 frames 13
  • 14. Example: Problem 1.19 from Book 1 – Gbps Ethernet with a s-a-f switch in the path and a packet size of 5,000 bits. Tp = 10 μs, switch transmits immediately after reception 14 1st bit: time 0 A S t B Last bit: 5μs Tp Last bit rec: 15μs Last bit sent: 20μs Last bit rec: 30μs
  • 15. Example: Problem 1.19 from Book 1 – Gbps Ethernet with a s-a-f switch in the path and a packet size of 5,000 bits. Tp = 10 μs, 3 switches in between A and B 4 links equal to 4 Tp delay 4 transmissions equal to 4 Tt delay Total: 4Tp + 4Tt = 60 μs Three switches, each transmits after 128 bits are received Total: 4Tp + Tt + 3x128/109 = 40μs + 5μs + 0.384μs = 45.384μs 15