Question

In: Electrical Engineering

Consider a residential network that connects to the internet with a DSL link that has a...

Consider a residential network that connects to the internet with a DSL link that has a download rate of 4 Mb/s. Assume that there are three UDP flows sharing the link and the remote hosts are sending at rates of 1 Mb/s, 2 Mb/s and 3 Mb/s. Assume that the ISP router has a link buffer that can hold 300 packets (assume all packets have the same length).

a) For each flow, what fraction of the packets it sends are discarded?

b) For each flow, about how many packets does it have in the queue.

c) Now, suppose the queue at the ISP router is replaced by three queues that can each hold 100 packets and that the queues are scheduled using weighted-fair queueing, where the weights are all 0.33. In this case, what fraction of packets are discarded from each flow?

d) How many packets does each flow have in the queue?

e) Now, suppose the weights are 0.2 for the first flow, 0.6 for the second and 0.2 for the third. In this case, what fraction of packets are discarded from each flow?

f) How many packets does each flow have in the queue?

Solutions

Expert Solution

a) The UDP flows are sending data at (1 + 2 + 3) Mbps and the DSL link can download data only at 4 Mbps. Since packats from all the flows are being held together, for ach flow the fraction of lost packets

= (6-4)/6

= 2/6

= 1/3

b) Total 300 packets can be queued at the buffer. Among these,

Packets belonging to 1 Mbps flow

= 1x 300/(1 + 2 + 3)

= 300/6

= 50

Packets belonging to 2 Mbps flow

= 2x 300/(1 + 2 + 3)

= 600/6

= 100

Packet belonging to 1 Mbps flow

= 3x 300/(1 + 2 + 3)

= 900/6

= 150

c) Each queue is scheduled with 0.33 weight.

Therefoe the first flow consumes a share of the bandwidth equal to min(1Mbps, 4*0.33 Mbps)=1Mbps. It loses 0% of it's packets.

The second and third flows equally share the remaining 4-1 = 3 Mbps of bandwidth, and therefore each get 1.5 Mbps.

The second flow loses 100%x(2-1.5)/2 = 25% of its packets

The third flow loses 100%x(3 - 1.5)/3 = 50% of its packets.

d) The first flow’s queue is empty or close to empty. The other two each have about 100 packets in their queues which is the maximum capacity of their queues.
e) Second flow queue has 0.6 weight, therefore it gets min(2 Mbps, 4*0.6 Mbps)= 2 Mbps of the dowanload capacity.

None of second flow packets are discarded.

The remaining (4-2) Mbps = 2 Mbps is equally shared by the first and third flow, each getting 1 Mbps.

Since first flow bandwidth share exactly matches it's data rate, none of it's packets are discarded.

Third flow gets 100%x(3 - 1)/3 = 67% packets discarded

f) First flow has no packets in queue (assuming packets arrive at regular intervals)

The second flow has none or close to no packts in the queue.

The third flow has about 100 packets in queue which is the maximum capacity of it's queue.


Related Solutions

Consider the following institutional network that is connected to the Internet. Suppose that the average object...
Consider the following institutional network that is connected to the Internet. Suppose that the average object size is 240,000 bits and that the average request rate from the institution’s browsers to the origin servers is 62 requests per second. Also suppose that the amount of time it take from when the router on the Internet side of the access link forwards an HTTP request until it receives the response is 1.5 seconds on average (see Section 2.2.5). Model the total...
I have an access link to the internet (Institutional Router to Internet Router) that is 1...
I have an access link to the internet (Institutional Router to Internet Router) that is 1 Gbps access link. Suppose that on my network there are typically 1000 Requests/second going to the Internet that are each 1 Mbits. Calculate the traffic intensity on the access link. What does this number imply about delays on my network?
Computer network Consider the high-speed Internet services available for a major metropolitan area with more than...
Computer network Consider the high-speed Internet services available for a major metropolitan area with more than two million residents. Discuss what physical medium(s) should be used for providing residential Internet access, enterprise Internet access (at companies and schools), and public Internet access (at shopping malls, train stations etc.). Briefly justify your answers from both budget and quality of service factors. Note that there might be multiple correct answers to each of the questions.
What is encapsulation and why is it important for network communication on the internet?
What is encapsulation and why is it important for network communication on the internet?
In a 4x4 multistage butterfly network, Pe is the probability that a link is fault-free. write...
In a 4x4 multistage butterfly network, Pe is the probability that a link is fault-free. write expressions for the bandwidth BW, connectability Q, and the expected number of accessible processors. Assume that a processor generates memory requests with a probability Pr. assume that switchboxes do not fail.
What is connectivity? What is a computer network? What are the Internet and the Web?
What is connectivity? What is a computer network? What are the Internet and the Web? What is cloud computing, the wireless revolution, and IoT?
Briefly compare, highlighting the differences, the architecture of the Internet with that of the telephone network.
Briefly compare, highlighting the differences, the architecture of the Internet with that of the telephone network.
Consider a network with network ID. 192.168.56.0/24: Split the network into two subnets, A and B...
Consider a network with network ID. 192.168.56.0/24: Split the network into two subnets, A and B and provide the IP range, network ID, and broadcast of each. Show your work What is TCP three-step handshake? What happens if the handshake is not successfully completed? What technological development led to the CSMA/CD protocols becoming obsolete? Give an example of a networking protocol that we have discussed in class that utilizes UDP over TCP. Provide two pros and two cons to switiching...
In packet switched network, store and forward refers to transmitting packet to the next link after...
In packet switched network, store and forward refers to transmitting packet to the next link after entire packet arrives at router scheduling of packet transmission to avoid congestion transmitting packet to the next link while router is receiving the packet    storing entire packet at router until acknowledgment is received Which of the following HTTP methods allows a user to upload an object to a specific path on a Web server? HEAD GET PUT POST Which of the following is NOT...
Please, discuss the implications of different network topologies and business benefits. Be very specific and link...
Please, discuss the implications of different network topologies and business benefits. Be very specific and link to existing technologies. IF you know of cases or situations that you have worked on or observed, it is a plus to the assignment.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT