Homework4

Homework4 - Kevin Deggelman 803 463 734 CS 118 Homework 4...

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

View Full Document Right Arrow Icon
Kevin Deggelman 803 463 734 CS 118 Homework 4 1. The minimum latency is 2RTT + O/R. The minimum W that achieves this is RTT S / R +1 a. When R = 28 Kbps, the minimum latency is 28.77 seconds and W = 2 b. When R = 100 Kbps, the minimum latency is 8.2 seconds and W = 4 c. When R = 1Mbps, the minimum latency is 1 second and W = 25 d. When R = 10 Mbps, the minimum latency is 0.28 second and W = 235 2. a. EstimatedRTT1 = SampleRTT1 EstimatedRTT2 = (1-a)EstimatedRTT1 + aSampleRTT2 = (1-a) SampleRTT1 + aSampleRTT2 EstimatedRTT3 = (1-a)EstimatedRTT2 + aSampleRTT3 = (1-a) 2SampleRTT1 + (1-a)aSampleRTT2 + aSampleRTT3'' EstimatedRTT4 = (1-a)EstimatedRTT3 + aSampleRTT4 = (1-a) 3SampleRTT1 + (1-a)2aSampleRTT2 + (1-a)aSampleRTT3 + aSampleRTT4 b. EstimatedRTTn = (1-a)(n-1)SampleRTT1 + (1-a)(n-2) aSampleRTT2 + (1-a)(n-3)aSampleRTT3 + . . . +(1-a) aSampleRTTn-1 + aSampleRTTn c. This averaging procedure is called an exponential moving average because the weight given to past samples decreases exponentially. 3.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/28/2010 for the course CS 118 taught by Professor Chu during the Spring '08 term at UCLA.

Page1 / 2

Homework4 - Kevin Deggelman 803 463 734 CS 118 Homework 4...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online