SlideShare a Scribd company logo
1 of 28
Chapter 1
Week 01
Introduction
Introduction
1-2
what’s the Internet?
Network edge:
 Access networks
Network core:
 Packet/Circuit switching,
 Internet structure
Network performance:
 Loss, Delay, Throughput
Overview
Introduction
1-3
INTERNET
Internet is a computer network that
interconnects hundreds of millions of
computing devices throughout the world.
Introduction
1-4
INTERNET APPLIANCES
IP picture frame
http://www.ceiva.com/
Web-enabled toaster +
weather forecaster
Internet phones
Internet
refrigerator
Slingbox: watch,
control cable TV remotely
Tweet-a-watt:
monitor energy use
Introduction
1-5
 millions of connected
computing devices:
 hosts = end systems
 running network apps
communication links
 fiber, copper,
radio, satellite
 transmission rate:
bandwidth
Packet switches:
forward packets (chunks
of data)
 routers and switches
wired
links
wireless
links
router
mobile network
global ISP
regional ISP
home
network
institutional
network
smartphone
PC
server
wireless
laptop
INTERNET : “nuts and bolts” view
Introduction
1-6
mobile network
global ISP
regional ISP
home
network
institutional
network
INTERNET : “nuts and bolts” view
 Internet: “network of networks”
 Interconnected ISPs
 protocols control sending,
receiving of msgs
 e.g., TCP, IP, HTTP, Skype,
802.11
 Internet standards
 RFC: Request for comments
 IETF: Internet Engineering Task
Force
Introduction
1-7
ACCESS NETWORKS
Q: How to connect end systems to
edge router?
 residential access nets
 institutional access networks
(school, company)
 mobile access networks
keep in mind:
 bandwidth (bits per second) of
access network?
 shared or dedicated?
Introduction
1-8
 shared wireless access network connects end system to router
 via base station aka “access point”
wireless LANs:
 within building (100 ft)
 802.11b/g (WiFi): 11, 54
Mbps transmission rate
wide-area wireless access
 provided by telco (cellular)
operator, 10’s km
 between 1 and 10 Mbps
 3G, 4G: LTE
to Internet
to Internet
Wireless access networks
Introduction
1-9
PACKET-SWITCHING: STORE-AND-FORWARD
 takes L/R seconds to
transmit (push out) L-bit
packet into link at R bps
 store and forward: entire
packet must arrive at
router before it can be
transmitted on next link
one-hop numerical
example:
 L = 7.5 Mbits
 R = 1.5 Mbps
 one-hop transmission
delay = 5 sec
source
R bps
destination
1
2
3
L bits
per packet
R bps
 End-end delay = N*L/R (assuming zero propagation delay)
Introduction
1-10
1-11
DELAY
host sending function:
 takes application message
 breaks into smaller
chunks, known as
packets, of length L bits
 transmits packet into
access network at
transmission rate R R: link transmission rate
host
1
2
two packets,
L bits each
Packet
transmission
delay
time needed to
transmit L-bit
packet into link
L (bits)
R (bits/sec)
= =
Introduction
1-12
PACKET SWITCHING: QUEUING DELAY, LOSS
A
B
C
R = 100 Mb/s
R = 1.5 Mb/s
D
E
queue of packets
waiting for output link
queuing and loss:
 If arrival rate (in bits) to link exceeds transmission rate
of link for a period of time:
 packets will queue, wait to be transmitted on link
 packets can be dropped (lost) if memory (buffer) fills
up
TRANSMISSION AND PROPAGATION DELAY
Propagation delay
between Host 1
and Switch1
Transmission delay
Host 1 Switc
h 1
1. Size of transfer
2. Bandwidth of link
1. Speed of light
2. Physical
distance
A B C
Transmission delay doubles
Brown packet waits for half the
trans. delay of blue packet
QUEUING DELAY
Network Layer 4-15
Two key network-core functions
forwarding: move packets
from router’s input to
appropriate router output
routing: determines source-
destination route taken by
packets
 routing algorithms
routing algorithm
local forwarding table
header value output link
0100
0101
0111
1001
3
2
2
1
1
2
3
dest address in arriving
packet’s header
Introduction
1-16
CIRCUIT SWITCHING
end-end resources allocated to,
reserved for “call” between
source & dest:
 In diagram, each link has four
circuits.
 call gets 2nd circuit in top link and
1st circuit in right link.
 dedicated resources: no sharing
 circuit-like (guaranteed)
performance
 circuit segment idle if not used
by call (no sharing)
 Commonly used in traditional
telephone networks
Introduction
1-17
Introduction
1-18
CIRCUIT SWITCHING: FDM VERSUS TDM
FDM
frequency
time
TDM
frequency
time
4 users
Example:
Introduction
1-19
PACKET SWITCHING VERSUS CIRCUIT SWITCHING
example:
 1 Mb/s link
 each user:
• 100 kb/s when “active”
• active 10% of time
circuit-switching:
 10 users
packet switching:
 with 35 users, probability >
10 active at same time is
less than .0004 *
packet switching allows more users to use network!
N
users
1 Mbps link
Q: how did we get value 0.0004?
Q: what happens if > 35 users ?
* Check out the online interactive exercises for more examples
Introduction
1-20
 great for bursty data
 resource sharing
 simpler, no call setup
 excessive congestion possible: packet delay and loss
 protocols needed for reliable data transfer, congestion control
 Q: How to provide circuit-like behavior?
 bandwidth guarantees needed for audio/video apps
Packet switching
PACKET SWITCHING VERSUS CIRCUIT SWITCHING
Introduction
1-21
HOW DO LOSS AND DELAY OCCUR?
packets queue in router buffers
 packet arrival rate to link (temporarily) exceeds output link
capacity
 packets queue, wait for turn
A
B
packet being transmitted (delay)
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Introduction
1-22
FOUR SOURCES OF PACKET DELAY
dproc: nodal processing
 check bit errors
 determine output link
 typically < msec
A
B
propagation
transmission
nodal
processing queueing
dqueue: queueing delay
 time waiting at output
link for transmission
 depends on congestion
level of router
dnodal = dproc + dqueue + dtrans + dprop
Introduction
1-23
dtrans: transmission delay:
 L: packet length (bits)
 R: link bandwidth (bps)
 dtrans = L/R
dprop: propagation delay:
 d: length of physical link
 s: propagation speed in medium
(~2x108 m/sec)
 dprop = d/s
dtrans and dprop
very different
propagation
nodal
processing queueing
dnodal = dproc + dqueue + dtrans + dprop
A
B
transmission
* Check out the Java applet for an interactive animation on trans vs. prop delay
FOUR SOURCES OF PACKET DELAY
Introduction
1-24
 R: link bandwidth (bps)
 L: packet length (bits)
 a: average packet arrival
rate
QUEUEING DELAY
traffic intensity
= La/R
 La/R ~ 0: avg. queueing delay small
 La/R -> 1: avg. queueing delay large
 La/R > 1: more “work” arriving
than can be serviced, average delay infinite!
average
queueing
delay
La/R ~ 0
La/R -> 1
* Check out the Java applet for an interactive animation on queuing and loss
Introduction
1-25
PACKET LOSS
 queue (buffer) preceding link in buffer has finite capacity
 packet arriving to full queue dropped (aka lost)
 lost packet may be retransmitted by previous node, by
source end system, or not at all
A
B
packet being transmitted
packet arriving to
full buffer is lost
buffer
(waiting area)
* Check out the Java applet for an interactive animation on queuing and loss
Introduction
1-26
THROUGHPUT
 throughput: rate (bits/time unit) at which bits
transferred between sender/receiver
 instantaneous: rate at given point in time
 average: rate over longer period of time
server, with
file of F bits
to send to client
link capacity
Rs bits/sec
link capacity
Rc bits/sec
server sends bits
(fluid) into pipe
pipe that can carry
fluid at rate
Rs bits/sec)
pipe that can carry
fluid at rate
Rc bits/sec)
Introduction
1-27
THROUGHPUT: INTERNET SCENARIO
 per-connection end-
end throughput:
min(Rc,Rs,R/10)
 in practice: Rc or Rs is
often bottleneck
10 connections (fairly) share
backbone bottleneck link R bits/sec
Rs
Rs
Rs
Rc
Rc
Rc
R
Introduction
1-28

More Related Content

Similar to Lec - 1_Chapter_1.ppt

Lecture 06 and 07.pptx
Lecture 06 and 07.pptxLecture 06 and 07.pptx
Lecture 06 and 07.pptxHanzlaNaveed1
 
Lec 2(intoduction of computer networkes)
Lec 2(intoduction of computer networkes)Lec 2(intoduction of computer networkes)
Lec 2(intoduction of computer networkes)maamir farooq
 
Chapter1 introduction
Chapter1 introductionChapter1 introduction
Chapter1 introductionKhánh Ghẻ
 
Sept 2017 introduction
Sept 2017   introductionSept 2017   introduction
Sept 2017 introductionshahin raj
 
3- Lec 3 - Packet-Circuit Switching.pptx
3-  Lec 3  - Packet-Circuit Switching.pptx3-  Lec 3  - Packet-Circuit Switching.pptx
3- Lec 3 - Packet-Circuit Switching.pptxShahdAbdElsamea2
 
Week 1B.pdf Networking introduction week 1
Week 1B.pdf Networking introduction week 1Week 1B.pdf Networking introduction week 1
Week 1B.pdf Networking introduction week 1whiz5
 
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.pptMahamKhurram4
 
Availability Computer Communication Network .pdf
Availability Computer Communication Network .pdfAvailability Computer Communication Network .pdf
Availability Computer Communication Network .pdfYashShirude1
 
Chapter_1_4_newversion.pptxkaksjjsjsjsjsjs
Chapter_1_4_newversion.pptxkaksjjsjsjsjsjsChapter_1_4_newversion.pptxkaksjjsjsjsjsjs
Chapter_1_4_newversion.pptxkaksjjsjsjsjsjsAgentNawab
 
Unit i packet switching networks
Unit i  packet switching networksUnit i  packet switching networks
Unit i packet switching networkssangusajjan
 
Lec 2 and_3
Lec 2 and_3Lec 2 and_3
Lec 2 and_3hz3012
 

Similar to Lec - 1_Chapter_1.ppt (20)

Lecture 06 and 07.pptx
Lecture 06 and 07.pptxLecture 06 and 07.pptx
Lecture 06 and 07.pptx
 
Week3.1
Week3.1Week3.1
Week3.1
 
Lec 2(intoduction of computer networkes)
Lec 2(intoduction of computer networkes)Lec 2(intoduction of computer networkes)
Lec 2(intoduction of computer networkes)
 
Chapter1 introduction
Chapter1 introductionChapter1 introduction
Chapter1 introduction
 
Sept 2017 introduction
Sept 2017   introductionSept 2017   introduction
Sept 2017 introduction
 
3- Lec 3 - Packet-Circuit Switching.pptx
3-  Lec 3  - Packet-Circuit Switching.pptx3-  Lec 3  - Packet-Circuit Switching.pptx
3- Lec 3 - Packet-Circuit Switching.pptx
 
1st Talk
1st Talk1st Talk
1st Talk
 
Lecture No. 1.ppt
Lecture No. 1.pptLecture No. 1.ppt
Lecture No. 1.ppt
 
Week 1B.pdf Networking introduction week 1
Week 1B.pdf Networking introduction week 1Week 1B.pdf Networking introduction week 1
Week 1B.pdf Networking introduction week 1
 
3rd edition chapter1
3rd edition chapter13rd edition chapter1
3rd edition chapter1
 
Chapter1
Chapter1Chapter1
Chapter1
 
Lecture set 1
Lecture set 1Lecture set 1
Lecture set 1
 
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
 
Availability Computer Communication Network .pdf
Availability Computer Communication Network .pdfAvailability Computer Communication Network .pdf
Availability Computer Communication Network .pdf
 
VOIP QOS
VOIP QOSVOIP QOS
VOIP QOS
 
Chapter_1_4_newversion.pptxkaksjjsjsjsjsjs
Chapter_1_4_newversion.pptxkaksjjsjsjsjsjsChapter_1_4_newversion.pptxkaksjjsjsjsjsjs
Chapter_1_4_newversion.pptxkaksjjsjsjsjsjs
 
Unit i packet switching networks
Unit i  packet switching networksUnit i  packet switching networks
Unit i packet switching networks
 
network devices, types of delay
network devices, types of delaynetwork devices, types of delay
network devices, types of delay
 
Lec 2 and_3
Lec 2 and_3Lec 2 and_3
Lec 2 and_3
 
Dcn lecture 3
Dcn lecture 3Dcn lecture 3
Dcn lecture 3
 

Recently uploaded

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Lec - 1_Chapter_1.ppt

  • 2. Introduction 1-2 what’s the Internet? Network edge:  Access networks Network core:  Packet/Circuit switching,  Internet structure Network performance:  Loss, Delay, Throughput Overview
  • 3. Introduction 1-3 INTERNET Internet is a computer network that interconnects hundreds of millions of computing devices throughout the world.
  • 4. Introduction 1-4 INTERNET APPLIANCES IP picture frame http://www.ceiva.com/ Web-enabled toaster + weather forecaster Internet phones Internet refrigerator Slingbox: watch, control cable TV remotely Tweet-a-watt: monitor energy use
  • 5. Introduction 1-5  millions of connected computing devices:  hosts = end systems  running network apps communication links  fiber, copper, radio, satellite  transmission rate: bandwidth Packet switches: forward packets (chunks of data)  routers and switches wired links wireless links router mobile network global ISP regional ISP home network institutional network smartphone PC server wireless laptop INTERNET : “nuts and bolts” view
  • 6. Introduction 1-6 mobile network global ISP regional ISP home network institutional network INTERNET : “nuts and bolts” view  Internet: “network of networks”  Interconnected ISPs  protocols control sending, receiving of msgs  e.g., TCP, IP, HTTP, Skype, 802.11  Internet standards  RFC: Request for comments  IETF: Internet Engineering Task Force
  • 7. Introduction 1-7 ACCESS NETWORKS Q: How to connect end systems to edge router?  residential access nets  institutional access networks (school, company)  mobile access networks keep in mind:  bandwidth (bits per second) of access network?  shared or dedicated?
  • 8. Introduction 1-8  shared wireless access network connects end system to router  via base station aka “access point” wireless LANs:  within building (100 ft)  802.11b/g (WiFi): 11, 54 Mbps transmission rate wide-area wireless access  provided by telco (cellular) operator, 10’s km  between 1 and 10 Mbps  3G, 4G: LTE to Internet to Internet Wireless access networks
  • 9. Introduction 1-9 PACKET-SWITCHING: STORE-AND-FORWARD  takes L/R seconds to transmit (push out) L-bit packet into link at R bps  store and forward: entire packet must arrive at router before it can be transmitted on next link one-hop numerical example:  L = 7.5 Mbits  R = 1.5 Mbps  one-hop transmission delay = 5 sec source R bps destination 1 2 3 L bits per packet R bps  End-end delay = N*L/R (assuming zero propagation delay)
  • 11. 1-11 DELAY host sending function:  takes application message  breaks into smaller chunks, known as packets, of length L bits  transmits packet into access network at transmission rate R R: link transmission rate host 1 2 two packets, L bits each Packet transmission delay time needed to transmit L-bit packet into link L (bits) R (bits/sec) = =
  • 12. Introduction 1-12 PACKET SWITCHING: QUEUING DELAY, LOSS A B C R = 100 Mb/s R = 1.5 Mb/s D E queue of packets waiting for output link queuing and loss:  If arrival rate (in bits) to link exceeds transmission rate of link for a period of time:  packets will queue, wait to be transmitted on link  packets can be dropped (lost) if memory (buffer) fills up
  • 13. TRANSMISSION AND PROPAGATION DELAY Propagation delay between Host 1 and Switch1 Transmission delay Host 1 Switc h 1 1. Size of transfer 2. Bandwidth of link 1. Speed of light 2. Physical distance
  • 14. A B C Transmission delay doubles Brown packet waits for half the trans. delay of blue packet QUEUING DELAY
  • 15. Network Layer 4-15 Two key network-core functions forwarding: move packets from router’s input to appropriate router output routing: determines source- destination route taken by packets  routing algorithms routing algorithm local forwarding table header value output link 0100 0101 0111 1001 3 2 2 1 1 2 3 dest address in arriving packet’s header
  • 16. Introduction 1-16 CIRCUIT SWITCHING end-end resources allocated to, reserved for “call” between source & dest:  In diagram, each link has four circuits.  call gets 2nd circuit in top link and 1st circuit in right link.  dedicated resources: no sharing  circuit-like (guaranteed) performance  circuit segment idle if not used by call (no sharing)  Commonly used in traditional telephone networks
  • 18. Introduction 1-18 CIRCUIT SWITCHING: FDM VERSUS TDM FDM frequency time TDM frequency time 4 users Example:
  • 19. Introduction 1-19 PACKET SWITCHING VERSUS CIRCUIT SWITCHING example:  1 Mb/s link  each user: • 100 kb/s when “active” • active 10% of time circuit-switching:  10 users packet switching:  with 35 users, probability > 10 active at same time is less than .0004 * packet switching allows more users to use network! N users 1 Mbps link Q: how did we get value 0.0004? Q: what happens if > 35 users ? * Check out the online interactive exercises for more examples
  • 20. Introduction 1-20  great for bursty data  resource sharing  simpler, no call setup  excessive congestion possible: packet delay and loss  protocols needed for reliable data transfer, congestion control  Q: How to provide circuit-like behavior?  bandwidth guarantees needed for audio/video apps Packet switching PACKET SWITCHING VERSUS CIRCUIT SWITCHING
  • 21. Introduction 1-21 HOW DO LOSS AND DELAY OCCUR? packets queue in router buffers  packet arrival rate to link (temporarily) exceeds output link capacity  packets queue, wait for turn A B packet being transmitted (delay) packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers
  • 22. Introduction 1-22 FOUR SOURCES OF PACKET DELAY dproc: nodal processing  check bit errors  determine output link  typically < msec A B propagation transmission nodal processing queueing dqueue: queueing delay  time waiting at output link for transmission  depends on congestion level of router dnodal = dproc + dqueue + dtrans + dprop
  • 23. Introduction 1-23 dtrans: transmission delay:  L: packet length (bits)  R: link bandwidth (bps)  dtrans = L/R dprop: propagation delay:  d: length of physical link  s: propagation speed in medium (~2x108 m/sec)  dprop = d/s dtrans and dprop very different propagation nodal processing queueing dnodal = dproc + dqueue + dtrans + dprop A B transmission * Check out the Java applet for an interactive animation on trans vs. prop delay FOUR SOURCES OF PACKET DELAY
  • 24. Introduction 1-24  R: link bandwidth (bps)  L: packet length (bits)  a: average packet arrival rate QUEUEING DELAY traffic intensity = La/R  La/R ~ 0: avg. queueing delay small  La/R -> 1: avg. queueing delay large  La/R > 1: more “work” arriving than can be serviced, average delay infinite! average queueing delay La/R ~ 0 La/R -> 1 * Check out the Java applet for an interactive animation on queuing and loss
  • 25. Introduction 1-25 PACKET LOSS  queue (buffer) preceding link in buffer has finite capacity  packet arriving to full queue dropped (aka lost)  lost packet may be retransmitted by previous node, by source end system, or not at all A B packet being transmitted packet arriving to full buffer is lost buffer (waiting area) * Check out the Java applet for an interactive animation on queuing and loss
  • 26. Introduction 1-26 THROUGHPUT  throughput: rate (bits/time unit) at which bits transferred between sender/receiver  instantaneous: rate at given point in time  average: rate over longer period of time server, with file of F bits to send to client link capacity Rs bits/sec link capacity Rc bits/sec server sends bits (fluid) into pipe pipe that can carry fluid at rate Rs bits/sec) pipe that can carry fluid at rate Rc bits/sec)
  • 27. Introduction 1-27 THROUGHPUT: INTERNET SCENARIO  per-connection end- end throughput: min(Rc,Rs,R/10)  in practice: Rc or Rs is often bottleneck 10 connections (fairly) share backbone bottleneck link R bits/sec Rs Rs Rs Rc Rc Rc R