Question

In: Statistics and Probability

Suppose that the five measured SampleRTT values are 130 ms, 106 ms, 150 ms, 140 ms,...

Suppose that the five measured SampleRTT values are
130 ms, 106 ms, 150 ms, 140 ms, and 115 ms.


1) Compute the EstimatedRTT after each of these SampleRTT values is obtained, using a value of α = 0.125 and assuming that the value of EstimatedRTT was 120 ms just before the first of these five samples were obtained.


2) Compute also the DevRTT after each sample is obtained, assuming a value of β = 0.25 and assuming the value of DevRTT was 10 ms just before the first of these five samples was obtained.


3) Last, compute the TCP TimeoutInterval after each of these samples is obtained.


4) Will there be a timeout event for any of the packages? Explain. (hint you can use Excel in this one like we did in class)

Solutions

Expert Solution

Answer:

Given,

Sample RTT's = 130 ms, 106 ms, 150 ms, 140 ms, 115 ms

EstimatedRTT (old) = 120 ms,

DevRTT (old) = 10 ms,

α = 0.125,

β = 0.25

EstimatedRTT(new) = α * SampleRTT+(1-α) * EstimatedRTT(old)

DevRTT = β * |SampleRTT - EstimatedRTT| + (1-β)* DevRTT

TimeoutInterval = EstimatedRTT + 4* DevRTT

EstimatedRTT(new) in the wake of getting the principal test RTT = 130ms,

EstimatedRTT(new) = α * SampleRTT+(1-α) * EstimatedRTT(old)

substitute values

EstimatedRTT = 0.125 * 130 + (1-0.125) * 120

= 0.125* 130 + 0.875 * 120

= 16.25 + 105

= 121.25ms

DevRTT in the wake of acquiring the primary example RTT:

DevRTT = β * | SampleRTT - EstimatedRTT| + (1-β)* DevRTT

substitute values

= 0.25 * |130-121.25| + (1 - 0.25) *10

= 0.25 *8.75 + 0.75 * 10

= 2.1875 + 7.5

= 9.6875ms

Break Interval in the wake of acquiring the primary example RTT:

TimeoutInterval = EstimatedRTT + 4* DevRTT

= 121.25 + 4 *9.6875

= 160ms

EstimatedRTT in the wake of getting the second example RTT = 106ms,

EstimatedRTT = α * SampleRTT+(1-α) * EstimatedRTT

EstimatedRTT = 0.125 * 106 + (1-0.125) * 121.25

= 0.125*106+0.875*121.25

= 13.25+106.09375

= 119.34375ms

DevRTT in the wake of getting the second example RTT:

DevRTT = β * | SampleRTT-EstimatedRTT| + (1-β)* DevRTT

= 0.25 * |106-119.34375| + (1-0.25) *9.6875

= 0.25 *13.34375 + 0.75 * 9.6875

= 3.3359375 + 7.265625

= 10.6ms

Break Interval in the wake of getting the second example RTT:

TimeoutInterval = EstimatedRTT + 4* DevRTT

= 119.34375 + 4 * 10.6

= 161.74ms

EstimatedRTT in the wake of getting the third example RTT = 150ms:

EstimatedRTT = α * SampleRTT + (1-α) * EstimatedRTT

EstimatedRTT = 0.125 * 150 + (1-0.125) *119.34

= 0.125* 150 + 0.875 * 119.34

= 18.75 + 104.42

= 123.17ms

DevRTT subsequent to acquiring the third example RTT:

DevRTT = β * | SampleRTT - EstimatedRTT| + (1-β)* DevRTT

= 0.25 * |150-123.17| + (1-0.25) *10.6

= 0.25 *26.83 + 0.75 * 10.6

= 6.7 + 7.95

= 14.65ms

Break Interval subsequent to acquiring the third example RTT:

TimeoutInterval = EstimatedRTT + 4* DevRTT

substitute values

= 123.17 + 4 *14.65

= 181.77ms

EstimatedRTT subsequent to acquiring the fourth example RTT=140ms:

EstimatedRTT = α * SampleRTT+(1-α) * EstimatedRTT

substitute values

EstimatedRTT = 0.125 * 140 + (1-0.125) * 123.17

= 0.125* 140 + 0.875 * 123.17

= 17.5 +107.77

= 125.27ms

DevRTT subsequent to acquiring the fourth example RTT:

DevRTT = β * | SampleRTT-EstimatedRTT|+(1-β)* DevRTT

substitute values

= 0.25 * |140-125.27| + (1-0.25) *14.65

= 0.25 *14.73 + 0.75 * 14.65

= 3.68 + 10.99

= 14.67ms

Break Interval subsequent to acquiring the fourth example RTT:

TimeoutInterval = EstimatedRTT + 4* DevRTT

substitute values

= 125.27 + 4 *14.67

= 183.94ms

EstimatedRTT subsequent to acquiring the fifth example RTT = 115ms:

EstimatedRTT = α * SampleRTT+(1-α) * EstimatedRTT

EstimatedRTT = 0.125 * 115 + (1-0.125) * 125.27

= 0.125* 115 + 0.875 * 125.27

= 14.375 +109.61

= 123.985ms

DevRTT subsequent to acquiring the fifth example RTT:

DevRTT = β * | SampleRTT-EstimatedRTT| + (1-β)* DevRTT

= 0.25 * |115-123.985| + (1-0.25) *14.67

= 0.25 *8.985 + 0.75 * 14.67

= 2.25 + 11

= 13.25ms

Break Interval subsequent to acquiring the fifth example RTT:

TimeoutInterval = EstimatedRTT + 4* DevRTT

substitute values

= 123.985 + 4 *13.25

= 176.985 ms


Related Solutions

Class Interval Frequency (fi) Cumulative Frequency (F) 120-<130 1 1 130-<140 3 4 140-<150 8 12...
Class Interval Frequency (fi) Cumulative Frequency (F) 120-<130 1 1 130-<140 3 4 140-<150 8 12 150-<160 5 17 160-<170 3 20 ∑fi = 20 For the grouped frequency data set obtained in Question above, calculate and interpret where possible: a)The mean,                                                                                                                                                            (4) b)median                                                                                                                                                                   (4) c)mode                                                                                                                                                                      (4) d)The interquartile range..                                                                                                                                 (10) e)The coefficient of variation.                                                                                                                           (7)
Five values of SampleRTT are 10 ms, 5 ms, 15 ms, 25 ms, and 30 ms....
Five values of SampleRTT are 10 ms, 5 ms, 15 ms, 25 ms, and 30 ms. Compute the EstimatedRTT, DevRTT, and Timeoutinterval after each of these SampleRTT values is obtained. Assume α = 0.125 and β = 0.25. Initial value of EstimatedRTT was 15 ms and initial value of DevRTT was 10 ms just before the first of these five samples was obtained.
Consider the following data for two variables, x and y. xi 140 110 130 150 175...
Consider the following data for two variables, x and y. xi 140 110 130 150 175 160 125 yi 150 100 125 120 135 135 115 a. Compute the standardized residuals for these data. Observation 1 Observation 2 Observation 3 Observation 4 Observation 5 Observation 6 Observation 7
Current Assets $1000 Accounts Payable $150 Accrued taxes $140 Net Plant $600 Accrued wages $130 Net...
Current Assets $1000 Accounts Payable $150 Accrued taxes $140 Net Plant $600 Accrued wages $130 Net Equipment $400 Notes Payable $400 Total Current Liability $820 Firs-mortgage bonds $400 Second-mortgage bonds $300 Subordinated Debentures $200 Preferred Stock $130 Common Stock $150 Total Assets $2000 Total Claims $2000 The following balance sheet represents Joe’s Electronics’ position at the time it filed for bankruptcy (in thousands of dollars). Only net plant are pledged as collateral to the mortgage bonds (including both first-mortgage bonds...
Consider the following sample: 120, 94, 88, 67, 82, 106, 140, 102, 87, 99, 106, 86,...
Consider the following sample: 120, 94, 88, 67, 82, 106, 140, 102, 87, 99, 106, 86, 105, 93 a) Calculate the sample mean and the sample standard deviation b) Calculate the sample range. What does it mean? c) What is the mode of the data distribution? d) Construct a box plot and interpret the result. e) Identify the 45th percentile and interpret the result. f) If the two largest data from above data distribution is removed, then what will be...
The primary data on the income (Ls) of the company employees are given: 140, 150, 150,...
The primary data on the income (Ls) of the company employees are given: 140, 150, 150, 200, 200, 250, 250, 250, 300, 200, 250, 400, 400, 400, 400, 500, 450, 400, 350, 100, 120, 130, 140, 110, 120, 700, 800, 700, 400, 500 Form a variation series (simple and frequency). Calculate the mean, variance. Find mode and median. Convert variation series to interval. The calculation of the width of the interval is performed according to the Sturges formula. Find mode...
Height: 62, 67, 62, 63, 67, 74, 63, 73, 63 Weight: 130, 140, 102, 140, 145,...
Height: 62, 67, 62, 63, 67, 74, 63, 73, 63 Weight: 130, 140, 102, 140, 145, 157, 130, 190, 135 2. (CLO 1) Construct a confidence interval to estimate the mean height and the mean weight by completing the following: a. Find the sample mean and the sample standard deviation of the height. b. Find the sample mean and the sample standard deviation of the weight. c. Construct and interpret a confidence interval to estimate the mean height. d. Construct...
The income level of 4 individuals in country A are $150, $140, $210, and $220. The...
The income level of 4 individuals in country A are $150, $140, $210, and $220. The poverty line is $200. The HCR, PG, PGI, TPG. and SPGI are A: 50%; 27.5; 20; 110; 0.058 B: 50%; 27.5; 13.75; 110; 0.038 C. 50%; 20; 13.75; 80; 0.038 D. 50%; 27.5; 16.75; 140; 0.068
Suppose a consumer values a certain 19-inch television set at$150, and the seller is unwilling...
Suppose a consumer values a certain 19-inch television set at $150, and the seller is unwilling to sell the set forless than $200. What price will lead to an efficient transaction between the potential buyer and seller?A) a price of $0B) any price greater than $0 and less than $150C) any price greater than or equal to $150 and less than or equal to $200D) any price greater than $200E) No price will lead to an efficient transaction
why does the starting capacitor has dual values 100/130 or values in a range whereas the...
why does the starting capacitor has dual values 100/130 or values in a range whereas the running capacitor has only one value?In starting capacitor which value should be consider in designing higher value or lower value?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT