In: Computer Science
A. There are 10 users whose traffic is being multiplexed over a single link with a capacity of 2 Mbps. Suppose each user generates 100 kbps when busy, but is only busy (i.e., has data to send) 10% of the time. Would circuit-switching or packet-switching be preferable in this scenario? Why?
B. Continuing the previous problem, assume that the link capacity is still 2 Mbps, but the amount of traffic each user has to send when busy is increased to 1 Mbps, and that each of the 10 users still only has data to send 10% of the time. Would circuit-switching or packet-switching be preferable in this scenario? Why?
A. There are 10 users whose traffic is being multiplexed over a single link with a capacity of 2 Mbps. Suppose each user generates 100 kbps when busy, but is only busy (i.e., has data to send) 10% of the time. Would circuit-switching or packet-switching be preferable in this scenario? Why?
Ans: Both circuit and packet switching are used to connect the communication devices with some differences. The main difference is that circuit switching is connection oriented and packet switching is connectionless. In the above scenario, circuit switching is preferable because it is clear that even when the network is busy, each and every can generate 100 kbps and also the time they are busy is only 10% of total time. Also, connection oriented service will generate the data without any loss. In addition the concept is that the number of users depends on the link capacity with each users data generation.
Number of users=2mbps/100kbps=2x1000kbps/100kbps=20 users.
B. Continuing the previous problem, assume that the link capacity is still 2 Mbps, but the amount of traffic each user has to send when busy is increased to 1 Mbps, and that each of the 10 users still only has data to send 10% of the time. Would circuit-switching or packet-switching be preferable in this scenario? Why?
Ans:
Apply the logic given in above answer, we cannot distribute the data to all the users equally. Also, consider the average traffic rate given as 10/10%=1mbps which is not possible as the link capacity is only 2 mbps. Hence, packet switching is preferable.