当前位置:网站首页>Is IPv6 faster than IPv4?
Is IPv6 faster than IPv4?
2022-06-23 10:09:00 【CSDN information】

translator | Meniscus
Produce | CSDN(ID:CSDNnews)
This article is summarized in one sentence :IPv6 Faster than IPv4 Come on 39%( Local only !).
In order to figure out the problem as shown in the question , We decided to analyze 30 Anonymous data collected by a series of monitoring agents within days . For the sake of simplicity , We only analyze the round trip time from the client to the default gateway (Round Trip Time, namely RTT). This sub path does not cover the whole process of accessing Internet resources , Only the first part of the journey is included ( Usually by Wi-Fi transmission ), Its uncertainty is also the greatest .
There are many subtle differences that may affect our preliminary results , Including but not limited to the size of the data set 、 Differences in equipment 、 operating system 、 medium 、 agreement 、CoS Type, etc. . However , Because of the difficulties , We decided to study a simple but easy to compare indicator . If you have any ideas or suggestions about our data and analysis results , Leave a comment below .


Method
To answer this question , We use a method called PanSift Tools for , I hope to use this tool to ensure Wi-Fi Transmission and remote troubleshooting . We have collected 240 Million network related gateway data points . In order to collect these data , We chose... At random 16 individual macOS machine , Then each 30 Seconds to collect data ( Our data retention period is up to 30 God ).
this 16 platform macOS The machine is online all day , And support dual protocol stack ( That is, a single node supports IPv4 and IPv6 Two protocol stacks ), Not just local connections . This can make the comparison more fair , Because the outgoing traffic must traverse all nodes and gateways in the connection . in addition , Please note that PanSift The data will not be processed in a standardized way , And keep the index of complete fidelity . such , We can do fine-grained analysis , Even trace back to troubleshooting . Support while filtering out IPv4 and IPv6 After the data of , In all, we got 342,980 Valid data points .

Uncover the secrets of deep technology
PanSift Every agent 30 Seconds through the command ping(IPv4) and ping6(IPv6) send out 3 individual ICMP echo_requests, It will also COS( Service level ) Set to “Best Effort”.ping and ping6 The options used are as follows :
-c 3: send out 3 A request , Then stop .
-i 1: Wait between two requests 1 second ( Default ).
-k BE:Best Effort, General class ( Default ).
Be careful : Although the above options are the default values , But we have clearly given the options , This will remind you to make further adjustments in the future . We also provide the gateway ICMP Set up 5 Seconds' parent process timed out . Send... First IPv4 request , And then there was IPv6, We find out 3 Average latency of requests , As a result data point ( Use floating point values in milliseconds ).
Then the query Influx Back end ( Time series database ). The data in the data frame spans macOS edition 10.11.x、10.14.x、10.15.x、11.6.x and 12.x, Device type from iMAC To Mini, But mainly Macbook Airs and MacBook Pro.
then , Use Influx Scripting language Flux, A simple comparison IPv4 and IPv6.
Be careful , For the sake of simplicity , We will also ( floating-point ) The value is rounded to an integer , In order to be quick 、 Compare fairly IPv4 and IPv6.

result

surface 1.0:IPv4 And IPv6 Total delay result of

chart 1.0:IPv4 Total delay of
fruit

chart 2.0:IPv6 Total delay result of

surface 2.0:WLAN Of IPv4 And IPv6 Delay of

surface 3.0: The cable IPv4 And IPv6 Delay of *
* We need a broader data set , Because most of the machine's data comes from simultaneous connections Wi-Fi / WLAN The host . The wired hardware we recorded is mainly “USB LAN” and “USB-C LAN”, Some of the hardware may be less than Gigabit (1000 Mbps). therefore , We also need to get the output on different hardware , however IPv4 and IPv6 All use the same hardware to transmit data .

Plan for the next step
Next , We intend to extend the above analysis , And then take a look :
● Whether it is connected with the gateway MAC Address ( And suppliers OUI) of .
● Whether it is related to some client device types 、 Operating system version or patch level .
● Whether a larger sample set of dual stack devices will produce the same results .
Original address :https://pansift.com/blog/is-ipv6-faster-than-ipv4/
— Recommended reading —
*M2 Chip analysis : It seems to be an enhanced version A15?
* front AMD Chip architect roast , Cancel K12 The processor project is because AMD Encouraged !
* Xuetong is exposed to information leakage : super 1.7 Billion pieces of private data are sold 1.2 Ten thousand yuan , It even contains passwords !
— Click here ↓↓↓ Remember to pay attention to the target star ~—
边栏推荐
- Shengshihaotong enables high-quality development with industrial Digitalization
- 验证码redis实践总结
- Tencent tangdaosheng: practice "science and technology for the good" and promote sustainable social value innovation
- Alimentation des animaux de compagnie basée sur stm32
- 高性能算力中心 — NVMe/NVMe-oF — NVMe-oF Overview
- 2021-04-16数组
- 同花顺是炒股的么?在线开户安全么?
- AI system frontier dynamics issue 38: Google has abandoned tensorflow?; Four GPU parallel strategies for training large models; Father of llvm: modular design determines AI future
- I have been promoted. How can I get along with my former colleagues at the same level?
- 2021-04-12 the first implementation of linked list!!!
猜你喜欢

AI system frontier dynamics issue 38: Google has abandoned tensorflow?; Four GPU parallel strategies for training large models; Father of llvm: modular design determines AI future

Golang 快速上手 (3)

数值计算方法

Pet Feeder Based on stm32

2021-04-15

Go 字符串比较

数学分析_笔记_第2章:实数与复数

用贪吃蛇小游戏表白(附源码)

Lying trough, the most amazing paper artifact!

安装typescript环境并开启VSCode自动监视编译ts文件为js文件
随机推荐
CVPR大会现场纪念孙剑博士,最佳学生论文授予同济阿里,李飞飞获黄煦涛纪念奖...
Liujinhai, architect of zhongang Mining: lithium battery opens up a Xintiandi for fluorine chemical industry
Getting started with cookies and sessions
High performance computing center Infiniband overview
Personal blog system graduation project opening report
搭建一个QQ机器人叫女友起床
STM32F1与STM32CubeIDE编程实例-红外寻迹传感器驱动
How does thymeleaf get the value of the request parameter in the URL?
Install using snap in opencloudos NET 6
RT thread add MSH command
AI系统前沿动态第38期:谷歌已放弃TensorFlow?;训练大模型的四种GPU并行策略;LLVM之父:模块化设计决定AI前途
【软件与系统安全】堆溢出
Find minimum in rotated sorted array
mysql乐观锁与悲观锁
2021-05-11static关键字
Mysql database introduction summary
Pet Feeder Based on stm32
Qiming Xingchen Huadian big data quantum security innovation laboratory was unveiled and two black technology products were released
Confessing with Snake games (with source code)
Three implementation methods of distributed lock