5,423 views
4 votes
4 votes
Suppose that x bit  of message is transmitted over a k -hop path in a  network.The circuit set up time is s seconds,the propagation delay is d seconds per hop.The packet size is p bits and data rate is b bps.At what time user will receive the message  if

a.) Circuit switching is used

b:) Packet switching is used

2 Answers

6 votes
6 votes
Circuit switching--> total time = s+(x/b)+kd

Packet switching-- no. of packets,n =x/p

total time = (kp/b)+(n-1)p/b + kd
2 votes
2 votes

Circuit Switching:-

setup time = s , transmission time = x/b , propagation time= kd

so , total time = s + x /b + kd

Packet Switching:-

no setup time , the last bit is sent at t = x /b , the last packet must be retransmitted k − 1 times by intermediate routers, with each retransmission taking p /b sec. , propagation time= kd

so , total time =  x /b + (k − 1)p /b + kd

Packet switching is faster if s > (k − 1)p /b. 

Hence,

In Circuit switching total time t = s+(x/b)+kd

In Packet switching total time t = x /b + (k − 1)p /b + kd

Related questions

0 votes
0 votes
1 answer
3
LavTheRawkstar asked Nov 21, 2016
1,088 views
what is the difference among all the three in easy own understandable words?