SlideShare une entreprise Scribd logo
1  sur  26
Multiplexing
Introduction
The long-haul circuit-switching telecommunications network was
originally designed to handle voice traffic
A key characteristic of circuit-switching networks is that resources
within the network are dedicated to a particular call. For voice
connections, resulting circuit will enjoy a high percentage of
utilization.
However, as the circuit-switching network began to be used
increasingly for data connections, two shortcomings became
apparent:
 In a typical user host data connection (e.g., personal computer user
logged on to a database server), much of the time the line is idle. Thus,
with data connections, a circuit-switching approach is inefficient.
 In a circuit-switching network, the connection provides for transmission
at constant data rate. Thus, each of the two devices that are connected
must transmit and receive at the same data rate as the other; this limits
the utility of the network in interconnecting a variety of host computers
and terminals.
Solving the problem
To understand how packet switching addresses these
problems, let us briefly summarize packet-switching
operation.
Data are transmitted in short packets. A typical upper
bound on packet length is 1000 octets (bytes).
 If a source has a longer message to send, the message
is broken up into a series of packets
Each packet contains a portion of the user's data plus
some control information.
The control information, at a minimum, includes the
information that the network requires in order to be able
to route the packet through the network
At each node en route, the packet is received, stored
briefly, and passed on to the next node.
The Approach
This approach has a number of advantages over circuit
switching:
Line efficiency is greater, as a single node-to-node link
can be dynamically shared by many packets over time.
The packets are queued up and transmitted as rapidly as
possible over the link.
By contrast, with circuit switching, time on a node-to-
node link is pre-allocated using synchronous TDM.
Much of the time, link may be idle because a portion of
its time is dedicated to a connection which is idle.
Packet-switch network can perform data-rate conversion.
Two stations of different data rates can exchange
packets because each connects to its node at its proper
data rate.
The Approach II
When traffic becomes heavy on a circuit-switching
network, the network refuses to accept additional
connection requests (Blocked) Until load decreases.
On a packet-switching network, packets are still
accepted, but delivery delay increases.
Priorities can be used.
It can transmit the higher-priority packets first. These
packets will therefore experience less delay than
lower-priority packets.
Switching Technique
 A station has a message to send through a packet-switching
network that is of length greater than the maximum packet
size.
 It therefore breaks the message up into packets and sends
these packets, one at a time, to the network.
 A question arises as to how the network will handle this stream
of packets as it attempts to route them through the network
and deliver them to the intended destination
 There are two approaches that are used in contemporary
networks:
 datagram &
 Virtual circuit
Datagram approach
Each packet is treated independently, with no reference to packets
that have gone before.
Some implication of this approach.
When the data is sent over the network it might be possible that the
data packets if broken take different route to its destination
They totally dependent upon the forwarding node for routing the
packets
Possibly the data packet which was last may reach the destination
first.
It is possible for a packet to be destroyed in the network (if a packet
switching node crashes momentarily)
if packets get lost, the destination node has no way to know that one
of the packets in the sequence has been lost.
it is up to receiver to detect loss of a packet and recovers it.
Virtual circuitsIn the virtual-circuit approach, a preplanned route is established
before any packets are sent
It first sends a special control packet, referred to as a Call-Request
packet
Nodes decides to route the request and all subsequent packets to other
nodes
If Station is prepared to accept the connection, it sends Call-Accept
packet back to station via nodes
Stations can then exchange data over the route that has been
established.
As route is fixed for the duration of the logical connection, it is
somewhat similar to a circuit-switching network, and is referred to as
a virtual circuit
Each packet also contains a virtual-circuit identifier and data
Eventually, one of the stations terminates the connection
with a Clear-Request packet
At any time, each station can have more than one virtual circuit to any
other station and can have virtual circuits to more than one station.
Advantages of datagram
In datagram approach the call setup phase is avoided
Datagram delivery will be quicker.
It is more primitive and more flexible
Good with Congestion control-
 Unlike virtual circuits, packets follow a predefined route, it is
difficult to adapt to congestion
Datagram delivery is inherently more reliable
Alternate route that bypasses congestion and failure
A datagram-style of operation is common in inter-
networks
Characteristic of the virtual-circuit
In virtual-circuit (VC) a route between stations is set
up prior to data transfer
That does not mean its a dedicated path
packet is still buffered at each node, and queued for
output over a line
With virtual circuits, the node does not make a
routing decision for transferring each packet
Advantages of VC
If two stations wish to exchange data over an
extended period of time
network may provide services related to the virtual
circuit, including sequencing and error control
because all packets follow the same route, they arrive
in the original order
If dara arrives with an error, node can request a
retransmission of that packet from previous node
Packet size
One important issue is the packet size to be sent on
network
There is a significant relationship between packet size
and transmission time
Packet size
•In this Fig, it is assumed
that there is a virtual
circuit from station
X through nodes a and b
to station Y.
•The message comprises
30 octets, of and each
packet contains 3 octets
of control information
•Placed at beginning of
each packet and is
referred to as a header.
Packet sizeIf the sent packet consists of 33 octets (3 of header plus 30 of data), then
 Packet is first transmitted from station X to node a (Figure a).
 When the entire packet is received, it can then be transmitted from a to b.
 When the entire packet is received at node b, it is transferred to station Y.
 The total transmission time at the nodes is 99 octet-times
(33 octets X 3 packet transmissions = 99 Octet-times).
So if we break up the message into more packets (Packet + Control info)
So because of overlapping in transmission, the total transmission time of 2
packets drops to 72 octet-times, for 5 packets it drop to total of 63
However, this process of using more and smaller packets eventually results
in increased, rather than reduced, delay as in Fig d;
This is because each packet contains a fixed amount of header, and more
packets means more of these headers.
We did not consider processing and queuing delays at each node.
Extremely small packet size (53 octets) can result in an efficient network
design.
Comparison of Circuit Switching
& Packet Switching
Performance
 A simple comparison of circuit switching and the two forms of packet
switching are provided in next slides.
 The figure shows transmission of a message across four nodes. from a
source attached to node 1 to a destination attached to node 4.
In that figure, we are concerned with three types of delay:
 Propagation delay. The time it takes a signal to propagate from one node
to the next. This time is generally negligible in ms
 Transmission time. The time it takes for a transmitter to send out a block
of data. For example, it takes 1 s to transmit a 10,000-bit block of data on a
10-kbps line.
 Node delay. The time it takes for a node to perform the necessary
processing as it switches data.
However, actual performance depends on a host of factors, including
the size of the network, its topology, the pattern of load, and the
characteristics of typical exchanges.
Circuit switch
In circuit switching, there is a of delay in
message before it is sent.
First, a call request signal is sent through the
network in order to set up a connection to
the destination.
A processing delay is faced at each node
during the call request
This time is spent at each node setting up the
route of the connection.
On the return, this processing is not needed
because the connection is already set up
Once set up, the message is sent as a single
block, with no noticeable delay at the
switching nodes.
Virtual Circuit
Virtual-circuit packet similar to circuit switching.
A virtual circuit is requested using a call-request
packet, which incurs a delay at each node.
The virtual circuit is accepted with a call-accept
packet.
In contrast to the circuit-switching case, the call
acceptance also experiences node delays, even
though the virtual circuit route is now established
the reason is that this packet is queued at each
node and must wait its turn for retransmission.
On establishment of virtual circuit message is
transmitted in packets.
This phase can be no faster than circuit switching,
Some delay are present at each node in the path;
worse, this delay is variable and will increase with
increased load.
Datagram packet switching
Datagram packet switching does not require a
call setup.
Thus for short messages it is faster than virtual-
circuit packet switching and perhaps circuit
switching.
However, because each individual datagram is
routed independently, the
processing for each datagram at each node may
be longer than for virtual-circuit packets.
Thus, for long messages, the virtual-circuit
technique may be superior.
Transparency of circuit switching
Circuit switching is essentially a transparent service.
Once a connection is established, a constant data rate is provided to
the connected stations
But not the case with packet switching, which typically introduces
variable
delay, so that data arrive in a choppy manner.
With datagram packet switching, data may arrive in a different order
than they were transmitted.
An additional consequence of transparency is that there is no
overhead required to accommodate circuit switching.
Once a connection is established, the analog or digital data are passed
through, as is, from source to destination.
For packet switching, analog data must be converted to digital before
transmission and each packet includes overhead bits, such as the
destination address.
External and internal operation
Depends upon the characteristics of packet switching
weather it is using data-grams or virtual circuits.
There are two dimensions of these characteristics.
At the interface between a station and network node
Network may provide
 Connection-oriented
 Connectionless service
Connection-oriented service
A station performs a call request to set up a logical connection to
another station
All packets presented to the network are identified as belonging to
a particular logical connection and are numbered sequentially
The logical connection is usually referred to as a virtual circuit and
the connection-oriented service is referred to as an external virtual
circuit service
Where as the external service is distinct from the concept of
internal virtual circuit operation a good example is X.25
X.25 - This standard is almost universally used for interfacing to
packet-switching networks and is employed for packet switching in
ISDN.
Connectionless
With connectionless service, the network only agrees
to handle packets independently, and may not deliver
them in order or reliably, known as an external
datagram service
This concept is distinct from that of internal
datagram operation.
Internally the network may actually construct a fixed
route between endpoints (virtual circuit), or it may
not (datagram).
Design decisions
These internal and external design decisions need not match
External virtual circuit, internal virtual circuit.
 The user requested virtual circuit, a dedicated route through the network.
All packets follow that same route.
External virtual circuit, internal datagram.
 Packets are handled separately. Thus, different packets for the same
external virtual circuit may take different routes. Which are buffered at the
destination node, in proper order.
External datagram, internal datagram.
 Each packet is treated independently from both the user's and the
network's point of view.
External datagram, internal virtual circuit.
 The external user does not see any connections, as it simply sends packets
one at a time. The network, however, sets up a logical connection between
stations for packet delivery and may leave such connections in place for an
extended period, so as to satisfy estimated future needs
Choice
Which one to choose in virtual circuits and data-grams out of both
internal and external.
This will depend on the specific design objectives for the
communication network and the cost factors that prevail.
 The datagram service, allows efficient use of the network as no call setup
and no need to hold up packets while a packet in error is retransmitted.
 This latter feature is desirable in some real-time applications.
 The virtual-circuit service can provide end-to-end sequencing and error
control; this service is attractive for supporting connection-oriented
applications such as file transfer and remote-terminal access.
Virtual-circuit service is much more common than the datagram
service.
The reliability and convenience of a connection-oriented service is
seen as more attractive than the benefits of the datagram service.

Contenu connexe

Tendances

Location Aided Routing (LAR)
Location Aided Routing (LAR) Location Aided Routing (LAR)
Location Aided Routing (LAR) Pradeep Kumar TS
 
Design Issues In Adhoc Wireless MAC Protocol
Design Issues In Adhoc Wireless MAC ProtocolDesign Issues In Adhoc Wireless MAC Protocol
Design Issues In Adhoc Wireless MAC ProtocolDushhyant Kumar
 
Switching Concepts presentation
Switching Concepts presentationSwitching Concepts presentation
Switching Concepts presentationzameer Abbas
 
What is Bridge and Types of Bridges in Networking
What is Bridge and Types of Bridges in NetworkingWhat is Bridge and Types of Bridges in Networking
What is Bridge and Types of Bridges in NetworkingAbdul Rehman
 
Transport control protocols for Wireless sensor networks
Transport control protocols for Wireless sensor networksTransport control protocols for Wireless sensor networks
Transport control protocols for Wireless sensor networksRushin Shah
 
EC 6802 WIRELESS NETWORK_ BABU M_ unit 3 ,4 & 5 PPT
EC 6802 WIRELESS NETWORK_ BABU M_ unit 3 ,4 & 5 PPTEC 6802 WIRELESS NETWORK_ BABU M_ unit 3 ,4 & 5 PPT
EC 6802 WIRELESS NETWORK_ BABU M_ unit 3 ,4 & 5 PPTbabuece
 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Chandra Meena
 
The mac layer
The mac layerThe mac layer
The mac layeraazamk
 
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts –  ...WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts –  ...
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...ArunChokkalingam
 
Path Loss and Shadowing
Path Loss and ShadowingPath Loss and Shadowing
Path Loss and ShadowingYash Gupta
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingDr Rajiv Srivastava
 
Lecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networksLecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networksChandra Meena
 
Optical Wavelength converters
Optical Wavelength convertersOptical Wavelength converters
Optical Wavelength convertersFAIZAN AHMAD
 
Chap 4 (large scale propagation)
Chap 4 (large scale propagation)Chap 4 (large scale propagation)
Chap 4 (large scale propagation)asadkhan1327
 
A comparative study of reactive and proactive routing
A comparative study of reactive and proactive routingA comparative study of reactive and proactive routing
A comparative study of reactive and proactive routingAbhiram Subhagan
 
MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)Vipin Sahu
 

Tendances (20)

Location Aided Routing (LAR)
Location Aided Routing (LAR) Location Aided Routing (LAR)
Location Aided Routing (LAR)
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Manet ppt
Manet pptManet ppt
Manet ppt
 
Design Issues In Adhoc Wireless MAC Protocol
Design Issues In Adhoc Wireless MAC ProtocolDesign Issues In Adhoc Wireless MAC Protocol
Design Issues In Adhoc Wireless MAC Protocol
 
Switching Concepts presentation
Switching Concepts presentationSwitching Concepts presentation
Switching Concepts presentation
 
What is Bridge and Types of Bridges in Networking
What is Bridge and Types of Bridges in NetworkingWhat is Bridge and Types of Bridges in Networking
What is Bridge and Types of Bridges in Networking
 
Transport control protocols for Wireless sensor networks
Transport control protocols for Wireless sensor networksTransport control protocols for Wireless sensor networks
Transport control protocols for Wireless sensor networks
 
EC 6802 WIRELESS NETWORK_ BABU M_ unit 3 ,4 & 5 PPT
EC 6802 WIRELESS NETWORK_ BABU M_ unit 3 ,4 & 5 PPTEC 6802 WIRELESS NETWORK_ BABU M_ unit 3 ,4 & 5 PPT
EC 6802 WIRELESS NETWORK_ BABU M_ unit 3 ,4 & 5 PPT
 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc
 
The mac layer
The mac layerThe mac layer
The mac layer
 
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts –  ...WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts –  ...
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...
 
Path Loss and Shadowing
Path Loss and ShadowingPath Loss and Shadowing
Path Loss and Shadowing
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switching
 
Sensor Network
Sensor NetworkSensor Network
Sensor Network
 
Lecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networksLecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networks
 
Basic Concepts in Wireless LAN
Basic Concepts in Wireless LANBasic Concepts in Wireless LAN
Basic Concepts in Wireless LAN
 
Optical Wavelength converters
Optical Wavelength convertersOptical Wavelength converters
Optical Wavelength converters
 
Chap 4 (large scale propagation)
Chap 4 (large scale propagation)Chap 4 (large scale propagation)
Chap 4 (large scale propagation)
 
A comparative study of reactive and proactive routing
A comparative study of reactive and proactive routingA comparative study of reactive and proactive routing
A comparative study of reactive and proactive routing
 
MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)
 

En vedette (14)

Circuit switching packet switching
Circuit switching  packet  switchingCircuit switching  packet  switching
Circuit switching packet switching
 
Packet switching
Packet switchingPacket switching
Packet switching
 
Chap 8 switching
Chap 8 switchingChap 8 switching
Chap 8 switching
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Circuit and packet_switching111
Circuit and packet_switching111Circuit and packet_switching111
Circuit and packet_switching111
 
Networks 1-intro
Networks 1-introNetworks 1-intro
Networks 1-intro
 
Ppt 01 10
Ppt 01 10Ppt 01 10
Ppt 01 10
 
Diff paket&circuit
Diff paket&circuitDiff paket&circuit
Diff paket&circuit
 
Switching
SwitchingSwitching
Switching
 
Networking Related
Networking RelatedNetworking Related
Networking Related
 
Packet Switching
Packet SwitchingPacket Switching
Packet Switching
 
Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniques
 
Introduction to Mobile Core Network
Introduction to Mobile Core NetworkIntroduction to Mobile Core Network
Introduction to Mobile Core Network
 
Osi model vs TCP/IP
Osi model vs TCP/IPOsi model vs TCP/IP
Osi model vs TCP/IP
 

Similaire à 8 Packet Switching

switching techniques
switching techniques switching techniques
switching techniques ziaulhaq96
 
Unit 3 CND physical layer_switching_pranoti doke
Unit 3  CND physical layer_switching_pranoti dokeUnit 3  CND physical layer_switching_pranoti doke
Unit 3 CND physical layer_switching_pranoti dokePranoti Doke
 
Unit 3 cnd physical layer_switching_pranoti doke
Unit 3  cnd physical layer_switching_pranoti dokeUnit 3  cnd physical layer_switching_pranoti doke
Unit 3 cnd physical layer_switching_pranoti dokePranoti Doke
 
unit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptunit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptThangamaniR3
 
Wmcn ch.3
Wmcn ch.3Wmcn ch.3
Wmcn ch.3Alaa2
 
switchingtechniques.ppt
switchingtechniques.pptswitchingtechniques.ppt
switchingtechniques.pptShoukatRiaz
 
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.pptxxesome9832
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniquesGLIM Digital
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniquesGupta6Bindu
 
circuit switching1.pdf
circuit switching1.pdfcircuit switching1.pdf
circuit switching1.pdfJayaprasanna4
 
Ravi namboori switching
Ravi namboori   switchingRavi namboori   switching
Ravi namboori switchingRavi namboori
 
Switiching by Ravi Namboori Babson University USA
Switiching by Ravi Namboori Babson University USASwitiching by Ravi Namboori Babson University USA
Switiching by Ravi Namboori Babson University USARavi Namboori
 
Ravi Namboori switching
Ravi Namboori   switchingRavi Namboori   switching
Ravi Namboori switchingRavi Namboori
 
WT - Circuit & Packet switching
WT - Circuit & Packet switchingWT - Circuit & Packet switching
WT - Circuit & Packet switchingvinay arora
 

Similaire à 8 Packet Switching (20)

switching techniques
switching techniques switching techniques
switching techniques
 
Unit 3 CND physical layer_switching_pranoti doke
Unit 3  CND physical layer_switching_pranoti dokeUnit 3  CND physical layer_switching_pranoti doke
Unit 3 CND physical layer_switching_pranoti doke
 
Unit 3 cnd physical layer_switching_pranoti doke
Unit 3  cnd physical layer_switching_pranoti dokeUnit 3  cnd physical layer_switching_pranoti doke
Unit 3 cnd physical layer_switching_pranoti doke
 
unit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptunit 2_switchingtechniques.ppt
unit 2_switchingtechniques.ppt
 
Chapter#3
Chapter#3Chapter#3
Chapter#3
 
Wmcn ch.3
Wmcn ch.3Wmcn ch.3
Wmcn ch.3
 
network devices, types of delay
network devices, types of delaynetwork devices, types of delay
network devices, types of delay
 
switchingtechniques.ppt
switchingtechniques.pptswitchingtechniques.ppt
switchingtechniques.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
 
switching.ppt
switching.pptswitching.ppt
switching.ppt
 
SwitchingTechniques.ppt
SwitchingTechniques.pptSwitchingTechniques.ppt
SwitchingTechniques.ppt
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
 
circuit switching1.pdf
circuit switching1.pdfcircuit switching1.pdf
circuit switching1.pdf
 
Ravi namboori switching
Ravi namboori   switchingRavi namboori   switching
Ravi namboori switching
 
Ravi Namboori_switching
Ravi Namboori_switchingRavi Namboori_switching
Ravi Namboori_switching
 
Switiching by Ravi Namboori Babson University USA
Switiching by Ravi Namboori Babson University USASwitiching by Ravi Namboori Babson University USA
Switiching by Ravi Namboori Babson University USA
 
Ravi Namboori switching
Ravi Namboori   switchingRavi Namboori   switching
Ravi Namboori switching
 
chapter 5.2.pptx
chapter 5.2.pptxchapter 5.2.pptx
chapter 5.2.pptx
 
WT - Circuit & Packet switching
WT - Circuit & Packet switchingWT - Circuit & Packet switching
WT - Circuit & Packet switching
 

Plus de Water Birds (Ali)

Creative Writing Course Worksheets
Creative Writing Course WorksheetsCreative Writing Course Worksheets
Creative Writing Course WorksheetsWater Birds (Ali)
 
PhDs Produced by Punjab University from Jan to Dec 2014
PhDs Produced by Punjab University from Jan to Dec 2014PhDs Produced by Punjab University from Jan to Dec 2014
PhDs Produced by Punjab University from Jan to Dec 2014Water Birds (Ali)
 
Course Outline for MA Urdu Punjab University
Course Outline for MA Urdu Punjab UniversityCourse Outline for MA Urdu Punjab University
Course Outline for MA Urdu Punjab UniversityWater Birds (Ali)
 
Course Outline for MA Philosophy Punjab University
Course Outline for MA Philosophy Punjab UniversityCourse Outline for MA Philosophy Punjab University
Course Outline for MA Philosophy Punjab UniversityWater Birds (Ali)
 
Course Outline for MA French Punjab University
Course Outline for MA French Punjab UniversityCourse Outline for MA French Punjab University
Course Outline for MA French Punjab UniversityWater Birds (Ali)
 
Course Outline for MA English Punjab University
Course Outline for MA English Punjab UniversityCourse Outline for MA English Punjab University
Course Outline for MA English Punjab UniversityWater Birds (Ali)
 
MPhil English Interview Schedule for 27 July 2011 (Punjab University)
MPhil English Interview Schedule for 27 July 2011 (Punjab University)MPhil English Interview Schedule for 27 July 2011 (Punjab University)
MPhil English Interview Schedule for 27 July 2011 (Punjab University)Water Birds (Ali)
 
PU's MPhil English Interview Result 2011
PU's MPhil English Interview Result 2011PU's MPhil English Interview Result 2011
PU's MPhil English Interview Result 2011Water Birds (Ali)
 
Chinua Achebe - Things Fall Apart [Edited Version]
Chinua Achebe - Things Fall Apart [Edited Version]Chinua Achebe - Things Fall Apart [Edited Version]
Chinua Achebe - Things Fall Apart [Edited Version]Water Birds (Ali)
 
Tips to Relax Your Tired Eyes
Tips to Relax Your Tired EyesTips to Relax Your Tired Eyes
Tips to Relax Your Tired EyesWater Birds (Ali)
 
Mother Courage and Her Children by Bertolt Bretch
Mother Courage and Her Children by Bertolt BretchMother Courage and Her Children by Bertolt Bretch
Mother Courage and Her Children by Bertolt BretchWater Birds (Ali)
 
Things Fall Apart by Chinua Achebe
Things Fall Apart by Chinua AchebeThings Fall Apart by Chinua Achebe
Things Fall Apart by Chinua AchebeWater Birds (Ali)
 
Chapter 1 Automatic Controloverview
Chapter 1 Automatic ControloverviewChapter 1 Automatic Controloverview
Chapter 1 Automatic ControloverviewWater Birds (Ali)
 
Chapter 3 History and Geography The Foundations of Culture
Chapter 3   History and Geography The Foundations of Culture  Chapter 3   History and Geography The Foundations of Culture
Chapter 3 History and Geography The Foundations of Culture Water Birds (Ali)
 

Plus de Water Birds (Ali) (20)

Who invented?
Who invented?Who invented?
Who invented?
 
Creative Writing Course Worksheets
Creative Writing Course WorksheetsCreative Writing Course Worksheets
Creative Writing Course Worksheets
 
Essay Writing
Essay Writing   Essay Writing
Essay Writing
 
PhDs Produced by Punjab University from Jan to Dec 2014
PhDs Produced by Punjab University from Jan to Dec 2014PhDs Produced by Punjab University from Jan to Dec 2014
PhDs Produced by Punjab University from Jan to Dec 2014
 
Course Outline for MA Urdu Punjab University
Course Outline for MA Urdu Punjab UniversityCourse Outline for MA Urdu Punjab University
Course Outline for MA Urdu Punjab University
 
Course Outline for MA Philosophy Punjab University
Course Outline for MA Philosophy Punjab UniversityCourse Outline for MA Philosophy Punjab University
Course Outline for MA Philosophy Punjab University
 
Course Outline for MA French Punjab University
Course Outline for MA French Punjab UniversityCourse Outline for MA French Punjab University
Course Outline for MA French Punjab University
 
Course Outline for MA English Punjab University
Course Outline for MA English Punjab UniversityCourse Outline for MA English Punjab University
Course Outline for MA English Punjab University
 
MPhil English Interview Schedule for 27 July 2011 (Punjab University)
MPhil English Interview Schedule for 27 July 2011 (Punjab University)MPhil English Interview Schedule for 27 July 2011 (Punjab University)
MPhil English Interview Schedule for 27 July 2011 (Punjab University)
 
PU's MPhil English Interview Result 2011
PU's MPhil English Interview Result 2011PU's MPhil English Interview Result 2011
PU's MPhil English Interview Result 2011
 
Chinua Achebe - Things Fall Apart [Edited Version]
Chinua Achebe - Things Fall Apart [Edited Version]Chinua Achebe - Things Fall Apart [Edited Version]
Chinua Achebe - Things Fall Apart [Edited Version]
 
Tips to Relax Your Tired Eyes
Tips to Relax Your Tired EyesTips to Relax Your Tired Eyes
Tips to Relax Your Tired Eyes
 
Mother Courage and Her Children by Bertolt Bretch
Mother Courage and Her Children by Bertolt BretchMother Courage and Her Children by Bertolt Bretch
Mother Courage and Her Children by Bertolt Bretch
 
Things Fall Apart by Chinua Achebe
Things Fall Apart by Chinua AchebeThings Fall Apart by Chinua Achebe
Things Fall Apart by Chinua Achebe
 
Chapter 1 Automatic Controloverview
Chapter 1 Automatic ControloverviewChapter 1 Automatic Controloverview
Chapter 1 Automatic Controloverview
 
Radar Terminology
Radar TerminologyRadar Terminology
Radar Terminology
 
Traffic Signals
Traffic SignalsTraffic Signals
Traffic Signals
 
Writing Engineering Reports
Writing Engineering ReportsWriting Engineering Reports
Writing Engineering Reports
 
Chapter 3 History and Geography The Foundations of Culture
Chapter 3   History and Geography The Foundations of Culture  Chapter 3   History and Geography The Foundations of Culture
Chapter 3 History and Geography The Foundations of Culture
 
Youth Problems in Pakistan
Youth Problems in PakistanYouth Problems in Pakistan
Youth Problems in Pakistan
 

Dernier

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxAneriPatwari
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 

Dernier (20)

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 

8 Packet Switching

  • 2. Introduction The long-haul circuit-switching telecommunications network was originally designed to handle voice traffic A key characteristic of circuit-switching networks is that resources within the network are dedicated to a particular call. For voice connections, resulting circuit will enjoy a high percentage of utilization. However, as the circuit-switching network began to be used increasingly for data connections, two shortcomings became apparent:  In a typical user host data connection (e.g., personal computer user logged on to a database server), much of the time the line is idle. Thus, with data connections, a circuit-switching approach is inefficient.  In a circuit-switching network, the connection provides for transmission at constant data rate. Thus, each of the two devices that are connected must transmit and receive at the same data rate as the other; this limits the utility of the network in interconnecting a variety of host computers and terminals.
  • 3. Solving the problem To understand how packet switching addresses these problems, let us briefly summarize packet-switching operation. Data are transmitted in short packets. A typical upper bound on packet length is 1000 octets (bytes).  If a source has a longer message to send, the message is broken up into a series of packets Each packet contains a portion of the user's data plus some control information. The control information, at a minimum, includes the information that the network requires in order to be able to route the packet through the network At each node en route, the packet is received, stored briefly, and passed on to the next node.
  • 4. The Approach This approach has a number of advantages over circuit switching: Line efficiency is greater, as a single node-to-node link can be dynamically shared by many packets over time. The packets are queued up and transmitted as rapidly as possible over the link. By contrast, with circuit switching, time on a node-to- node link is pre-allocated using synchronous TDM. Much of the time, link may be idle because a portion of its time is dedicated to a connection which is idle. Packet-switch network can perform data-rate conversion. Two stations of different data rates can exchange packets because each connects to its node at its proper data rate.
  • 5. The Approach II When traffic becomes heavy on a circuit-switching network, the network refuses to accept additional connection requests (Blocked) Until load decreases. On a packet-switching network, packets are still accepted, but delivery delay increases. Priorities can be used. It can transmit the higher-priority packets first. These packets will therefore experience less delay than lower-priority packets.
  • 6. Switching Technique  A station has a message to send through a packet-switching network that is of length greater than the maximum packet size.  It therefore breaks the message up into packets and sends these packets, one at a time, to the network.  A question arises as to how the network will handle this stream of packets as it attempts to route them through the network and deliver them to the intended destination  There are two approaches that are used in contemporary networks:  datagram &  Virtual circuit
  • 7. Datagram approach Each packet is treated independently, with no reference to packets that have gone before. Some implication of this approach. When the data is sent over the network it might be possible that the data packets if broken take different route to its destination They totally dependent upon the forwarding node for routing the packets Possibly the data packet which was last may reach the destination first. It is possible for a packet to be destroyed in the network (if a packet switching node crashes momentarily) if packets get lost, the destination node has no way to know that one of the packets in the sequence has been lost. it is up to receiver to detect loss of a packet and recovers it.
  • 8. Virtual circuitsIn the virtual-circuit approach, a preplanned route is established before any packets are sent It first sends a special control packet, referred to as a Call-Request packet Nodes decides to route the request and all subsequent packets to other nodes If Station is prepared to accept the connection, it sends Call-Accept packet back to station via nodes Stations can then exchange data over the route that has been established. As route is fixed for the duration of the logical connection, it is somewhat similar to a circuit-switching network, and is referred to as a virtual circuit Each packet also contains a virtual-circuit identifier and data Eventually, one of the stations terminates the connection with a Clear-Request packet At any time, each station can have more than one virtual circuit to any other station and can have virtual circuits to more than one station.
  • 9. Advantages of datagram In datagram approach the call setup phase is avoided Datagram delivery will be quicker. It is more primitive and more flexible Good with Congestion control-  Unlike virtual circuits, packets follow a predefined route, it is difficult to adapt to congestion Datagram delivery is inherently more reliable Alternate route that bypasses congestion and failure A datagram-style of operation is common in inter- networks
  • 10. Characteristic of the virtual-circuit In virtual-circuit (VC) a route between stations is set up prior to data transfer That does not mean its a dedicated path packet is still buffered at each node, and queued for output over a line With virtual circuits, the node does not make a routing decision for transferring each packet
  • 11. Advantages of VC If two stations wish to exchange data over an extended period of time network may provide services related to the virtual circuit, including sequencing and error control because all packets follow the same route, they arrive in the original order If dara arrives with an error, node can request a retransmission of that packet from previous node
  • 12. Packet size One important issue is the packet size to be sent on network There is a significant relationship between packet size and transmission time
  • 13. Packet size •In this Fig, it is assumed that there is a virtual circuit from station X through nodes a and b to station Y. •The message comprises 30 octets, of and each packet contains 3 octets of control information •Placed at beginning of each packet and is referred to as a header.
  • 14. Packet sizeIf the sent packet consists of 33 octets (3 of header plus 30 of data), then  Packet is first transmitted from station X to node a (Figure a).  When the entire packet is received, it can then be transmitted from a to b.  When the entire packet is received at node b, it is transferred to station Y.  The total transmission time at the nodes is 99 octet-times (33 octets X 3 packet transmissions = 99 Octet-times). So if we break up the message into more packets (Packet + Control info) So because of overlapping in transmission, the total transmission time of 2 packets drops to 72 octet-times, for 5 packets it drop to total of 63 However, this process of using more and smaller packets eventually results in increased, rather than reduced, delay as in Fig d; This is because each packet contains a fixed amount of header, and more packets means more of these headers. We did not consider processing and queuing delays at each node. Extremely small packet size (53 octets) can result in an efficient network design.
  • 15. Comparison of Circuit Switching & Packet Switching Performance  A simple comparison of circuit switching and the two forms of packet switching are provided in next slides.  The figure shows transmission of a message across four nodes. from a source attached to node 1 to a destination attached to node 4. In that figure, we are concerned with three types of delay:  Propagation delay. The time it takes a signal to propagate from one node to the next. This time is generally negligible in ms  Transmission time. The time it takes for a transmitter to send out a block of data. For example, it takes 1 s to transmit a 10,000-bit block of data on a 10-kbps line.  Node delay. The time it takes for a node to perform the necessary processing as it switches data. However, actual performance depends on a host of factors, including the size of the network, its topology, the pattern of load, and the characteristics of typical exchanges.
  • 16. Circuit switch In circuit switching, there is a of delay in message before it is sent. First, a call request signal is sent through the network in order to set up a connection to the destination. A processing delay is faced at each node during the call request This time is spent at each node setting up the route of the connection. On the return, this processing is not needed because the connection is already set up Once set up, the message is sent as a single block, with no noticeable delay at the switching nodes.
  • 17. Virtual Circuit Virtual-circuit packet similar to circuit switching. A virtual circuit is requested using a call-request packet, which incurs a delay at each node. The virtual circuit is accepted with a call-accept packet. In contrast to the circuit-switching case, the call acceptance also experiences node delays, even though the virtual circuit route is now established the reason is that this packet is queued at each node and must wait its turn for retransmission. On establishment of virtual circuit message is transmitted in packets. This phase can be no faster than circuit switching, Some delay are present at each node in the path; worse, this delay is variable and will increase with increased load.
  • 18. Datagram packet switching Datagram packet switching does not require a call setup. Thus for short messages it is faster than virtual- circuit packet switching and perhaps circuit switching. However, because each individual datagram is routed independently, the processing for each datagram at each node may be longer than for virtual-circuit packets. Thus, for long messages, the virtual-circuit technique may be superior.
  • 19. Transparency of circuit switching Circuit switching is essentially a transparent service. Once a connection is established, a constant data rate is provided to the connected stations But not the case with packet switching, which typically introduces variable delay, so that data arrive in a choppy manner. With datagram packet switching, data may arrive in a different order than they were transmitted. An additional consequence of transparency is that there is no overhead required to accommodate circuit switching. Once a connection is established, the analog or digital data are passed through, as is, from source to destination. For packet switching, analog data must be converted to digital before transmission and each packet includes overhead bits, such as the destination address.
  • 20. External and internal operation Depends upon the characteristics of packet switching weather it is using data-grams or virtual circuits. There are two dimensions of these characteristics. At the interface between a station and network node Network may provide  Connection-oriented  Connectionless service
  • 21. Connection-oriented service A station performs a call request to set up a logical connection to another station All packets presented to the network are identified as belonging to a particular logical connection and are numbered sequentially The logical connection is usually referred to as a virtual circuit and the connection-oriented service is referred to as an external virtual circuit service Where as the external service is distinct from the concept of internal virtual circuit operation a good example is X.25 X.25 - This standard is almost universally used for interfacing to packet-switching networks and is employed for packet switching in ISDN.
  • 22. Connectionless With connectionless service, the network only agrees to handle packets independently, and may not deliver them in order or reliably, known as an external datagram service This concept is distinct from that of internal datagram operation. Internally the network may actually construct a fixed route between endpoints (virtual circuit), or it may not (datagram).
  • 23.
  • 24. Design decisions These internal and external design decisions need not match External virtual circuit, internal virtual circuit.  The user requested virtual circuit, a dedicated route through the network. All packets follow that same route. External virtual circuit, internal datagram.  Packets are handled separately. Thus, different packets for the same external virtual circuit may take different routes. Which are buffered at the destination node, in proper order. External datagram, internal datagram.  Each packet is treated independently from both the user's and the network's point of view. External datagram, internal virtual circuit.  The external user does not see any connections, as it simply sends packets one at a time. The network, however, sets up a logical connection between stations for packet delivery and may leave such connections in place for an extended period, so as to satisfy estimated future needs
  • 25.
  • 26. Choice Which one to choose in virtual circuits and data-grams out of both internal and external. This will depend on the specific design objectives for the communication network and the cost factors that prevail.  The datagram service, allows efficient use of the network as no call setup and no need to hold up packets while a packet in error is retransmitted.  This latter feature is desirable in some real-time applications.  The virtual-circuit service can provide end-to-end sequencing and error control; this service is attractive for supporting connection-oriented applications such as file transfer and remote-terminal access. Virtual-circuit service is much more common than the datagram service. The reliability and convenience of a connection-oriented service is seen as more attractive than the benefits of the datagram service.