Latency IPv4 vs IPv6
Understanding the difference
Alexander Azimov
<aa@qrator.net>
Previous latency study
Evaluating IPv6 Adoption in the Internet
2010 - IPv6 is faster.
Previous latency study
Launch+365 (2012)
2012 - IPv6 is faster. Again.
How it could be?
IPv6 Internet graph is subset of
IPv4 Internet graph
𝐺𝐼𝑃𝑣6 ⊆ 𝐺𝐼𝑃𝑣4
↓
𝑙𝑎𝑡𝑒𝑛𝑐𝑦 𝐺𝐼𝑃𝑣6 ≥ 𝑙𝑎𝑡𝑒𝑛𝑐𝑦 𝐺𝐼𝑃𝑣4
How it could be?
IPv6 Internet graph is subset of
IPv4 Internet graph
𝐺𝐼𝑃𝑣6 ⊆ 𝐺𝐼𝑃𝑣4
↓
𝑙𝑎𝑡𝑒𝑛𝑐𝑦 𝐺𝐼𝑃𝑣6 ≥ 𝑙𝑎𝑡𝑒𝑛𝑐𝑦 𝐺𝐼𝑃𝑣4
Incorrect
?
Comparing IP Graphs
IPv4 IPv6
Number of AS 50157 9616
Number of links 193466 54425
Number of c2p links 90386 16051
Number of p2p links 103047 38372
Density of p2p is slightly higher in IPv6 then in IPv4.
But still no clear evidence.
But we don’t see all paths…
Possible Paths
But we could make assumption about
possible paths!
c2p c2p
c2p p2p
c2p p2c
p2p p2c
p2c p2p
AS1 AS2 AS3
Comparing IP Graphs
IPv4 IPv6
Number of AS 50157 9616
Number of links 193466 54425
Number of c2p links 90386 16051
Number of p2p links 103047 38372
Possible Paths 96 x 10^6 12 x 10^6
Density in IPv6 is less then IPv4.
Still no evidence… 
Difference between IP Graphs
IPv4/IPv6 IPv6/IPv4
Number of links 139438 9578
Number of c2p links 77028 1211
Number of p2p links 62094 8360
Possible Paths 89 x 10^6 5.8 x 10^6
The difference ratio IPv6/IPv4 > 45%
Interesting!
IPv4 IPv6
Number of AS 50157 9616
Number of links 193466 54425
Number of c2p links 90386 16051
Number of p2p links 103047 38372
Possible Paths 96 x 10^6 12 x 10^6
Connectivity
AS
prefixes
𝐶𝑜𝑛𝑛𝑒𝑐𝑡𝑖𝑣𝑖𝑡𝑦 𝐴𝑆 =
𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒(𝑝𝑟𝑒𝑓𝑖𝑥, 𝑠𝑝𝑒𝑎𝑘𝑒𝑟)𝑠𝑝𝑒𝑎𝑘𝑒𝑟𝑠𝑝𝑟𝑒𝑓𝑖𝑥𝑒𝑠
|𝑠𝑝𝑒𝑎𝑘𝑒𝑟𝑠| × |𝑝𝑟𝑒𝑓𝑖𝑥𝑒𝑠|
Latency should linearly depend on connectivity
Speakers that export
BGP views to RIPE or
RouteViews
When IPv4 is faster IPv6?
Connectivity v4 Connectivity v6 AS Relations v4 AS Relations v6
AS38064 4.0574 7.9215
c2p AS4770
c2p AS9560
c2p AS24192
c2p AS9560
AS132043 3.557 5.8953
c2p AS9583
c2p AS18101
c2p AS55824
c2p 55824
AS39537 2.27792 4.5904
c2p AS8553
c2p AS174
c2p 6777
c2p 41847
+p2p
c2p AS8553
AS41401 2.8269 5.0108
c2p AS3292
c2p AS35121
c2p 41943
c2p 41943
When IPv6 graph is subgraph of IPv4 graph. As it should be.
When IPv6 is faster IPv4?
Connectivity v4 Connectivity v6 AS Relations v4 AS Relations v6
AS262934 6.0239 2.1081
c2p AS52324
c2p AS52465
c2p AS6939
AS52465 5.9786 2.1189 c2p AS262770 c2p AS6939
AS27912 5.27355 2.1129
c2p AS23383
c2p AS27696
c2p AS6939
AS42772 5.26224 2.1075
c2p AS6697
c2p AS12406
c2p AS6939
When in IPv6 you become client of AS6939!
AS6939 in IPv6 is smart choice
TOP 5 connectivity in IPv4 TOP 5 connectivity in IPv6
AS Connectivity AS Connectivity
8075/Microsoft 1.18545 6939/HE 1.17805
15169/Google 1.29763 8075/Microsoft 1.20592
6939/HE 1.35115 15169/Google 1.38314
3856/PCH 1.3598 9002/RETN 1.4785
12989/Eweka 1.42068 36351/Softlayer 1.49182
Closer Look at 6939
TOP 5 direct customers in IPv4 TOP 5 direct customers in IPv6
AS Connectivity AS Customers
174/Cogent 4349 6939/HE 2245
3356/Level3 4034 174/Cogent 1129
7018/ATT 2222 3356/Level3 1009
4323/TW 1862 1299/Telia 562
209/Qwest 1564 2914/NTT 553
Closer Look at 6939
IPv4 IPv6
7016939 -- p2p
33566939 -- p2p
35496939 -- p2p
64536939 -- p2p
29146939 -- p2p
32576939 -- p2p
2096939 -- c2p
And every third triple (AS1->AS2->AS3) in IPv6
goes through AS6939!
Conclusions
• When you compare IPv4 and IPv6 latency you
compare latency in two different Internets;
• The result greatly differs from one AS to
another;
• The routing policy of your AS could affect
global latency if you are Hurricane Electric 
• With growth of IPv6 traffic the IPv4 and IPv6
graphs should become less different.
Questions?
Thank you for listening!

More Related Content

PDF
Latency i pv4 vs ipv6
PPTX
Comparative study of IPv4 and IPv6 on Windows and Linux.
PDF
ID IGF 2016 - Infrastruktur 2 - IPv4 vs IPv6
PPTX
IPv4 vs IPv6
PPTX
Типовые уязвимости систем ДБО
PDF
Rc uskov
PPT
Методы обхода Web Application Firewall
PDF
пр личная эффективность 2014 07
Latency i pv4 vs ipv6
Comparative study of IPv4 and IPv6 on Windows and Linux.
ID IGF 2016 - Infrastruktur 2 - IPv4 vs IPv6
IPv4 vs IPv6
Типовые уязвимости систем ДБО
Rc uskov
Методы обхода Web Application Firewall
пр личная эффективность 2014 07

Viewers also liked (17)

PDF
пр работа с информацией 2014 09
PPTX
Уязвимости систем ДБО в 2011-2012 гг.
PPTX
Typical Vulnerabilities of E-Banking Systems
PPTX
Статистика по результатам тестирований на проникновение и анализа защищенност...
PDF
Ipv4 & ipv6
PPTX
Истории из жизни. Как взламывают сети крупных организаций.
PPTX
Демонстрация атаки на ДБО
PPTX
Типовые проблемы безопасности банковских систем
PPTX
IPV4 vs IPV6
PPT
Comparison between ipv4 and ipv6
PDF
пр Увольнение за разглашение КТ
PPTX
Безопасность сессий в веб-приложениях: практическое применение
PDF
Как максимизировать личную эффективность - Михаил Мурашев
PDF
пр Инструменты Тайм-менеджмента, которые работают
PDF
пр 5 почему аутсорсинга ИБ
PDF
Отряд тест-аналитиков
PPTX
Тестирование беспроводных интерфейсов
пр работа с информацией 2014 09
Уязвимости систем ДБО в 2011-2012 гг.
Typical Vulnerabilities of E-Banking Systems
Статистика по результатам тестирований на проникновение и анализа защищенност...
Ipv4 & ipv6
Истории из жизни. Как взламывают сети крупных организаций.
Демонстрация атаки на ДБО
Типовые проблемы безопасности банковских систем
IPV4 vs IPV6
Comparison between ipv4 and ipv6
пр Увольнение за разглашение КТ
Безопасность сессий в веб-приложениях: практическое применение
Как максимизировать личную эффективность - Михаил Мурашев
пр Инструменты Тайм-менеджмента, которые работают
пр 5 почему аутсорсинга ИБ
Отряд тест-аналитиков
Тестирование беспроводных интерфейсов
Ad

Similar to 170 azimov.latency-i pv4-vs-ipv6-understanding-the-difference (20)

PPTX
Ipv4 over ipv6 by Jigar Tarsariya
PPTX
I pv4 vs ipv6
PPT
I pv4 and ipv6
PPTX
Introduction to ipv6 v1.3
PDF
Why We Need IPv6
PDF
Describe the similarities and differences between IPv4 & IPv6.So.pdf
PDF
A Survey On Next Generation Internet Protocol IPv6
PPTX
module 4.pptx
PPT
Basics on IPV4 & IPv6 with comparison.ppt
DOCX
PPTX
Introduction to IPv6-UoN
PDF
Iccns2008 Cp15
PPTX
6421 b Module-04
PPTX
IPv6 - The Next next generation protocol
PPTX
CN Unit 4.pptx related to ip network klk;k;hgkjkgkdk
PPTX
Understanding Ipv4 vs IPv6 key features difference.pptx
PPTX
Compatibility between IPv4 and IPv6
PDF
Ipv Technical White Paper Wp111504
PDF
Ipv6 Technical White Paper Wp111504
Ipv4 over ipv6 by Jigar Tarsariya
I pv4 vs ipv6
I pv4 and ipv6
Introduction to ipv6 v1.3
Why We Need IPv6
Describe the similarities and differences between IPv4 & IPv6.So.pdf
A Survey On Next Generation Internet Protocol IPv6
module 4.pptx
Basics on IPV4 & IPv6 with comparison.ppt
Introduction to IPv6-UoN
Iccns2008 Cp15
6421 b Module-04
IPv6 - The Next next generation protocol
CN Unit 4.pptx related to ip network klk;k;hgkjkgkdk
Understanding Ipv4 vs IPv6 key features difference.pptx
Compatibility between IPv4 and IPv6
Ipv Technical White Paper Wp111504
Ipv6 Technical White Paper Wp111504
Ad

Recently uploaded (20)

PPTX
Top Website Bugs That Hurt User Experience – And How Expert Web Design Fixes
PPTX
module 1-Part 1.pptxdddddddddddddddddddddddddddddddddddd
PDF
Course Overview and Agenda cloud security
PDF
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
PDF
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
PDF
Buy Cash App Verified Accounts Instantly – Secure Crypto Deal.pdf
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PPTX
AI_Cyberattack_Solutions AI AI AI AI .pptx
PPTX
The-Importance-of-School-Sanitation.pptx
PDF
Uptota Investor Deck - Where Africa Meets Blockchain
PDF
si manuel quezon at mga nagawa sa bansang pilipinas
PPTX
Database Information System - Management Information System
PPTX
artificialintelligenceai1-copy-210604123353.pptx
PDF
Exploring The Internet Of Things(IOT).ppt
PDF
Lean-Manufacturing-Tools-Techniques-and-How-To-Use-Them.pdf
PDF
simpleintnettestmetiaerl for the simple testint
PPTX
curriculumandpedagogyinearlychildhoodcurriculum-171021103104 - Copy.pptx
PPTX
Internet Safety for Seniors presentation
PDF
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
PDF
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
Top Website Bugs That Hurt User Experience – And How Expert Web Design Fixes
module 1-Part 1.pptxdddddddddddddddddddddddddddddddddddd
Course Overview and Agenda cloud security
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
Buy Cash App Verified Accounts Instantly – Secure Crypto Deal.pdf
Mathew Digital SEO Checklist Guidlines 2025
AI_Cyberattack_Solutions AI AI AI AI .pptx
The-Importance-of-School-Sanitation.pptx
Uptota Investor Deck - Where Africa Meets Blockchain
si manuel quezon at mga nagawa sa bansang pilipinas
Database Information System - Management Information System
artificialintelligenceai1-copy-210604123353.pptx
Exploring The Internet Of Things(IOT).ppt
Lean-Manufacturing-Tools-Techniques-and-How-To-Use-Them.pdf
simpleintnettestmetiaerl for the simple testint
curriculumandpedagogyinearlychildhoodcurriculum-171021103104 - Copy.pptx
Internet Safety for Seniors presentation
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf

170 azimov.latency-i pv4-vs-ipv6-understanding-the-difference

  • 1. Latency IPv4 vs IPv6 Understanding the difference Alexander Azimov <aa@qrator.net>
  • 2. Previous latency study Evaluating IPv6 Adoption in the Internet 2010 - IPv6 is faster.
  • 3. Previous latency study Launch+365 (2012) 2012 - IPv6 is faster. Again.
  • 4. How it could be? IPv6 Internet graph is subset of IPv4 Internet graph 𝐺𝐼𝑃𝑣6 ⊆ 𝐺𝐼𝑃𝑣4 ↓ 𝑙𝑎𝑡𝑒𝑛𝑐𝑦 𝐺𝐼𝑃𝑣6 ≥ 𝑙𝑎𝑡𝑒𝑛𝑐𝑦 𝐺𝐼𝑃𝑣4
  • 5. How it could be? IPv6 Internet graph is subset of IPv4 Internet graph 𝐺𝐼𝑃𝑣6 ⊆ 𝐺𝐼𝑃𝑣4 ↓ 𝑙𝑎𝑡𝑒𝑛𝑐𝑦 𝐺𝐼𝑃𝑣6 ≥ 𝑙𝑎𝑡𝑒𝑛𝑐𝑦 𝐺𝐼𝑃𝑣4 Incorrect ?
  • 6. Comparing IP Graphs IPv4 IPv6 Number of AS 50157 9616 Number of links 193466 54425 Number of c2p links 90386 16051 Number of p2p links 103047 38372 Density of p2p is slightly higher in IPv6 then in IPv4. But still no clear evidence. But we don’t see all paths…
  • 7. Possible Paths But we could make assumption about possible paths! c2p c2p c2p p2p c2p p2c p2p p2c p2c p2p AS1 AS2 AS3
  • 8. Comparing IP Graphs IPv4 IPv6 Number of AS 50157 9616 Number of links 193466 54425 Number of c2p links 90386 16051 Number of p2p links 103047 38372 Possible Paths 96 x 10^6 12 x 10^6 Density in IPv6 is less then IPv4. Still no evidence… 
  • 9. Difference between IP Graphs IPv4/IPv6 IPv6/IPv4 Number of links 139438 9578 Number of c2p links 77028 1211 Number of p2p links 62094 8360 Possible Paths 89 x 10^6 5.8 x 10^6 The difference ratio IPv6/IPv4 > 45% Interesting! IPv4 IPv6 Number of AS 50157 9616 Number of links 193466 54425 Number of c2p links 90386 16051 Number of p2p links 103047 38372 Possible Paths 96 x 10^6 12 x 10^6
  • 10. Connectivity AS prefixes 𝐶𝑜𝑛𝑛𝑒𝑐𝑡𝑖𝑣𝑖𝑡𝑦 𝐴𝑆 = 𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒(𝑝𝑟𝑒𝑓𝑖𝑥, 𝑠𝑝𝑒𝑎𝑘𝑒𝑟)𝑠𝑝𝑒𝑎𝑘𝑒𝑟𝑠𝑝𝑟𝑒𝑓𝑖𝑥𝑒𝑠 |𝑠𝑝𝑒𝑎𝑘𝑒𝑟𝑠| × |𝑝𝑟𝑒𝑓𝑖𝑥𝑒𝑠| Latency should linearly depend on connectivity Speakers that export BGP views to RIPE or RouteViews
  • 11. When IPv4 is faster IPv6? Connectivity v4 Connectivity v6 AS Relations v4 AS Relations v6 AS38064 4.0574 7.9215 c2p AS4770 c2p AS9560 c2p AS24192 c2p AS9560 AS132043 3.557 5.8953 c2p AS9583 c2p AS18101 c2p AS55824 c2p 55824 AS39537 2.27792 4.5904 c2p AS8553 c2p AS174 c2p 6777 c2p 41847 +p2p c2p AS8553 AS41401 2.8269 5.0108 c2p AS3292 c2p AS35121 c2p 41943 c2p 41943 When IPv6 graph is subgraph of IPv4 graph. As it should be.
  • 12. When IPv6 is faster IPv4? Connectivity v4 Connectivity v6 AS Relations v4 AS Relations v6 AS262934 6.0239 2.1081 c2p AS52324 c2p AS52465 c2p AS6939 AS52465 5.9786 2.1189 c2p AS262770 c2p AS6939 AS27912 5.27355 2.1129 c2p AS23383 c2p AS27696 c2p AS6939 AS42772 5.26224 2.1075 c2p AS6697 c2p AS12406 c2p AS6939 When in IPv6 you become client of AS6939!
  • 13. AS6939 in IPv6 is smart choice TOP 5 connectivity in IPv4 TOP 5 connectivity in IPv6 AS Connectivity AS Connectivity 8075/Microsoft 1.18545 6939/HE 1.17805 15169/Google 1.29763 8075/Microsoft 1.20592 6939/HE 1.35115 15169/Google 1.38314 3856/PCH 1.3598 9002/RETN 1.4785 12989/Eweka 1.42068 36351/Softlayer 1.49182
  • 14. Closer Look at 6939 TOP 5 direct customers in IPv4 TOP 5 direct customers in IPv6 AS Connectivity AS Customers 174/Cogent 4349 6939/HE 2245 3356/Level3 4034 174/Cogent 1129 7018/ATT 2222 3356/Level3 1009 4323/TW 1862 1299/Telia 562 209/Qwest 1564 2914/NTT 553
  • 15. Closer Look at 6939 IPv4 IPv6 7016939 -- p2p 33566939 -- p2p 35496939 -- p2p 64536939 -- p2p 29146939 -- p2p 32576939 -- p2p 2096939 -- c2p And every third triple (AS1->AS2->AS3) in IPv6 goes through AS6939!
  • 16. Conclusions • When you compare IPv4 and IPv6 latency you compare latency in two different Internets; • The result greatly differs from one AS to another; • The routing policy of your AS could affect global latency if you are Hurricane Electric  • With growth of IPv6 traffic the IPv4 and IPv6 graphs should become less different.