当前位置:网站首页>Is IPv6 faster than IPv4?

Is IPv6 faster than IPv4?

2022-06-23 10:09:00 CSDN information

6eb71fed9702e6943cfe6cb7aa169e0e.gif

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 .

6920992b80ea2c6f397b43bcfc87a9b2.png

bba0c425d6ced45f59d914ed9de1e26d.png

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 .

f81d8b33ffd1108bfb33c6037f299514.png

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.

6b14943d4159d1bf96ee81f561ec8906.png

result

56f3cd01688668f6754f9069a2b6159f.png

surface 1.0:IPv4 And IPv6 Total delay result of

112aa85931f5b6d1ce17f2fa2af04378.png

chart 1.0:IPv4 Total delay of

fruit

858cd961cd9f245906f2f522951a7060.png

chart 2.0:IPv6 Total delay result of

9660d1535f00eda498384c83035a2028.png

surface 2.0:WLAN Of IPv4 And IPv6 Delay of

a1972a2777bc9ade3f8873641e94cdaa.png

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 .

ca733e6db8e553a6944549923ecc1f08.png

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 !

47909853999ad08cdaff4bf0f2b3cb6c.png

— Click here ↓↓↓ Remember to pay attention to the target star ~— 

原网站

版权声明
本文为[CSDN information]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206230951366609.html