Consider a variant of the stop and wait protocol, where the sender instead of sending a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider a variant of the stop and wait protocol, where the sender instead of sending a single frame and waits for an ack, it sends 2 frames and waits for a single ack. When the ack arrives, the sender sends the next two frames and so on (so each ack arriving to the sender indicates that two frames have been received by the receiver). If one or both frames do not make it to the receiver, the receiver would not ack any frames. If the sender does not hear from the receiver after a timeout value, it will retransmits the last two frames. Assume that each data frame is equal to 1500 Bytes and each ack frame is equal to 40 Bytes. The link between the sender and the receiver has a 10 Mbps bandwidth and each one-way propagation delay of 10 msec. Answer the following questions: [2 pts each] (a) What is the total round-trip time (RTT) from sending the first bit of the first frame and receiving an ack back? (b) What is the total throughput for this protocol, in Mbps when no packets get lost? What percentage of the link bandwidth is wasted due to this protocol? (c) What is the minimum number of sequence numbers we need on packets for this protocol to work suc- cessfully? How many bits would you dedicate in headers to carry the sequence number? (d) Draw the time-line diagram (include times at each event) between the sender and the receiver until the first two frames make it to the receiver. Assume that the second frame was lost the first time it was transmitted and assume that the timeout value used by the sender is chosen to be twice the RTT (obtained from part (a)). (e) What is the long-term throughput of this protocol, in Mbps, if the link always drops one of the two frames? Consider a variant of the stop and wait protocol, where the sender instead of sending a single frame and waits for an ack, it sends 2 frames and waits for a single ack. When the ack arrives, the sender sends the next two frames and so on (so each ack arriving to the sender indicates that two frames have been received by the receiver). If one or both frames do not make it to the receiver, the receiver would not ack any frames. If the sender does not hear from the receiver after a timeout value, it will retransmits the last two frames. Assume that each data frame is equal to 1500 Bytes and each ack frame is equal to 40 Bytes. The link between the sender and the receiver has a 10 Mbps bandwidth and each one-way propagation delay of 10 msec. Answer the following questions: [2 pts each] (a) What is the total round-trip time (RTT) from sending the first bit of the first frame and receiving an ack back? (b) What is the total throughput for this protocol, in Mbps when no packets get lost? What percentage of the link bandwidth is wasted due to this protocol? (c) What is the minimum number of sequence numbers we need on packets for this protocol to work suc- cessfully? How many bits would you dedicate in headers to carry the sequence number? (d) Draw the time-line diagram (include times at each event) between the sender and the receiver until the first two frames make it to the receiver. Assume that the second frame was lost the first time it was transmitted and assume that the timeout value used by the sender is chosen to be twice the RTT (obtained from part (a)). (e) What is the long-term throughput of this protocol, in Mbps, if the link always drops one of the two frames?
Expert Answer:
Related Book For
Modeling the Dynamics of Life Calculus and Probability for Life Scientists
ISBN: 978-0840064189
3rd edition
Authors: Frederick R. Adler
Posted Date:
Students also viewed these programming questions
-
DON'T SUMMARIZE JUST PARAGRAPH OF WHAT YOU THOUGHT/LEARNED CHAPTER 13 - The phrase "garbage in, garbage out" highlights the importance of input controls. If the data entered into a system are...
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
A trainee in a medical lab will be released to work on her own when her results agree with those of an experienced worker at the 95% confidence level. Results for a blood urea nitrogen analysis are...
-
Ten runners compete in a race starting at time t = 0. The runners' finishing times R1,..., R10 are iid exponential random variables with expected value 1/ = 10 minutes. (a) What is the probability...
-
G Holdings Ltd. has a large investment in corporate bonds. Suppose G Holdings Ltd. buys $6,000,000 of CN Railway bonds at a price of 98. The CN Railway bonds pay cash interest at the annual rate of...
-
Aaron Reed, a photographer, was in a dispute with Ezelle Investment Properties, Inc., over Ezelle allegedly using one of Reeds photographs without permission. Reed sent Ezelle a cease-and-desist...
-
On December 31, 2014, Hattie McDaniel Company had $1,200,000 of short-term debt in the form of notes payable due February 2, 2015. On January 21, 2015, the company issued 25,000 shares of its common...
-
Discuss the market concentration, competitiveness, and performance of the Australian grocery industry compared to other western countries. Identify the key stakeholders in the food supply chain, and...
-
Barts Company has prepared the PP&E and depreciation schedule shown in Exhibit 8.46.1 below. The following information is available (assume the beginning balance has been audited): The land was...
-
Just this morning you also saw your pet dog (whom you had named "Einstein" when you adopted him on Earth) roaming inside the spaceship's corridor. You called out to him by name and he stared at you,...
-
Find the potential elastic scattering cross-section of neutron for \({ }^{23} \mathrm{Na}\), given scattering radius \(=5.4 \mathrm{fm}\). If the radius were to be obtained as \(1.2 A^{1 / 3}\), what...
-
Consider a neutron transmission experiment through a \({ }^{232} \mathrm{Th}\) foil of thickness \(0.001 \mathrm{~cm}\). The neutron beam is mono-energetic with a certain energy. Density of the...
-
Calculate the amount of coal required to produce the same energy as that \(1 \mathrm{~kg}\) of U-235. (Assume coal contains 100\% carbon and that combustion of 1 atom of carbon gives \(4...
-
A \(5 \mathrm{~cm}\) thick layer of pure absorbing material with atom density of \(4.0 \times 10^{22}\) nuclei \(/ \mathrm{cm}^{3}\) absorbs \(99.9 \%\) of the incident beam of neutrons. What is the...
-
Calculate the number of electrons produced in a \(20 \mathrm{MeV}, 4 \mathrm{~kW}\) LINAC. Also calculate the number for neutrons produced in a \(5 \mathrm{mg}\) Tantallum target for the electron...
-
In May 2010, the size of Greece's budget deficit increased its probability of default and triggered a crisis across the Eurozone. To decrease the budget deficits the Greek government proposed many...
-
Explain the term global capital markets. This chapter primarily discusses global equity markets. What other types of financial instruments are traded in these markets? How important are global...
-
The model in Exercise 32 starting from (0.5, 1).
-
Suppose that n = 16, and that Xi takes the value 0 with probability 0.5 and the value 1 with probability 0.5. Suppose the random variables X1, X2 ... Xn are i.i.d. (independent and identically...
-
The confidence limits if 23 seeds are found in 1 m2 (Example 8.2.14). Use experimentation and Newton's method to solve the equations for the approximate confidence limits with the method of support.
-
From the following trial balance of G. Foot after his first year's trading, you are required to draw up a statement of profit or loss for the year ending 30 June 2016. A statement of financial...
-
At the beginning of the financial year on 1 April 2017, a company had a balance on plant account of 372,000 and on provision for depreciation of plant account of 205,400. The company's policy is to...
-
What circumstances might lead you to write-off a debt as bad and not close the debtor's account?
Study smarter with the SolutionInn App