Question

In: Computer Science

Consider a circuit-switching scenario in which Ncs users, must share a link of capacity 150 Mbps....

Consider a circuit-switching scenario in which Ncs users, must share a link of capacity 150 Mbps. Each user alternates between periods of activity when the user generates data at a constant rate of 20 Mbps and periods of inactivity when he generates no data. Suppose further that he is active only 20% of the time. Assume a circuit switched TDM. What is the maximum number of circuit-switched users that can be supported? Assume packet switching is used for the remaining parts of this question. Suppose there are 13 packet- switching users (i.e., Nps = 13). Can this many users be supported under circuit-switching? Explain. What is the probability that a given (specific) user is transmitting, and the remaining users are not transmitting? What is the probability that one user (any one among the 13 users) is transmitting, and the remaining users are not transmitting? When one user is transmitting, what fraction of the link capacity will be used by this user? What is the probability that any 7 users (of the total 13 users) are transmitting and the remaining users are not transmitting? (Hint: you will need to use the binomial distribution.) What is the probability that more than 7 users are transmitting? Comment on what this implies about the number of users supportable under circuit switching and packet switching. What is the probability that more than 7 users are transmitting? Comment on what this implies about the number of users supportable under circuit switching and packet switching.

Solutions

Expert Solution

Lets, answer each question one-by-one.

1. What is the maximum number of circuit-switched users that can be supported?

Ans: Given that, each user alternates between periods of activity when the user generates data at a constant rate of 20 Mbps and periods of inactivity when he generates no data. Because of this each user should be allocated 20 Mbps bandwidth from shared link capacity of 150 Mbps.

Hence,maximum number of circuit-switched users that can be supported = 150/20 = 7.5

2. Assume packet switching is used for the remaining parts of this question. Suppose there are 13 packet- switching users (i.e., Nps = 13). Can this many users be supported under circuit-switching? Explain.

Ans: No, these many users can not be supported under circuit-switching because, among 13 packet-switching users, each one requires bandwidth of 20 Mbps. This results in aggregate bandwidth of 20*13 = 260 Mbps which way more than given shared link capacity of 150 Mbps.

3.What is the probability that a given (specific) user is transmitting, and the remaining users are not transmitting?

Ans: Lets say p is the probability that a given (specific) user is transmitting and he is active for 20% of the time. Hence, p=0.20 So, probability of one specific user not transmitting is (1-p). Hence, probability of all of the other (Nps - 1) users are not transmitting is (1-p)Nps - 1Therefore the probability of that a given (specific) user is transmitting, and the remaining users are not transmitting is p1 * (1-p)Nps - 1 = (0.20)1 * (1-0.20)13-1 = (0.20)1 * (0.8)12 = 0.01374

4. What is the probability that one user (any one among the 13 users) is transmitting, and the remaining users are not transmitting?When one user is transmitting, what fraction of the link capacity will be used by this user?

Ans: the probability that one user (any one among the 13 users) is transmitting, and the remaining users are not transmitting is Nps * p1 * (1-p)Nps - 1 = 13 * (0.20)1 * (1-0.20)13-1 = 13 * (0.20)1 * (0.8)12 = 13 * 0.01374 = 0.17862

fraction of the link capacity will be used by this use is = 20/150 = 0.133

5. What is the probability that any 7 users (of the total 13 users) are transmitting and the remaining users are not transmitting?

Ans: The probability that any 7 users (of the total 13 users) are transmitting and the remaining users are not transmitting is p7* (1-p)6. Hence, probability of 7 users out of 13 users transmitting (using Binomial Theorem) is : (13 choose 7) * p7 * (1-p)6 = [13! / ((13-7)! *(7!))] * (0.20)7 * (0.8)6 = 1716 * 0.0000128 * 0.262144 = 0.0057579

6. What is the probability that more than 7 users are transmitting? Comment on what this implies about the number of users supportable under circuit switching and packet switching.

Ans: The probability that more than 7 users are transmitting is = (13 choose i) * pi * (1-p)13-i

= [(13 choose 8) * p8 * (1-p)13-8 ] + [(13 choose 9) * p9 * (1-p)13-9 ] + [(13 choose 10) * p10 * (1-p)13-10 ] + [(13 choose 11) * p11 * (1-p)13-11 ] + [(13 choose 12) * p12 * (1-p)13-12 ] + [(13 choose 13) * p13 * (1-p)13-13 ]

= [1287 * 0.28 * (0.8)5 ] + [715 * 0.29 * (0.8)4 ] + [286 * 0.210 * (0.8)3 ] + [78 * 0.211 * (0.8)2 ] + [13 * 0.212 * (0.8)1 ] + [1 * 0.213 * (0.8)0 ]

= [1287 * 0.00000256 * 0.32768] + [715 * 0.000000512 * 0.4096] + [286 * 0.0000001024 * 0.512] + [78 * 0.00000002048 * 0.64] + [13 * 0.000000004096 * 0.8] + [1 * 0.0000000008192 * 1]

= 0.00179613 + 0.0001499 + 0.0000149 + 0.0000010 + 0.0000000425 + 0.0000000008192

=0.0019619733

Maximum number of users supported using circuit switching are 7. With packet switching, almost twice the users (13) are supported with a probability that more than 7 packet switching users are transmitting at the same time.  


Related Solutions

Suppose a network access link of 1 Mbps capacity is being shared among 10 users through...
Suppose a network access link of 1 Mbps capacity is being shared among 10 users through packet-switching and each user has 20% probability of using the link at any time. Assuming the link bandwidth is shared equally among its active users, what is the probability (in %) that each user is experiencing a bandwidth equal to or above 300 Kbps (Kilobits per second)?
a. Critique on the switching techniques a) circuit switching and b) packet switching with a scenario...
a. Critique on the switching techniques a) circuit switching and b) packet switching with a scenario example. [5 Marks] b. Illustrate the Session Initiation Protocol (SIP) for VoIP in your own words with appropriate diagram. [5 Marks] c. Explain the procedure and significance of the presence service elements with an appropriate usage case. [5 Marks]
a. Critique on the switching techniques a) circuit switching and b) packet switching with a scenario...
a. Critique on the switching techniques a) circuit switching and b) packet switching with a scenario example. b. Illustrate the Session Initiation Protocol (SIP) for VoIP in your own words with appropriate diagram. c. Explain the procedure and significance of the presence service elements with an appropriate usage case.
Consider a hypothetical scenario where BC expanded its capacity for MRIs which are fully insured by...
Consider a hypothetical scenario where BC expanded its capacity for MRIs which are fully insured by the public insurance system. However, a study reported that expanding MRI capacity in BC was associated with an increased income-gradient in the use of MRIs. Using Grossman's model, explain why the expansion of MRI capacity would increase the income-gradient?
I need a decision tree Consider a scenario in which a college must recruit students. They...
I need a decision tree Consider a scenario in which a college must recruit students. They have three options. They can do nothing. Alternatively, they could make their own ad campaign, spending $200,000. Their campaign has an 70% chance of being successful, which would mean bringing in 100 new students at $40,000 per student in tuition. Or the college could decide to spend $800,000 to hire a social media company to do the ads. This social media campaign has a...
Consider a scenario where a web portal uses cookies to track the users and provides a...
Consider a scenario where a web portal uses cookies to track the users and provides a customized view to the individual user based on the previously visited sites. The web portal sends a cookie to the browser, which is stored in the browser at the client’s side along with the visited sites. This helps to keep track the previously visited pages of a client from different sites. Prepare a diagram illustrating how the cookie is used between a browser and...
Describe how transfer prices are computed (you must consider excess capacity, no excess capacity, and partial...
Describe how transfer prices are computed (you must consider excess capacity, no excess capacity, and partial capacity).?
10) The overbooking problem: A plane has a capacity of 150 passengers. The airline, which knows...
10) The overbooking problem: A plane has a capacity of 150 passengers. The airline, which knows that the industry standard is that one person out of 12 is a no-show at the airport, sells 160 tickets. a) What is the probability that all the passengers that show up at departure will be accommodated? b) What is the maximum number of tickets that the airline should sell so that they should be able to accommodate all the passengers with probability at...
To use a normal distribution in this scenario, which of the following conditions must be satisfied?
2020 Election ~ Bernie Sanders is a popular presidential candidate among university students for the 2020 presidential election. Leading into Michigan’s presidential primary election in 2020, a journalist, Lauren, took a random sample of 12133 university students and found that 9674 of them support Bernie Sanders. Using this data, Lauren wants to estimate the actual proportion of university students who support Bernie Sanders.We want to use statistical inference to estimate the actual proportion of university students who support Bernie Sanders.To...
Consider a log splitter with a load capacity of 15 ton which is run by a...
Consider a log splitter with a load capacity of 15 ton which is run by a 10 GPM hydraulic pump. The bore and rod diameter of the log splitter cylinder are 4 in. and 2 in., respectively, whereas the stroke length is 24 in. Determine the following: a) Maximum pressure generated in the extension stroke b)Extension velocity of the cylinder c)Power (HP) generated in the extension stroke when pushing the maximum load d) Retraction velocity of the cylinder e) Power...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT