Stacking it Up Experimental Observations on the operation of Dual Stack Services Geoff Huston, APNIC RIPE 62 May 2011 1.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

1 A B C
AGVISE Laboratories %Zone or Grid Samples – Northwood laboratory
Trend for Precision Soil Testing % Zone or Grid Samples Tested compared to Total Samples.
Simplifications of Context-Free Grammars
AP STUDY SESSION 2.
1
& dding ubtracting ractions.
Select from the most commonly used minutes below.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Network Layer: Address Mapping, Error Reporting, and Multicasting
Processes and Operating Systems
Stacking it Up Experimental Observations on the operation of Dual Stack Services in todays Network Geoff Huston APNIC R&D February
Stacking it Up Experimental Observations on the operation of Dual Stack Services Geoff Huston, APNIC Labs 1.
Stacking it Up Experimental Observations on the operation of Dual Stack Services Geoff Huston IETF-80 March
Measuring IPv6 Deployment Geoff Huston George Michaelson
Measuring IPv6 Deployment Geoff Huston APNIC R&D August
1 Hyades Command Routing Message flow and data translation.
Stacking it Up Experimental Observations on the operation of Dual Stack Services Geoff Huston IETF-80 March
David Burdett May 11, 2004 Package Binding for WS CDL.
Local Customization Chapter 2. Local Customization 2-2 Objectives Customization Considerations Types of Data Elements Location for Locally Defined Data.
Create an Application Title 1Y - Youth Chapter 5.
CALENDAR.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
The 5S numbers game..
Break Time Remaining 10:00.
The basics for simulations
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
PP Test Review Sections 6-1 to 6-6
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
BEEF & VEAL MARKET SITUATION "Single CMO" Management Committee 22 November 2012.
Chapter 20 Network Layer: Internet Protocol
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
1..
1 TV Viewing Trends Rivière-du-Loup EM - Diary Updated Spring 2014.
Adding Up In Chunks.
FAFSA on the Web Preview Presentation December 2013.
SLP – Endless Possibilities What can SLP do for your school? Everything you need to know about SLP – past, present and future.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
Before Between After.
Subtraction: Adding UP
: 3 00.
5 minutes.
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
1 Let’s Recapitulate. 2 Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
Types of selection structures
Speak Up for Safety Dr. Susan Strauss Harassment & Bullying Consultant November 9, 2012.
Essential Cell Biology
Converting a Fraction to %
Clock will move after 1 minute
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 9 TCP/IP Protocol Suite and IP Addressing.
PSSA Preparation.
& dding ubtracting ractions.
Physics for Scientists & Engineers, 3rd Edition
Select a time to count down from the clock above
Import Tracking and Landed Cost Processing An Enhancement For AS/400 DMAS from  Copyright I/O International, 2001, 2005, 2008, 2012 Skip Intro Version.
Copyright Tim Morris/St Stephen's School
1.step PMIT start + initial project data input Concept Concept.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
FIGURE 3-1 Basic parts of a computer. Dale R. Patrick Electricity and Electronics: A Survey, 5e Copyright ©2002 by Pearson Education, Inc. Upper Saddle.
Schutzvermerk nach DIN 34 beachten 05/04/15 Seite 1 Training EPAM and CANopen Basic Solution: Password * * Level 1 Level 2 * Level 3 Password2 IP-Adr.
Presentation transcript:

Stacking it Up Experimental Observations on the operation of Dual Stack Services Geoff Huston, APNIC RIPE 62 May

If working with one protocol has its problems … 2

Then just how much damage can we do with two protocols? 3

4

Dual Stack End-to-End Service Measurements Examine IPv6 / IPv4 use from the perspective of a service delivery platform (web server) – IPv6 is used by clients only when all the various IPv6 infrastructure components support IPv6, otherwise the client will fall back to IPv4 use – Service metrics for IPv6 are reflective of end-to-end IPv6 capability 5

Methodology Test every web client with 3 different retrieval tasks of a 1x1 pixel image: V6 only Dual-Stack V4 Only Take just one test result for each unique source address per 24 hours Use server packet dump and and web logs as the basis of the analysis Look at retrieval rates, failure behaviour and transaction times 6

Access Combinations V4V6DualNode Type V4V4-Only V6V6-Only V6V6-Preferred V4V6-Capable (V4-Preferred) Dual-Stack Loss 7 TestHost Type

IPv6: could vs will 2% 4% 6% 8% IPv6 Preferred IPv6 Capable May 8 JulSepNovJanMar May 8% 10% 12%

IPv6: could vs will 1% 2% 3% 5% IPv6 Preferred IPv6 Capable Nov 9 DecJanFeb 4% Site C Mar May Apr

Where are we with IPv6? The size of the IPv6 deployment in terms of end-to-end host IPv6 preference is around 0.3% of the total number of Internet end hosts at present However, a further 4% of hosts can use IPv6, even though they prefer IPv4 in dual stack mode. These hosts generally use auto- tunnelled 6to4 for IPv6 access 10

Why is there so much hidden IPv6 capability? Why is the number of client hosts who are capable of performing an end-to-end IPv6 object retrieval 15 times greater than the number of client hosts who prefer to use IPv6 in a dual stack context? 11

Dual-Stack V6 Preferred by Address Type V6 Unicast 6to4 Teredo 0.1% 0.5% 0.3% 12 NovDecJanFebMar May Apr

V6 Unicast 6to4 Teredo 13 1% 2% 3% 4% Dual-Stack V4 Preferred by Address Type NovDecJanFebMar May Apr

Native vs Tunnels Most hosts with unicast IPv6 generally prefer V6 in a dual stack scenario Hosts with 6to4 auto-tunnel capability appear to generally prefer V4 in a dual stack scenario 14

Native vs Tunnels Older versions of dual stack software in hosts preferred IPv6 over IPv4 in all situations, including auto-tunnels – This resulted in very slow and erratic performance when accessing some dual stack servers due to the local IPv6 failure timers For example, Windows XP takes 20 seconds to recover a connection if a 6to4 connection is not functioning correctly Recent OS releases have de-prefed auto-tunneled IPv6 below that of IPv4 15

Performance Observations 16

Performance and Tunnels V6 Unicast 6to4 Teredo +4 Secs +2 Secs -2 Secs 0 Sec Secs NovDecJanFebMar May Apr

Performance and Tunnels 18 Unicast IPv6 performance is on average equivalent to IPv4 performance for web object retrieval Auto-tunnel performance is on average considerably worse – Teredo is highly variable with 1 – 3 seconds of additional delay per retrieval – 6to4 is more consistent with an average 1.2 seconds additional delay per retrieval

Performance and Tunnels Two causes of incremental delay: – Tunnel setup time Stateful Teredo tunnels require initial packet exchanges to set the tunnel up (min 1 x RTT) – Tunnelling can extend the RTT delay addition of tunnel relays between the source and destination This is exacerbated when the forward and reverse paths are asymmteric 19

V4-Only Network V4-Only Network Dual-Stack Network Dual-Stack Network 6to4 Packet Path 20 Client Dual-Stack Server Relay 2002::/16 Relay

V4-Only Network V4-Only Network Dual-Stack Network Dual-Stack Network Partial Mitigation of 6to4 Packet Path 21 Client Dual-Stack Server 2002::/16 Relay Relay

6to4 Performance Setup Time 22

Tunnel RTT Cost 6to4 Performance 23

6to4 Relative Performance 6to4 adds an average of 1.2 seconds to the object retrieval time – note this is one-way (as the server has a local 6to4 relay for the response traffic, so the 6to4 response path is the same as the V4 path) – thats a very long transit time if this is just added transit time – There may be a congestion load delay added in here – But the level of 6to4 traffic is very low, so congestion overload is unlikely 24

Teredo vs 6to4 What we see: – 4% of hosts use 6to4 (native V4, auto-tunnel) – 0.1% of hosts use Teredo (NAT V4, auto-tunnel) 25

Sniffing in the dark… :0:4137:9e76:837:232d:xxx > xxx:563a ICMP6 echo reqTeredo :dba7:xxx::dba7:xxx > xxx:37ca.27653: TCP [S]6to :0:4137:9e76:8e7:3d9f:xxx > xxx:ff79: ICMP6 echo reqTeredo :0:4137:9e76:346c:383:xxx > xxx:70be: ICMP6 echo reqTeredo :0:4137:9e76:3832:35ce:xxx > xxx:6f5f: ICMP6 echo reqTeredo :0:4137:9e76:20e6:1dcb:xxx > xxx:84c1: ICMP6 echo reqTeredo :0:4137:9e76:304a:fbff:xxx > xxx:ab99: ICMP6 echo reqTeredo :dc96:xxx::dc96:xxx > xxx.34a : TCP [S]6to :0:4137:9e76:1c32:d51:xxx > xxx:a609: ICMP6 echo reqTeredo :0:4137:9e76:201a:37d4:xxx > xxx:5908: ICMP6 echo reqTeredo :0:4137:9e76:2c3a:377e:xxx > xxx:5277: ICMP6 echo reqTeredo :0:4137:9e76:87a:fbff:xxx > xxx:856c: ICMP6 echo reqTeredo :0:4137:9e76:2454:1bc2:xxx > xxx:cdb1: ICMP6 echo reqTeredo :0:5ef5:79fd:20c2:3761:xxx > xxx:d562: ICMP6 echo reqTeredo :0:4137:9e76:18ec:1a66:xxx > xxx:fbcf: ICMP6 echo reqTeredo :0:5ef5:79fd:2cd8:228:xxx > xxx:2292: ICMP6 echo reqTeredo :0:4137:9e76:b1:266e:xxx > xxx:5038: ICMP6 echo reqTeredo :0:4137:9e76:2c65:18f:xxx > xxx:cc80: ICMP6 echo reqTeredo :0:4137:9e76:3cac:3497:xxx > xxx:5aa1: ICMP6 echo reqTeredo :0:4137:9e76:14d3:5ca:xxx > xxx:ceee: ICMP6 echo reqTeredo 26 98% of dark traffic in IPv6 is Teredo!!!

Exposing Teredo But why so little Teredo? – Windows Vista and Windows 7 gethostbyname() will not query for a AAAA record if the only local IPv6 interface is Teredo – Can we expose latent Teredo capability? 27

Exposing Teredo Use an IPv6 literal as the object URL: 28

Exposing Teredo 29

Exposing Teredo Use an IPv6 literal as the object URL: – In the context of the experimental setup it was observed that ~30% of the client base successfully fetched this IPv6 URL using Teredo! – Conversely, 70% of the clients did not manage a successful object retrieval of this URL 30

Performance and Tunnels Teredo adds a further performance penalty in the form of state setup between the Teredo relay and the client 31

Teredo Performance Tunnel Setup Time 32

Tunnel RTT Cost Teredo Performance 33

Teredo Relative Performance Teredo adds an average of seconds to the object retrieval time – Teredo setup takes between 0.6 second to 3 seconds – Average RTT cost of Teredo is 300ms – Object retrieval takes ~3 RTT intervals to complete – Total time cost is some 2 seconds on average 34

IPv6 Performance Unicast IPv6 appears to be as fast as IPv4 for object retrieval Auto-tunnelling IPv6 attracts major performance overheads – these are strongly context dependent – widespread deployment of 6to4 relays and Teredo relays and servers would mitigate this, to some extent – Dual Stack servers may want to consider using local 6to4 relays to improve reverse path performance for auto- tunnelling clients 35

Failure Observations 36

Dual Stack Failure How many clients retrieve the V4 only object but DONT retrieve the Dual Stack objects? i.e. how many clients exhibit Dual Stack Failure? 37

Dual Stack Failure Rate % 0.4% 0.6% 0.8% NovDecJanFebMar May Apr

Dual Stack Failure This rate of 0.7% of clients is the rate of failure of IPv4 clients to retrieve a dual stack object 39

Dual Stack Failure This rate of 0.7% of clients is the rate of failure of IPv4 clients to retrieve a dual stack object But this is not a reliable metric of underlying protocol communication failure – This is the rate of failure of the client to retrieve a dual stack object from within a javascript code object – The client may: Not execute the javascript at all User reset of the retrieval before completion In addition to the failure to fallback to IPv4 retrieval 40

Connection Failure To attempt to look more precisely for some instances of connection failure, lets looking for connections that fail after the initial TCP SYN Note that this approach does not detect failure of the initial SYN packet, so the results are a lower bound of total connection failure rates 41 Client Server SYN SYN + ACK ACK X Response fails

Connection Failure 42

IPv6 Connection Failure 43

Is Teredo really THAT good? 44

Teredo Connection Failure Teredo uses an initial ICMPv6 exchange to assist in the Teredo Server / Relay state setup Note that this approach does not detect failure of the initial ICMPv6 echo request, so the results are a lower bound of total connection failure rates 45 Client Server SYN SYN + ACK ACK X SYN fails ICMPv6 Echo Req ICMPv6 Echo Resp X X ICMP fails

No. 46

IPv6 Connection Failure using V6 Literal 47

IPv6 Connection Failure 48 Some 12% - 20% of 6to4 connections fail! – This is a very high failure rate! – The failure is most likely a protocol 41 filter close to the client that prevents incoming 6to4 packets reaching the client Some 40% of Teredo connections fail! – Again this is a very high failure rate – Local ICMP Filters + ???? SYNACK Filters Some 2%-5% of unicast IPv6 connections fail! – This rate is better than auto-tunnels, but is still 20x the rate of IPv4 connection failure

Conclusions What can we say about the performance and robustness of a Dual Stack network environment as a result of these observations? 49

For an Online Service… Converting a service to operate as a Dual Stack service is a viable option in todays environment But: – a small fraction of existing clients will experience a much slower service – a very small fraction of existing clients will fail to connect to the dual stack service at all 50

What about IPv6-Only Services? Is an IPv6-only service a viable option today? Not really. – Only ~4% of the existing client base would successfully connect to an IPv6-only service 51

What about IPv6 Transition? 52

What about IPv6 Transition? End-host auto-tunnelling is not a solution! 53

What about IPv6 Transition? End-host auto-tunnelling is not a solution! – Auto-tunnelling appears to encounter many more performance and reliability problems than it solves in terms of IPv6 connectivity – Auto-tunnelling is not proving to be a useful mainstream transition tool for IPv6 54

What about IPv6 Transition? If we want this transition to operate in a manner where IPv6 operates at least as well as IPv4 then end hosts need to be connected to a IPv6 Unicast service delivered from their service provider 55

Can I run these tests? Of course! 56

Thank You Questions? 57