Question: Measure RTTs to the google Web server (www.google.com) for 10 times over 10 minutes in a periodic manner (i.e., one measure at every minute), using
Measure RTTs to the google Web server (www.google.com) for 10 times over 10 minutes in a periodic manner (i.e., one measure at every minute), using the following ping command:
For DOS: ping -n 2 www.google.com (or any other portal server)
For MAC/Linux: ping -c 2 www.google.com (or any other portal server)
- (5 pt.) Provide a screenshot that shows ten measured RTTs (one measure at every minute). For every measure, provide date and time information before running ping. If necessary, you can provide more than one screenshot.
For DOS: echo %DATE% %TIME%
For MAC/Linux: date
- (10 pt.) Estimate RTT using the TCP EstimatedRTT equation defined in Chapter 3. Show SampleRTT and EstimatedRTT at each round of measure. The equation is as follows:
EstimatedRTT1 = SampleRTT1
EstimatedRTTi= (1- a)*EstimatedRTTi-1 + a*SampleRTTi (a = 0.125), for i>1
Note that EstimatedRTTi and SampleRTTi are for Round i. Take the average RTT for SampleRTT.
Show your computation and fill in the following table based on the calculation. Ignore the first round of EstimatedRTT.
| Round (i) | SampleRTTi | EstimatedRTTi |
| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
- (5 pt.) Make a line plot from the table, showing SampleRTT and EstimatedRTT over rounds (i.e., the x-axis is for round numbers and the y-axis is for latency).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
