Professional Documents
Culture Documents
The packet remains quenced in its buffer until the outgoing link becomes idle.
This technique is called store and forward technique.
Buffer is a memory unit that store incoming Packets for some time
Packet Switching Principles
Packet Delay
where :
L Packet Length
rb Data rate of the link ( speed of the link)
Ex.
calculate packet transmission time between
node A and B. where packet length
is 7.5 MB and link speed is 1.5 Mbps.
A
B
2- Packet processing Delay
time required by the switch or routers (node) to process packet,
i.e. time required to read packet data from header and where it should be directed
3- Propagation Delay
4- Queuing Delay
The packet may be delayed in the node buffer for some time until nods finishes
processing previous packets.
Ex:
if tprocessing = 1msec, packet length = 1kbit, rb=1Mbps.
tprocess = 1msec
= ttrans
If arrival rate exceed links transmission rate for a period of time, this will make
1- packet will wait in the queue.
2- packet may be dropped if Buffer is full.
If arrival rate is less than transmission rate of the link, queuing (Buffer) delay
can be ignored.
Ex:
Consider a message of 1Mbit to be transmitted between A and B.
How many bits needed to be transmitted to deliver massage correctly?
Case1 pe= 10-6
send whole message as one part.
A B
Ex:
Consider a message of 1Mbit to be transmitted between A and B.
How many bits needed to be transmitted to deliver massage correctly?
pe= 10-6
……
0 1 1 1 0 1
.…… A B
Case1
send whole message as one part.
Packet 2 Packet 10
Packet 1 ( 100 kbit )
… … …
0 1 1 1
.… .… .…
Pe= 10-6
1- Datagram.
• Each packet within a stream is independently routed
• Source / destination addresses are put in OH.
• Packet can take any route
• Packet may arrive out of order.
• Packet may lost ( time out).
• No. hand shaking.
2- Virtual Circuit.
A fixed route is selected before any data is transmitted in a call setup phase
similar to circuit switched network.
All packet follow the same path.
Need call request and accept connection (hand shaking).
No routing table is required in each node.
No out of order packet arrival.
It is called connection oriented.
Comparison between circuit switching and packet switching
Circuit Packet
1 Call setup required Not required
5 B. W. fixed dynamic
Conclusion