{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw12 - Massachusetts Institute of Technology Department of...

This preview shows pages 1–2. Sign up to view the full content.

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.02 Spring 2008 Homework #12 May 9, 2008 This problem set has five questions. They will not be graded, so don’t turn them in. We strongly encourage to solve these problems because they will help reinforce the concepts of the last two lectures and the last lab, and serve as useful practice for Quiz 3. 1 Windows To broadcast live course lectures to each other, MIT and Berkeley decide to set up a dedicated network path between themselves. This path has a data rate of 10 MBytes/s and a round-trip delay of 100 ms. A student at Berkeley interested in a 6.082 lecture downloads the video using a reliable transport protocol that uses a fixed-size sliding window. 1. If the size of the window is 20 packets, what should the minimum size of each packet be for the download speed to be maximized? 2. For the packet size obtained in the previous question, what happens to the data download rate if the window size is increased to 40 packets? 2 A dduupplliiccaattiinngg network Alice has arraged to send a stream of data to Bob using the following protocol: 1. Each packet has an incrementing sequence number; sequence numbers start at 1. 2. Whenever Bob receives a packet of data with sequence number N, he sends back an OK packet that says: “OK to send packet N + 1”. 3. Whenever Alice receives an “OK to send K ”, she sends the packet with sequence number K . Alice initiates the protocol by sending a packet with sequence number 1 and terminates it by ignoring any “OK to send packet K ” for which K is larger than the sequence number of the last packet she wants to send.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern