dissecting round trip time on the slow path with a single ... · dissecting round trip time on the...

32
Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta, Alessio Botta, Ethan Katz-Bassett, Antonio Pescapè Pietro Marchetta, Alessio Botta, Ethan Katz-Bassett, Antonio Pescapè University of Napoli Federico II, Napoli, Italy University of Southern California, Los Angeles, CA, USA

Upload: others

Post on 14-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Dissecting Round Trip Time on the

Slow Path with a Single Packet

Pietro Marchetta, Alessio Botta, Ethan Katz-Bassett, Antonio PescapèPietro Marchetta, Alessio Botta, Ethan Katz-Bassett, Antonio Pescapè

University of Napoli Federico II, Napoli, ItalyUniversity of Southern California, Los Angeles, CA, USA

Page 2: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Round Trip Time (RTT): time to send a data packet and

receive its response

• Often used to infer the status of the network or of a network

path (e.g. through ping)

• For deriving application performance, for detecting anomalies, etc.

Introduction

Italian Networking Workshop 2015 2

• For deriving application performance, for detecting anomalies, etc.

Problem: RTT comprises all the delays experienced along

the forward and reverse path!

Which part of the network is giving which contribution to

the RTT?

Page 3: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Example scenario 1• You are in a corporate network, reaching the Internet through one

or multiple providers

• You are experiencing bad performance

Italian Networking Workshop 2015 3

• You want to understand if the provider is responsible

• To file a ticket

• To switch provider

• …

Page 4: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Example scenario 2

• You are at home and observe anomalous performance

Italian Networking Workshop 2015 4

• You would like to know if the issue has to do with your home network (e.g. your son using bandwidth-hungry apps)

Page 5: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

• We want to dissect the RTT in its components in order to isolate the contributions of the different parts of the network

• Teasing apart the contributing factors of RTT values is hard!

In general…

Italian Networking Workshop 2015 5

hard!

How to evaluate the relative impact of each subpathon the total experienced RTT?

• Traceroute and Ping?

Page 6: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

We may do a traceroute towards the destination and observe the

various RTT reported by the tool

Dissecting the Round Trip Time: traceroute

AS2907

Italian Networking Workshop 2015 6

AS7527

AS4675

Average

It is not uncommon to observe RTT of intermediate

hops higher than the RTT of the destination

Page 7: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Dissecting the Round Trip Time: ping

We may do a traceroute towards the destination and then ping an

intermediate hop and the destination, and compare the RTT

Destination RTT > Intermediate RTT

Italian Networking Workshop 2015 7

Same problem here: the RTT to intermediate hops

may appear higher than the RTT to the destination

Destination RTT < Intermediate RTT

Page 8: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

• The RTT to intermediate hops may appear higher than

the RTT to the destination for several reasons

1. Different probes experiencing different network conditions

2. Intermediate hop not part of the reverse path

What happens?

Italian Networking Workshop 2015 8

3. Intermediate hop very slow answering

4. Forward path toward the intermediate hop not part of the

forward path toward the destination

• destination-based routing

5. …

Page 9: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Goal: dissect the RTT into two chunks, at one

router

• Approach: use a single IP Timestamp probe

• Setting

Our proposal

Italian Networking Workshop 2015 9

• Setting

• dissects at a router that

• appears on both forward and reverse path

• honors the IP Timestamp option

Page 10: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

• Lets the sender specify up to four IP to request

timestamp from

• The incoming option is replicated by the destination

inside the ICMP Echo Reply

• It has been used by several works recently for multiple

IP timestamp option

Italian Networking Workshop 2015 10

• It has been used by several works recently for multiple

objectives (alias resolution, infer router CPU load, etc.)

Page 11: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

D

Using a single packet equipped with the Timestamp option

Our proposal: how it works

Key Idea: the intermediate hop is

requested to insert one Timestamp

along the forward and reverse path

Italian Networking Workshop 2015 11

S

W

TS1

Forward Path Reverse Path

Local clock at S

Local clock at W

Local clock at D

Page 12: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Using a single packet equipped with the Timestamp option

D

Our proposal: how it works

Key Idea: the intermediate hop is

requested to insert one Timestamp

along the forward and reverse path

Italian Networking Workshop 2015 12

S

W

TS1

TW1

Forward Path Reverse Path

Local clock at S

Local clock at W

Local clock at D

Page 13: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

D

Our proposal: how it worksUsing a single packet equipped with the Timestamp option

Key Idea: the intermediate hop is

requested to insert one Timestamp

along the forward and reverse path

Italian Networking Workshop 2015 13

S

W

TS1

TW1

TD1

Forward Path Reverse Path

Local clock at S

Local clock at W

Local clock at D

Page 14: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

D

Our proposal: how it worksUsing a single packet equipped with the Timestamp option

Key Idea: the intermediate hop is

requested to insert one Timestamp

along the forward and reverse path

Italian Networking Workshop 2015 14

S

W

TS1

TW1

TD1

Forward Path Reverse Path

TD2

Local clock at S

Local clock at W

Local clock at D

Page 15: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

D

Our proposal: how it worksUsing a single packet equipped with the Timestamp option

Key Idea: the intermediate hop is

requested to insert one Timestamp

along the forward and reverse path

Italian Networking Workshop 2015 15

S

W

TS1

TW1

TD1

Forward Path Reverse Path

TD2

TW2Local clock at S

Local clock at W

Local clock at D

Page 16: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

D

Our proposal: how it worksUsing a single packet equipped with the Timestamp option

Key Idea: the intermediate hop is

requested to insert one Timestamp

along the forward and reverse path

Italian Networking Workshop 2015 16

S

W

TS1

TW1

TD1

TS2

Forward Path Reverse Path

TD2

TW2Local clock at S

Local clock at W

Local clock at D

Page 17: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

D

Our proposal: how it worksUsing a single packet equipped with the Timestamp option

Key Idea: the intermediate hop is

requested to insert one Timestamp

along the forward and reverse path

Italian Networking Workshop 2015 17

S

W

TS1

TW1

TD1

TS2

Forward Path Reverse Path

RTT (S,D)

TD2

TW2Local clock at S

Local clock at W

Local clock at D

Page 18: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

D

Our proposal: how it worksUsing a single packet equipped with the Timestamp option

Key Idea: the intermediate hop is

requested to insert one Timestamp

along the forward and reverse path

RTT(W,D)

Italian Networking Workshop 2015 18

S

W

TS1

TW1

TD1

TS2

Forward Path Reverse Path

RTT (S,D)

TD2

TW2Local clock at S

Local clock at W

Local clock at D

Page 19: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

D

Our proposal: how it works

Key Idea: the intermediate hop is

requested to insert one Timestamp

along the forward and reverse path

Using a single packet equipped with the Timestamp option

RTT(W,D)

Italian Networking Workshop 2015 19

S

W

TS1

TW1

TD1

TS2

Forward Path Reverse Path

RTT(S,W)

RTT (S,D)

TD2

TW2Local clock at S

Local clock at W

Local clock at D

Page 20: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

• Simple approach

• Single packet

• Collects 6 timestamps, 2 from source, 2 from intermediate

hop and 2 from destination

• Standard ping tool

Our proposal: summary

Italian Networking Workshop 2015 20

• Standard ping tool

• Works on the slow path

• It needs a compliant router along path

• Honors the timestamp option

• Appears on both forward and reverse path

Page 21: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Evaluation

Applicability of the proposed approach

• We evaluated how many nodes per path are available for dissecting the RTT (i.e. are compliant with our approach)

• And where they are located along the path

Two use cases as proof of concept

Italian Networking Workshop 2015 21

Two use cases as proof of concept

• Understanding if an anomalous behavior is caused by the ISP (isolating the contribution of an entire AS)

• Understanding if an anomalous behavior is caused by the home network (isolating the contribution of this LAN)

Page 22: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Applicability: experiments performed

• We identified a set of compatible destinations

• Honor the timestamp option and are not extra-stampers

• 36% of 1.7M IP addresses probed are compliant

• We randomly selected one representative IP for each AS

• We have 3,133 distinct Ases

Italian Networking Workshop 2015 22

• We have 3,133 distinct Ases

• We performed traceroute towards these destinations and

probed all intermediate hops from 116 PlanetLab nodes

• Our next results are based on a dataset that comprises

223, 548 distinct paths

Page 23: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Applicability: results 1/2

• About 77.4% of the paths

contain at least one

compliant node

• And 27.3% contain more

than four compliant nodes

• On average, we observed

Italian Networking Workshop 2015 23

• On average, we observed

2.5 compliant nodes per

path

• On average, about 17% of

the nodes in each scanned

path are compliant

Page 24: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Applicability: results 2/2• We evaluated the hop distance

of the compliant nodes from the edges

• We evaluated number of compliant nodes on

the path p appearing within v

hops from the source or the

destination

Italian Networking Workshop 2015 24

overall number of

compliant nodes

• About 72% of all the compliant nodes are within 5 hops from the

source or the destination, and about 15% within one hop

• Symmetry does not only happen toward the edges

Page 25: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Use casesUse cases

Page 26: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Assessing the contribution of an AS to the RTT

• We want to evaluate the contribution of our AS to the

RTT toward some destination

• The experiment has been run from PlanetLab

• We show the results of an AS from Japan

Italian Networking Workshop 2015 26

AS2907

AS7527

AS4675

Page 27: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Results on AS contribution to the RTT

Destination RTT > Intermediate RTT

Italian Networking Workshop 2015 27

• Difference between RTT to destination and to intermediate hop is always > 0

• The average contribution of AS2907 is 76.8%• It is 106% according to ping!

Destination RTT < Intermediate RTT

Page 28: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Assessing the contribution of the home network

• Inside a home network

• We found compatible home routers

• NETGEAR DGN2200v3

• We also found compatible second hops

• Allowed to isolate the contribution of the last mile

Italian Networking Workshop 2015 28

• We evaluated the contribution of the home network and of the last mile

• We performed experiments during several days and we show the interesting results

Page 29: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Results on home network contribution 1/2

Italian Networking Workshop 2015 29

• During an overloaded period, the RTT grew in median by 356% (from 69.8 ms to 249 ms)

• The home network always played a marginal role (4.7% of RTT in unloaded and 2.6% in overloaded)

Page 30: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

• Monitoring the RTT of the last mile and of the home network

• We artificially induced congestion toward some destinations

Results on home network contribution 2/2

Italian Networking Workshop 2015 30

destinations

• Congestion did not affect the RTT of the home network but that of the last mile

Page 31: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Conclusion

• We presented an approach to dissect the RTT on the slow path

• Other techniques based on ping and traceroute may provide misleading results

• Our approach uses a single packet with the IP Timestamp option and requires a compliant router

Italian Networking Workshop 2015 31

Timestamp option and requires a compliant router along the path

• A large-scale measurement study from 116 vantage points comprising 223K paths showed that 2.5 router per path on average are compliant

• We reported two use cases to show the possible uses of this approach

Page 32: Dissecting Round Trip Time on the Slow Path with a Single ... · Dissecting Round Trip Time on the Slow Path with a Single Packet Pietro Marchetta , Alessio Botta, Ethan Katz -Bassett,

Thanks!!

Any question?Any question?

[email protected]