目录
显示
network-speed.xyz 是国外主机测评今天刚看到的一个用来进行网络性能测试的脚本,也就是我们常说的测速脚本。network-speed 基于 speedtest-ookla,也就是 speedtest.net 的测速节点。与 YABS 最大的区别在于,YABS 是一个一体化的基准脚本 – CPU、网络 (iperf) 和存储速度,而 network-speed 仅关注网络 (speedtest-ookla)。
官网地址:
https://network-speed.xyz
一、network-speed.xyz 脚本介绍
测试以下信息:
- 系统概述:设备核心硬件组件(如CPU,RAM,磁盘等)的快速快照。
- 网络概述:详细信息,包括您的协议类型 (IPv4/v6)、ISP、地理位置和其他基于网络的数据。
- 全面的速度测试:使用著名的 Ookla speedtest.net 服务对世界各地的服务器执行全方位的速度测试,提供速度、延迟和数据包丢失等指标。
- 区域速度测试:通过针对世界特定地区的测试,从区域角度了解您的网络性能,目前包括:
- 北美洲
- 南美洲
- 欧洲
- 亚洲
- 非洲
- 澳大利亚
- 海湾合作委员会中东
- 印度
- 中国
- 伊朗
- 印度尼西亚
- 更多即将推出!
- 统计洞察:网络性能指标的概览摘要,包括速度、数据使用情况和测试持续时间。
- 可共享性:想要分享您的结果?不用担心,每个测试都为您提供了一个方便的可共享链接。
非常感谢Crunchbits LLC赞助托管基础设施。
感谢泰迪森 [email protected] 提供基础 bench.sh 脚本
二、network-speed.xyz 使用方法
全球速度测试(默认):
curl -sL network-speed.xyz | bash
wget -qO- network-speed.xyz | bash
区域速度测试:
region_name = na, sa, eu, asia, africa, middle-east, india, china, iran
curl -sL network-speed.xyz | bash -s -- -r region_name
wget -qO- network-speed.xyz | bash -s -- -r region_name
示例:
wget -qO- network-speed.xyz | bash -s -- -r india
三、network-speed.xyz 输出示例
全球速度测试:
---------------------------- network-speed.xyz ---------------------------- A simple script to test network performance using speedtest-cli --------------------------------------------------------------------------- Version : v2023.09.30 Global Speedtest : wget -qO- network-speed.xyz | bash Region Speedtest : wget -qO- network-speed.xyz | bash -s -- -r <region> --------------------------------------------------------------------------- Basic System Info --------------------------------------------------------------------------- CPU Model : AMD EPYC 7282 16-Core Processor CPU Cores : 4 @ 2794.748 MHz CPU Cache : 512 KB AES-NI : ✔ Enabled VM-x/AMD-V : ❌ Disabled Total Disk : 195.8 GB (3.3 GB Used) Total RAM : 7.8 GB (143.0 MB Used) System uptime : 6 days, 11 hour 51 min Load average : 0.00, 0.01, 0.00 OS : Ubuntu 22.04 LTS Arch : x86_64 (64 Bit) Kernel : 6.5.7 Virtualization : KVM --------------------------------------------------------------------------- Basic Network Info --------------------------------------------------------------------------- IPv6 Access : ❌ Offline IPv4 Access : ✔ Online ISP : Casablanca INT fraction ASN : AS40021 Nubes, LLC Host : Casablanca INT Location : Seattle, Washington-WA, United States --------------------------------------------------------------------------- Speedtest.net (Region: GLOBAL) --------------------------------------------------------------------------- Location Latency Loss DL Speed UP Speed Server ISP: Nubes LLC Nearest 1.00 ms N/A 199.15 Mbps 191.09 Mbps Lumen Technologies - Seattle, WA Kochi, IN 284.28 ms 0.0% 204.45 Mbps 165.74 Mbps Asianet Broadband - Cochin Bangalore, IN 240.81 ms 0.0% 205.82 Mbps 175.02 Mbps Bharti Airtel Ltd - Bangalore Chennai, IN 262.47 ms N/A 203.24 Mbps 173.23 Mbps Jio - Chennai Mumbai, IN 257.85 ms 0.0% 202.07 Mbps 179.42 Mbps i3D.net - Mumbai Delhi, IN 287.79 ms 0.0% 201.61 Mbps 172.62 Mbps Tata Teleservices Ltd - New Delhi Seattle, US 1.28 ms N/A 198.05 Mbps 191.15 Mbps Comcast - Seattle, WA Los Angeles, US 27.19 ms 0.0% 197.73 Mbps 185.55 Mbps ReliableSite Hosting - Los Angeles, CA Dallas, US 63.26 ms 0.0% 202.27 Mbps 190.95 Mbps Hivelocity - Dallas, TX Miami, US 74.84 ms 0.0% 204.12 Mbps 189.81 Mbps AT&T - Miami, FL New York, US 79.34 ms 0.0% 209.10 Mbps 189.78 Mbps GSL Networks - New York, NY Toronto, CA 67.32 ms 0.0% 199.17 Mbps 189.86 Mbps Rogers - Toronto, ON London, UK 141.80 ms 0.0% 214.53 Mbps 183.79 Mbps VeloxServ Communications - London Amsterdam, NL 149.93 ms 0.0% 200.07 Mbps 195.05 Mbps 31173 Services AB - Amsterdam Paris, FR 164.18 ms N/A 203.61 Mbps 182.00 Mbps Axione - Paris Frankfurt, DE 157.53 ms 0.0% 205.52 Mbps 185.85 Mbps 23M GmbH - Frankfurt am Main Warsaw, PL 188.06 ms 0.0% 205.56 Mbps 177.05 Mbps UPC Polska - Warszawa Bucharest, RO 186.33 ms 0.0% 203.21 Mbps 177.13 Mbps Vodafone Romania Fixed – Bucharest - Bucharest Jeddah, SA 198.41 ms 0.0% 211.32 Mbps 181.19 Mbps Saudi Telecom Company Dubai, AE 274.50 ms 0.0% 207.85 Mbps 163.23 Mbps du - Dubai Fujairah, AE 259.08 ms 0.0% 197.03 Mbps 170.09 Mbps ETISALAT-UAE - Fujairah Tokyo, JP 149.83 ms N/A 203.28 Mbps 178.11 Mbps fdcservers.net - Tokyo Shanghai, CU-CN 179.43 ms 0.0% 205.26 Mbps 183.94 Mbps China Unicom 5G - Shanghai Nanjing, CT-CN 165.67 ms 0.0% 203.25 Mbps 185.41 Mbps China Telecom JiangSu 5G - Nanjing Hong Kong, CN 152.61 ms N/A 207.73 Mbps 183.03 Mbps STC - Hong Kong Singapore, SG 180.80 ms 5.0% 208.78 Mbps 175.76 Mbps i3D.net - Singapore Jakarta, ID 210.62 ms 0.0% 202.78 Mbps 172.89 Mbps PT. Telekomunikasi Indonesia - Jakarta --------------------------------------------------------------------------- Avg DL Speed : 203.95 Mbps Avg UL Speed : 181.06 Mbps Total DL Data : 8.16 GB Total UL Data : 6.21 GB Total Data : 14.37 GB --------------------------------------------------------------------------- Duration : 15 min 51 sec System Time : 22/10/2023 - 08:23:00 PDT Total Script Runs : 25778 --------------------------------------------------------------------------- Result : https://result.network-speed.xyz/r/1697987854_KJFIXM_GLOBAL.txt ---------------------------------------------------------------------------
区域速度测试:
---------------------------- network-speed.xyz ---------------------------- A simple script to test network performance using speedtest-cli --------------------------------------------------------------------------- Version : v2023.10.24 Global Speedtest : wget -qO- network-speed.xyz | bash Region Speedtest : wget -qO- network-speed.xyz | bash -s -- -r <region> --------------------------------------------------------------------------- Basic System Info --------------------------------------------------------------------------- CPU Model : Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz CPU Cores : 3 @ 2899.998 MHz CPU Cache : 16384 KB AES-NI : ✔ Enabled VM-x/AMD-V : ❌ Disabled Total Disk : 71.8 GB (16.5 GB Used) Total RAM : 5.3 GB (581.3 MB Used) Total Swap : 2.0 GB (0 Used) System uptime : 22 days, 19 hour 55 min Load average : 0.00, 0.02, 0.00 OS : CentOS Linux release 7.9.2009 (Core) Arch : x86_64 (64 Bit) Kernel : 6.4.6-1.el7.elrepo.x86_64 Virtualization : KVM --------------------------------------------------------------------------- Basic Network Info --------------------------------------------------------------------------- Primary Network : IPv4 IPv6 Access : ❌ Offline IPv4 Access : ✔ Online ISP : Multacom Corporation ASN : AS35916 MULTACOM CORPORATION Host : Brander Group Inc Location : Los Angeles, California-CA, United States --------------------------------------------------------------------------- Speedtest.net (Region: CHINA | 中華人民共和國) --------------------------------------------------------------------------- Location Latency Loss DL Speed UP Speed Server ISP: Multacom Corporation Nearest 0.76 ms 0.0% 882.60 Mbps 910.89 Mbps Frontier - Los Angeles, CA CU - Shanghai 185.57 ms 0.0% 92.64 Mbps 384.97 Mbps China Unicom 5G - Shanghai CM - Beijing 187.67 ms N/A 816.56 Mbps 439.23 Mbps China Mobile Group Beijing Co.Ltd - Beijing CU - Beijing 177.65 ms N/A 250.34 Mbps 468.24 Mbps BJ Unicom - Beijing CT - Nanjing 162.47 ms 2.7% 259.20 Mbps 169.24 Mbps China Telecom JiangSu 5G - Nanjing CU - Shenyang 219.92 ms 5.1% 5.91 Mbps 21.63 Mbps Unicom - Shenyang CT - Suzhou 147.30 ms N/A 61.88 Mbps 260.03 Mbps China Telecom JiangSu 5G - Suzhou CT - Yangzhou 169.06 ms 4.2% 227.88 Mbps 129.22 Mbps 江苏电信5G - Yangzhou CM - Hangzhou 209.11 ms 9.3% 765.72 Mbps 69.87 Mbps China Mobile Zhejiang 5G - Hangzhou CU - Zhengzhou 215.42 ms N/A 446.75 Mbps 427.13 Mbps China Unicom HeNan 5G - Zhengzhou CT - Changsha FAILED CU - Changsha 193.73 ms N/A 4.47 Mbps 416.02 Mbps 湖南联通5G - Changsha CM - Chengdu 204.76 ms 0.0% 797.31 Mbps 335.77 Mbps China Mobile Group Sichuan - Chengdu CT - Wuhan FAILED CM - Xi an 215.85 ms 8.3% 730.64 Mbps 45.78 Mbps 陕西移动5G - Xi'an CT - Hefei 160.37 ms 26.5% 62.32 Mbps 27.64 Mbps China Telecom AnHui 5G - Hefei CT - TianJin 168.71 ms 8.0% 29.43 Mbps 8.01 Mbps China Telecom TianJin-5G - TianJin CM - Kwai Chung 156.01 ms 0.0% 26.14 Mbps 522.40 Mbps China Mobile Hong Kong - Kwai Chung CM - Hong Kong 151.12 ms 0.0% 13.64 Mbps 554.75 Mbps China Mobile Hong Kong Boardband - Hong Kong Hong Kong 150.80 ms 0.0% 321.71 Mbps 507.40 Mbps HKIX - Hong Kong Hong Kong 193.13 ms N/A 250.60 Mbps 106.24 Mbps fdcservers.net - Hong Kong Hong Kong 154.31 ms 0.0% 237.71 Mbps 131.21 Mbps Misaka Network, Inc. - Hong Kong --------------------------------------------------------------------------- Avg DL Speed : 314.17 Mbps Avg UL Speed : 296.78 Mbps Total DL Data : 8.11 GB Total UL Data : 7.52 GB Total Data : 15.63 GB --------------------------------------------------------------------------- Duration : 10 min 39 sec System Time : 24/10/2023 - 23:15:58 CST Total Script Runs : 25914 --------------------------------------------------------------------------- Result : https://result.network-speed.xyz/r/1698160215_083R9V_CHINA.txt ---------------------------------------------------------------------------
四、流量使用统计
该脚本通常需要大约 10-15 分钟才能完成全局速度测试的执行。数据使用量很难估计,因为它完全取决于连接和位置。
然而,下面是一个非常粗略的估计——基于不同网络上的一些测试。
Port Speed (DL/UL) | Data Used | Country | Test Region |
---|---|---|---|
10Gbps Symmetric | ~130GB | SG | GLOBAL |
5Gbps Symmetric | ~60GB | KR | GLOBAL |
1Gbps Symmetric | ~40GB | US | GLOBAL |
750Mbps Symmetric | ~35GB | DE | GLOBAL |
500Mbps Symmetric | ~25GB | IN | GLOBAL |
100Mbps Symmetric | ~6GB | US | GLOBAL |
– | – | – | – |
2Gbps/250Mbps | ~50GB | DE | GLOBAL |
1Gbps/250Mbps | ~35GB | CA | GLOBAL |
– | – | – | – |
10Gbps Symmetric | ~440GB | DE | EU |
10Gbps Symmetric | ~400GB | NL | EU |
1Gbps Symmetric | ~50GB | UK | EU |
– | – | – | – |
10Gbps Symmetric | ~240GB | SG | ASIA |
– | – | – | – |
10Gbps Symmetric | ~150GB | SG | INDIA |
– | – | – | – |
1Gbps Symmetric | ~55GB | US | NA |