SlideShare a Scribd company logo
Lecture 3
Abdul Hanan
• Two fundamental approaches to moving data
through a network of links and switches:
circuit switching and packet switching.
The network core
• In circuit-switched networks, the resources
needed along a path (buffers, link
transmission rate) to provide for
communication between the end systems are
reserved for the duration of the
communication session between the end-
systems.
The network core
• In packet-switched networks,
these resources are not reserved; a session 's
messages use the resources on demand,
and as a consequence, may have to wait (that
is, queue) for access to a communication link.
The network core
• In this network, the four circuit
switches are interconnected
by four links.
• Each of these links has n
circuits, so that each link can
support n simultaneous
connections
• The hosts (for example, PCs
and workstations) are each
directly connected to one of
the switches.
• When two hosts want to
communicate, the network
establishes a dedicated end-
to-end connection between
the two hosts.
Circuit Switching
• Thus, in order for Host A to send messages to
Host B, the network must first reserve one
circuit on each of two links.
• Because each link has n circuits, for each link
used by the end-to-end connection,
the connection gets a fraction 1/n of the link's
bandwidth for the duration of the connection
Circuit Switching
• With FDM, the frequency spectrum of a link is
divided up among the connections established
across the link. Specifically, the link dedicates a
frequency band to each connection for the
duration of the connection.
• In telephone networks, this frequency band
typically has a width of 4 kHz (that is, 4,000 hertz
or 4,000 cycles per second).
Circuit Switching
• For a TDM link, time is divided into frames of
fixed duration, and each frame is divided into a
fixed number of time slots . When the network
establishes a connection across a link, the
network dedicates one time slot in every frame to
this connection. These slots are dedicated for the
sole use of that connection, with one time slot
available for use (in every frame ) to transmit the
connection's data.
Circuit Switching
Circuit switching: FDM versus TDM
FDM
frequency
time
TDM
frequency
time
4 users
Example:
• In modern computer networks, the source breaks
long messages into smaller chunks of data known
as packets.
• Between source and destination, each of these
packets travels through communication links and
packet switches
Packet Switching
• mesh of interconnected
routers
• packet-switching: hosts
break application-layer
messages into packets
– forward packets from
one router to the next,
across links on path
from source to
destination
– each packet transmitted
at full link capacity
Packet Switching
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
more on delay shortly …
source
R bps
destination
123
L bits
per packet
R bps
 end-end delay = 2L/R
(assuming
Packet Switching: queueing delay, loss
A
B
CR = 100 Mb/s
R = 1.5 Mb/s
D
Equeue 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
Packet Switching
A
B
CR = 100 Mb/s
R = 1.5 Mb/s
D
Equeue of packets
waiting for output link
If the arrival rate of packets to the switch exceeds the rate at which the switch
can forward packets across the 1.5 Mbps output link, congestion will occur as
packets queue in the link' s output buffer before being transmitted onto the link.
Packet switching versus circuit switching
• packet switching is not suitable for real-time services (for
example, telephone calls and video conference calls)
because of its variable and unpredictable end-to-end delays
(due primarily to variable and unpredictable queuing delays)
• Proponents of packet switching argue that
(I) it offers better sharing of bandwidth than circuit switching
and (2) it is simpler, more efficient, and less costly to
implement than circuit switching.
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
– resource sharing
– simpler, no call setup
• excessive congestion possible: packet delay and loss
– protocols needed for reliable data transfer,
congestion control
is packet switching a “slam dunk winner?”
Packet switching versus circuit
switching
Four sources of packet delay
• router A has an outbound link leading to router B .
• This link is preceded by a queue (also known as a buffer) .
• When the packet arrives at route A from the upstream
node, router A examines the packet' s header to
determine the appropriate outbound link for the packet
and then directs the packet to this link.
Four sources of packet delay
The most important of these delays are the nodal processing delay,
queuing delay, transmission delay, and propagation delay; together,
these delays accumulate to give a total nodal delay.
A
B
propagation
transmission
nodal
processing queueing
dnodal = dproc + dqueue + dtrans + dprop
Four sources of packet delay
Processing Delay
• The time required to examine the packet's header and
determine where to direct the packet is part of the
processing delay.
• The processing delay can also include other factors, such
as the time needed to check for bit-level errors in the
packet that occurred in transmitting the packet' s bits
from the upstream node to router A
• After this nodal processing, the router directs the packet
to the queue that precedes the link to router B
Four sources of packet delay
Queuing Delay
• the packet experiences a queuing delay as it waits to be
transmitted onto the link.
• The length of the queuing delay of a specific packet will
depend on the number of earlier-arriving packets that
are queued and waiting for transmission across the link.
• If the queue is empty and no other packet is currently
being transmitted, then our packet's queuing delay will
be zero.
• If the traffic is heavy and many other packets are also
waiting to be transmitted, the queuing delay will be long
Four sources of packet delay
Transmission Delay
• Assuming that packets are transmitted in a first-come-
first-served manner, as is common in packet-switched
networks, our packet can be transmitted only after all
the packets that have arrived before it have been
transmitted.
• Denote the length of the packet by L bits, and denote
the transmission rate of the link from router A to
router B by R bits/sec.
• The transmission delay (also called the store-and-
forward delay is L/R.
• This is the amount of time required to push (that is,
transmit) all of the packet's bits into the link.
Four sources of packet delay
Propagation Delay
• Once a bit is pushed into the link, it needs to propagate to router B.
The time required to propagate from the beginning of the link to
router B is the propagation delay.
• The bit propagates at the propagation speed of the link.
• The propagation speed depends on the physical medium of the link
(that is, fiber optics, twisted-pair, copper wire, and so on) and is in
the range of which is equal to, or a little less than, the speed of light
2 ∗ 108 𝑚
𝑠
𝑡𝑜 3 ∗ 108 𝑚
𝑠
• The propagation delay is distance between two routers divided by
the propagation speed.
• propagation delay is d/s, where d is the distance between router A
and router B and s is the propagation speed of the link.
• Once the last bit of the packet propagates to node B, it and all the
preceding bits of the packet are stored in router B.
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
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
Four sources of packet delay
• The transmission delay is the amount of time
required for the router to push out the
packet; it is a function of the packet's length
and the transmission rate of the link, but has
nothing to do with the distance between the
two routers.
• The propagation delay, on the other hand, is
the time it takes a bit to propagate from one
router to the next; it is a function of the
distance between the two routers, but has
nothing to do with the packet's length or the
transmission rate of the link.
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/sdtrans and dprop
very different
Four sources of packet delay
propagation
nodal
processing queueing
dnodal = dproc + dqueue + dtrans + dprop
A
B
transmission

More Related Content

What's hot

Rpl:Routing Protocol for Low-Power and Lossy Networks
Rpl:Routing Protocol for Low-Power and Lossy NetworksRpl:Routing Protocol for Low-Power and Lossy Networks
Rpl:Routing Protocol for Low-Power and Lossy Networks
Landry Simo
 
[IGC2018] 인플루전 곽노진 - 인디게임이 망할 수 밖에 없는 현실과 이유
 [IGC2018] 인플루전 곽노진 -  인디게임이 망할 수 밖에 없는 현실과 이유 [IGC2018] 인플루전 곽노진 -  인디게임이 망할 수 밖에 없는 현실과 이유
[IGC2018] 인플루전 곽노진 - 인디게임이 망할 수 밖에 없는 현실과 이유
강 민우
 
OpenStackユーザ会資料 - Masakari
OpenStackユーザ会資料 - MasakariOpenStackユーザ会資料 - Masakari
OpenStackユーザ会資料 - Masakari
masahito12
 
SRv6 study
SRv6 studySRv6 study
SRv6 study
Hiro Mura
 
게임서버프로그래밍 #8 - 성능 평가
게임서버프로그래밍 #8 - 성능 평가게임서버프로그래밍 #8 - 성능 평가
게임서버프로그래밍 #8 - 성능 평가
Seungmo Koo
 
[IGC 2017] 아마존 구승모 - 게임 엔진으로 서버 제작 및 운영까지
[IGC 2017] 아마존 구승모 - 게임 엔진으로 서버 제작 및 운영까지[IGC 2017] 아마존 구승모 - 게임 엔진으로 서버 제작 및 운영까지
[IGC 2017] 아마존 구승모 - 게임 엔진으로 서버 제작 및 운영까지
강 민우
 
OSPF Presentation
OSPF PresentationOSPF Presentation
OSPF Presentation
Mohamed Righi
 
〈야생의 땅: 듀랑고〉 서버 아키텍처 Vol. 3
〈야생의 땅: 듀랑고〉 서버 아키텍처 Vol. 3〈야생의 땅: 듀랑고〉 서버 아키텍처 Vol. 3
〈야생의 땅: 듀랑고〉 서버 아키텍처 Vol. 3
Heungsub Lee
 
Intel dpdk Tutorial
Intel dpdk TutorialIntel dpdk Tutorial
Intel dpdk Tutorial
Saifuddin Kaijar
 
[IGC 2017] 펄어비스 민경인 - Mmorpg를 위한 voxel 기반 네비게이션 라이브러리 개발기
[IGC 2017] 펄어비스 민경인 - Mmorpg를 위한 voxel 기반 네비게이션 라이브러리 개발기[IGC 2017] 펄어비스 민경인 - Mmorpg를 위한 voxel 기반 네비게이션 라이브러리 개발기
[IGC 2017] 펄어비스 민경인 - Mmorpg를 위한 voxel 기반 네비게이션 라이브러리 개발기
강 민우
 
클라우드 기반 Unity 게임 서버 구축, 60분이면 충분하다
클라우드 기반 Unity 게임 서버 구축, 60분이면 충분하다클라우드 기반 Unity 게임 서버 구축, 60분이면 충분하다
클라우드 기반 Unity 게임 서버 구축, 60분이면 충분하다
Dae Kim
 
혼자서 만드는 MMO게임 서버
혼자서 만드는 MMO게임 서버혼자서 만드는 MMO게임 서버
혼자서 만드는 MMO게임 서버
iFunFactory Inc.
 
게임제작개론 : #9 라이브 서비스
게임제작개론 : #9 라이브 서비스게임제작개론 : #9 라이브 서비스
게임제작개론 : #9 라이브 서비스
Seungmo Koo
 
홍성우, 내가 만든 언어로 게임 만들기, NDC2017
홍성우, 내가 만든 언어로 게임 만들기, NDC2017홍성우, 내가 만든 언어로 게임 만들기, NDC2017
홍성우, 내가 만든 언어로 게임 만들기, NDC2017
devCAT Studio, NEXON
 
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124  | Las Vegas 2017Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124  | Las Vegas 2017
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Bruno Teixeira
 
프로그래머에게 사랑받는 게임 기획서 작성법
프로그래머에게 사랑받는 게임 기획서 작성법프로그래머에게 사랑받는 게임 기획서 작성법
프로그래머에게 사랑받는 게임 기획서 작성법
Lee Sangkyoon (Kay)
 
DPDK KNI interface
DPDK KNI interfaceDPDK KNI interface
DPDK KNI interface
Denys Haryachyy
 
Netmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoSNetmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoS
Chris Changmo Yoo
 
실시간 게임 서버 최적화 전략
실시간 게임 서버 최적화 전략실시간 게임 서버 최적화 전략
실시간 게임 서버 최적화 전략
YEONG-CHEON YOU
 
[IGC2018] 유영천 개발자 - Voxel기반 네트워크 게임 최적화기법
[IGC2018] 유영천 개발자 - Voxel기반 네트워크 게임 최적화기법[IGC2018] 유영천 개발자 - Voxel기반 네트워크 게임 최적화기법
[IGC2018] 유영천 개발자 - Voxel기반 네트워크 게임 최적화기법
강 민우
 

What's hot (20)

Rpl:Routing Protocol for Low-Power and Lossy Networks
Rpl:Routing Protocol for Low-Power and Lossy NetworksRpl:Routing Protocol for Low-Power and Lossy Networks
Rpl:Routing Protocol for Low-Power and Lossy Networks
 
[IGC2018] 인플루전 곽노진 - 인디게임이 망할 수 밖에 없는 현실과 이유
 [IGC2018] 인플루전 곽노진 -  인디게임이 망할 수 밖에 없는 현실과 이유 [IGC2018] 인플루전 곽노진 -  인디게임이 망할 수 밖에 없는 현실과 이유
[IGC2018] 인플루전 곽노진 - 인디게임이 망할 수 밖에 없는 현실과 이유
 
OpenStackユーザ会資料 - Masakari
OpenStackユーザ会資料 - MasakariOpenStackユーザ会資料 - Masakari
OpenStackユーザ会資料 - Masakari
 
SRv6 study
SRv6 studySRv6 study
SRv6 study
 
게임서버프로그래밍 #8 - 성능 평가
게임서버프로그래밍 #8 - 성능 평가게임서버프로그래밍 #8 - 성능 평가
게임서버프로그래밍 #8 - 성능 평가
 
[IGC 2017] 아마존 구승모 - 게임 엔진으로 서버 제작 및 운영까지
[IGC 2017] 아마존 구승모 - 게임 엔진으로 서버 제작 및 운영까지[IGC 2017] 아마존 구승모 - 게임 엔진으로 서버 제작 및 운영까지
[IGC 2017] 아마존 구승모 - 게임 엔진으로 서버 제작 및 운영까지
 
OSPF Presentation
OSPF PresentationOSPF Presentation
OSPF Presentation
 
〈야생의 땅: 듀랑고〉 서버 아키텍처 Vol. 3
〈야생의 땅: 듀랑고〉 서버 아키텍처 Vol. 3〈야생의 땅: 듀랑고〉 서버 아키텍처 Vol. 3
〈야생의 땅: 듀랑고〉 서버 아키텍처 Vol. 3
 
Intel dpdk Tutorial
Intel dpdk TutorialIntel dpdk Tutorial
Intel dpdk Tutorial
 
[IGC 2017] 펄어비스 민경인 - Mmorpg를 위한 voxel 기반 네비게이션 라이브러리 개발기
[IGC 2017] 펄어비스 민경인 - Mmorpg를 위한 voxel 기반 네비게이션 라이브러리 개발기[IGC 2017] 펄어비스 민경인 - Mmorpg를 위한 voxel 기반 네비게이션 라이브러리 개발기
[IGC 2017] 펄어비스 민경인 - Mmorpg를 위한 voxel 기반 네비게이션 라이브러리 개발기
 
클라우드 기반 Unity 게임 서버 구축, 60분이면 충분하다
클라우드 기반 Unity 게임 서버 구축, 60분이면 충분하다클라우드 기반 Unity 게임 서버 구축, 60분이면 충분하다
클라우드 기반 Unity 게임 서버 구축, 60분이면 충분하다
 
혼자서 만드는 MMO게임 서버
혼자서 만드는 MMO게임 서버혼자서 만드는 MMO게임 서버
혼자서 만드는 MMO게임 서버
 
게임제작개론 : #9 라이브 서비스
게임제작개론 : #9 라이브 서비스게임제작개론 : #9 라이브 서비스
게임제작개론 : #9 라이브 서비스
 
홍성우, 내가 만든 언어로 게임 만들기, NDC2017
홍성우, 내가 만든 언어로 게임 만들기, NDC2017홍성우, 내가 만든 언어로 게임 만들기, NDC2017
홍성우, 내가 만든 언어로 게임 만들기, NDC2017
 
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124  | Las Vegas 2017Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124  | Las Vegas 2017
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
 
프로그래머에게 사랑받는 게임 기획서 작성법
프로그래머에게 사랑받는 게임 기획서 작성법프로그래머에게 사랑받는 게임 기획서 작성법
프로그래머에게 사랑받는 게임 기획서 작성법
 
DPDK KNI interface
DPDK KNI interfaceDPDK KNI interface
DPDK KNI interface
 
Netmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoSNetmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoS
 
실시간 게임 서버 최적화 전략
실시간 게임 서버 최적화 전략실시간 게임 서버 최적화 전략
실시간 게임 서버 최적화 전략
 
[IGC2018] 유영천 개발자 - Voxel기반 네트워크 게임 최적화기법
[IGC2018] 유영천 개발자 - Voxel기반 네트워크 게임 최적화기법[IGC2018] 유영천 개발자 - Voxel기반 네트워크 게임 최적화기법
[IGC2018] 유영천 개발자 - Voxel기반 네트워크 게임 최적화기법
 

Viewers also liked

Archivio137
Archivio137Archivio137
Archivio137
rapacro
 
Redes petri (tutorial cpn tools)
Redes petri (tutorial cpn tools)Redes petri (tutorial cpn tools)
Redes petri (tutorial cpn tools)
Antônio Jarbas Guedes da Silva
 
Clima organizacional na transferência
Clima organizacional na transferênciaClima organizacional na transferência
Clima organizacional na transferência
Psicologia_2015
 
O impacto da liderança transacional e transformacional sobre a cidadania org...
O impacto da liderança transacional e transformacional sobre a cidadania org...O impacto da liderança transacional e transformacional sobre a cidadania org...
O impacto da liderança transacional e transformacional sobre a cidadania org...
Psicologia_2015
 
O impacto da justiça organizacional sobre
O impacto da justiça organizacional sobreO impacto da justiça organizacional sobre
O impacto da justiça organizacional sobre
Psicologia_2015
 
Tremendous impact on Indian IT's sector after the New Policy Introduced By US...
Tremendous impact on Indian IT's sector after the New Policy Introduced By US...Tremendous impact on Indian IT's sector after the New Policy Introduced By US...
Tremendous impact on Indian IT's sector after the New Policy Introduced By US...
Alok Dubey
 
українські карпати
українські карпатиукраїнські карпати
українські карпати
vyglinska
 
La regulacion en la investigacion clínica de Colombia
La regulacion en la investigacion clínica de ColombiaLa regulacion en la investigacion clínica de Colombia
La regulacion en la investigacion clínica de Colombia
Universidad Simon Bolivar- Barranquilla
 
Classification of lipids
Classification of lipidsClassification of lipids
Classification of lipids
Gopalakrishna Bk
 

Viewers also liked (10)

Archivio137
Archivio137Archivio137
Archivio137
 
Redes petri (tutorial cpn tools)
Redes petri (tutorial cpn tools)Redes petri (tutorial cpn tools)
Redes petri (tutorial cpn tools)
 
Clima organizacional na transferência
Clima organizacional na transferênciaClima organizacional na transferência
Clima organizacional na transferência
 
O impacto da liderança transacional e transformacional sobre a cidadania org...
O impacto da liderança transacional e transformacional sobre a cidadania org...O impacto da liderança transacional e transformacional sobre a cidadania org...
O impacto da liderança transacional e transformacional sobre a cidadania org...
 
O impacto da justiça organizacional sobre
O impacto da justiça organizacional sobreO impacto da justiça organizacional sobre
O impacto da justiça organizacional sobre
 
Tremendous impact on Indian IT's sector after the New Policy Introduced By US...
Tremendous impact on Indian IT's sector after the New Policy Introduced By US...Tremendous impact on Indian IT's sector after the New Policy Introduced By US...
Tremendous impact on Indian IT's sector after the New Policy Introduced By US...
 
українські карпати
українські карпатиукраїнські карпати
українські карпати
 
Reclusorios
Reclusorios Reclusorios
Reclusorios
 
La regulacion en la investigacion clínica de Colombia
La regulacion en la investigacion clínica de ColombiaLa regulacion en la investigacion clínica de Colombia
La regulacion en la investigacion clínica de Colombia
 
Classification of lipids
Classification of lipidsClassification of lipids
Classification of lipids
 

Similar to Dcn lecture 3

UNIT-3 network security layers andits types
UNIT-3 network security layers andits typesUNIT-3 network security layers andits types
UNIT-3 network security layers andits types
gjeyasriitaamecnew
 
Delays in packet switch network
Delays in packet switch networkDelays in packet switch network
Delays in packet switch network
Shanza Sohail
 
Switch networking
Switch networking Switch networking
Switch networking
MohikaJamadari
 
8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf
Tabrezahmed39
 
Availability Computer Communication Network .pdf
Availability Computer Communication Network .pdfAvailability Computer Communication Network .pdf
Availability Computer Communication Network .pdf
YashShirude1
 
CN UNIT III.pptx
CN UNIT III.pptxCN UNIT III.pptx
CN UNIT III.pptx
VISWANATHAN R V
 
Ch1 delays, loss, and throughput l5
Ch1 delays, loss, and throughput l5Ch1 delays, loss, and throughput l5
Ch1 delays, loss, and throughput l5
Syed Ariful Islam Emon
 
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
ShahdAbdElsamea2
 
Lec 4 and_5
Lec 4 and_5Lec 4 and_5
Lec 4 and_5
hz3012
 
network devices, types of delay
network devices, types of delaynetwork devices, types of delay
network devices, types of delay
university of Gujrat, pakistan
 
Computer Communication Networks, network layer performance.pptx
Computer Communication Networks, network layer performance.pptxComputer Communication Networks, network layer performance.pptx
Computer Communication Networks, network layer performance.pptx
Electro00
 
Transport Layer In Computer Network
Transport Layer In Computer NetworkTransport Layer In Computer Network
Transport Layer In Computer Network
Destro Destro
 
Quality of service
Quality of serviceQuality of service
Quality of service
Ismail Mukiibi
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic Characterization
Ismail Mukiibi
 
switchingtechniques.ppt
switchingtechniques.pptswitchingtechniques.ppt
switchingtechniques.ppt
ShoukatRiaz
 
SwitchingTechniques.ppt
SwitchingTechniques.pptSwitchingTechniques.ppt
SwitchingTechniques.ppt
ShreyasBharati2
 
switching.ppt
switching.pptswitching.ppt
switching.ppt
swati463221
 
Switching Techniques - Unit 3 notes aktu.pptx
Switching Techniques - Unit 3 notes aktu.pptxSwitching Techniques - Unit 3 notes aktu.pptx
Switching Techniques - Unit 3 notes aktu.pptx
xesome9832
 

Similar to Dcn lecture 3 (20)

UNIT-3 network security layers andits types
UNIT-3 network security layers andits typesUNIT-3 network security layers andits types
UNIT-3 network security layers andits types
 
Lecture set 1
Lecture set 1Lecture set 1
Lecture set 1
 
Delays in packet switch network
Delays in packet switch networkDelays in packet switch network
Delays in packet switch network
 
Switch networking
Switch networking Switch networking
Switch networking
 
8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf
 
Availability Computer Communication Network .pdf
Availability Computer Communication Network .pdfAvailability Computer Communication Network .pdf
Availability Computer Communication Network .pdf
 
CN UNIT III.pptx
CN UNIT III.pptxCN UNIT III.pptx
CN UNIT III.pptx
 
Ch1 delays, loss, and throughput l5
Ch1 delays, loss, and throughput l5Ch1 delays, loss, and throughput l5
Ch1 delays, loss, and throughput l5
 
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
 
Lec 4 and_5
Lec 4 and_5Lec 4 and_5
Lec 4 and_5
 
network devices, types of delay
network devices, types of delaynetwork devices, types of delay
network devices, types of delay
 
ITFT_Switching
ITFT_Switching ITFT_Switching
ITFT_Switching
 
Computer Communication Networks, network layer performance.pptx
Computer Communication Networks, network layer performance.pptxComputer Communication Networks, network layer performance.pptx
Computer Communication Networks, network layer performance.pptx
 
Transport Layer In Computer Network
Transport Layer In Computer NetworkTransport Layer In Computer Network
Transport Layer In Computer Network
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic Characterization
 
switchingtechniques.ppt
switchingtechniques.pptswitchingtechniques.ppt
switchingtechniques.ppt
 
SwitchingTechniques.ppt
SwitchingTechniques.pptSwitchingTechniques.ppt
SwitchingTechniques.ppt
 
switching.ppt
switching.pptswitching.ppt
switching.ppt
 
Switching Techniques - Unit 3 notes aktu.pptx
Switching Techniques - Unit 3 notes aktu.pptxSwitching Techniques - Unit 3 notes aktu.pptx
Switching Techniques - Unit 3 notes aktu.pptx
 

Recently uploaded

MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 

Recently uploaded (20)

MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 

Dcn lecture 3

  • 2. • Two fundamental approaches to moving data through a network of links and switches: circuit switching and packet switching. The network core
  • 3. • In circuit-switched networks, the resources needed along a path (buffers, link transmission rate) to provide for communication between the end systems are reserved for the duration of the communication session between the end- systems. The network core
  • 4. • In packet-switched networks, these resources are not reserved; a session 's messages use the resources on demand, and as a consequence, may have to wait (that is, queue) for access to a communication link. The network core
  • 5. • In this network, the four circuit switches are interconnected by four links. • Each of these links has n circuits, so that each link can support n simultaneous connections • The hosts (for example, PCs and workstations) are each directly connected to one of the switches. • When two hosts want to communicate, the network establishes a dedicated end- to-end connection between the two hosts. Circuit Switching
  • 6. • Thus, in order for Host A to send messages to Host B, the network must first reserve one circuit on each of two links. • Because each link has n circuits, for each link used by the end-to-end connection, the connection gets a fraction 1/n of the link's bandwidth for the duration of the connection Circuit Switching
  • 7. • With FDM, the frequency spectrum of a link is divided up among the connections established across the link. Specifically, the link dedicates a frequency band to each connection for the duration of the connection. • In telephone networks, this frequency band typically has a width of 4 kHz (that is, 4,000 hertz or 4,000 cycles per second). Circuit Switching
  • 8. • For a TDM link, time is divided into frames of fixed duration, and each frame is divided into a fixed number of time slots . When the network establishes a connection across a link, the network dedicates one time slot in every frame to this connection. These slots are dedicated for the sole use of that connection, with one time slot available for use (in every frame ) to transmit the connection's data. Circuit Switching
  • 9. Circuit switching: FDM versus TDM FDM frequency time TDM frequency time 4 users Example:
  • 10. • In modern computer networks, the source breaks long messages into smaller chunks of data known as packets. • Between source and destination, each of these packets travels through communication links and packet switches Packet Switching
  • 11. • mesh of interconnected routers • packet-switching: hosts break application-layer messages into packets – forward packets from one router to the next, across links on path from source to destination – each packet transmitted at full link capacity Packet Switching
  • 12. 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 more on delay shortly … source R bps destination 123 L bits per packet R bps  end-end delay = 2L/R (assuming
  • 13. Packet Switching: queueing delay, loss A B CR = 100 Mb/s R = 1.5 Mb/s D Equeue 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
  • 14. Packet Switching A B CR = 100 Mb/s R = 1.5 Mb/s D Equeue of packets waiting for output link If the arrival rate of packets to the switch exceeds the rate at which the switch can forward packets across the 1.5 Mbps output link, congestion will occur as packets queue in the link' s output buffer before being transmitted onto the link.
  • 15. Packet switching versus circuit switching • packet switching is not suitable for real-time services (for example, telephone calls and video conference calls) because of its variable and unpredictable end-to-end delays (due primarily to variable and unpredictable queuing delays) • Proponents of packet switching argue that (I) it offers better sharing of bandwidth than circuit switching and (2) it is simpler, more efficient, and less costly to implement than circuit switching.
  • 16. 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
  • 17. – resource sharing – simpler, no call setup • excessive congestion possible: packet delay and loss – protocols needed for reliable data transfer, congestion control is packet switching a “slam dunk winner?” Packet switching versus circuit switching
  • 18. Four sources of packet delay • router A has an outbound link leading to router B . • This link is preceded by a queue (also known as a buffer) . • When the packet arrives at route A from the upstream node, router A examines the packet' s header to determine the appropriate outbound link for the packet and then directs the packet to this link.
  • 19. Four sources of packet delay The most important of these delays are the nodal processing delay, queuing delay, transmission delay, and propagation delay; together, these delays accumulate to give a total nodal delay. A B propagation transmission nodal processing queueing dnodal = dproc + dqueue + dtrans + dprop
  • 20. Four sources of packet delay Processing Delay • The time required to examine the packet's header and determine where to direct the packet is part of the processing delay. • The processing delay can also include other factors, such as the time needed to check for bit-level errors in the packet that occurred in transmitting the packet' s bits from the upstream node to router A • After this nodal processing, the router directs the packet to the queue that precedes the link to router B
  • 21. Four sources of packet delay Queuing Delay • the packet experiences a queuing delay as it waits to be transmitted onto the link. • The length of the queuing delay of a specific packet will depend on the number of earlier-arriving packets that are queued and waiting for transmission across the link. • If the queue is empty and no other packet is currently being transmitted, then our packet's queuing delay will be zero. • If the traffic is heavy and many other packets are also waiting to be transmitted, the queuing delay will be long
  • 22. Four sources of packet delay Transmission Delay • Assuming that packets are transmitted in a first-come- first-served manner, as is common in packet-switched networks, our packet can be transmitted only after all the packets that have arrived before it have been transmitted. • Denote the length of the packet by L bits, and denote the transmission rate of the link from router A to router B by R bits/sec. • The transmission delay (also called the store-and- forward delay is L/R. • This is the amount of time required to push (that is, transmit) all of the packet's bits into the link.
  • 23. Four sources of packet delay Propagation Delay • Once a bit is pushed into the link, it needs to propagate to router B. The time required to propagate from the beginning of the link to router B is the propagation delay. • The bit propagates at the propagation speed of the link. • The propagation speed depends on the physical medium of the link (that is, fiber optics, twisted-pair, copper wire, and so on) and is in the range of which is equal to, or a little less than, the speed of light 2 ∗ 108 𝑚 𝑠 𝑡𝑜 3 ∗ 108 𝑚 𝑠 • The propagation delay is distance between two routers divided by the propagation speed. • propagation delay is d/s, where d is the distance between router A and router B and s is the propagation speed of the link. • Once the last bit of the packet propagates to node B, it and all the preceding bits of the packet are stored in router B.
  • 24. 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
  • 25. 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
  • 26. Four sources of packet delay • The transmission delay is the amount of time required for the router to push out the packet; it is a function of the packet's length and the transmission rate of the link, but has nothing to do with the distance between the two routers. • The propagation delay, on the other hand, is the time it takes a bit to propagate from one router to the next; it is a function of the distance between the two routers, but has nothing to do with the packet's length or the transmission rate of the link.
  • 27. 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/sdtrans and dprop very different Four sources of packet delay propagation nodal processing queueing dnodal = dproc + dqueue + dtrans + dprop A B transmission