Computer Networks
Computer Networks
Problem 2
Consider an application that transmits data at a steady rate (for example the sender
generates an N-bit unit of data every K time units, where K is small and fixed). Also,
when such an application starts, it will continue running for a relatively long period of
time. Answer the following questions, briefly justifying your answers.
a. Would a packet-switched network or a circuit-switched network be more
appropriate for this application? Why?
Answer
A circuit-switched network is a better option for this application. This is because of
the fact that the application is made up of long sessions with smooth data transfer
capacity needs and the path is dedicated.
The transmission rate is known, and does not transmit in short intervals every
application session can have a reserved bandwidth.
b. Suppose a packet-switched network is used and the only traffic in this network
comes from this application as described above. Furthermore, assume that
the sum of the application data rates is less than the capacities of each and
every link. Is some form of congestion control needed? Why?
Answer
Congestion control typically deals with situations where there's more data trying to
flow through the network than it can handle so, No congestion control needed as
the sum of application data rates is less than the capacities of each and every
link. For the worst case the bandwidth is still enough for all applications thus
congestion is not needed.
b. What is the maximum number of users that a circuit switching architecture can
support simultaneously?
c. Write down the formula to calculate the probability of having more than 5
active users, assuming that we have 20 users in total
The probability (P) of having more than 5 active users (X > 5) with 20 total
users (n) and a busy probability (p) of 1% (0.01) is: