全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1404|回复: 2

[Windows VPS] 测速脚本和speedtext命令测出两种结果 ?一快一很慢

[复制链接]
发表于 2020-3-5 00:46:26 | 显示全部楼层 |阅读模式
本帖最后由 chen0 于 2020-3-5 01:36 编辑

看大家的意思,好像是我这用法错了,只是不知道错在哪,求指点。
刚使用了官方的客户端测速结果 还是测的上传非常慢,脚本测又非常快,这是怎么回事?
刚我用了官方的客户端,还是速度很慢,怎么测速脚本测的和speedtext命令这种会测出两种结果 ?一快一很慢。
root@2:~/cs# speedtest-cli  --server  27377
Retrieving speedtest.net configuration...
Testing from Ddosing Network
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by China Telecom 5G (Beijing) [10701.31 km]: 274.15 ms
Testing download speed................................................................................
Download: 31.59 Mbit/s
Testing upload speed......................................................................................................
Upload: 3.90 Mbit/s

,,,
最近越来越发现测速脚本的结果 ,同一个脚本中的命令,测出来两种效果,且有的效果实际 中发现很可能是假的。
求解惑,
今天刚连续测了三次,结果 差别天差地别,
用脚本测是快的很,用脚本里面声称用的命令功能测,又慢的很,实际 中用命令测的好像是准的,而脚本测的像假的样。

,,,,,,,,,



Load Average         : 0.11, 0.07, 0.04
TCP CC               : bbr
ASN & ISP            : AS22769, ipv4superhub
Organization         :
Location             : Terre Haute, United States / US
Region               : Indiana
----------------------------------------------------------------------
I/O Speed( 1.0GB )   : 330 MB/s
I/O Speed( 1.0GB )   : 326 MB/s
I/O Speed( 1.0GB )   : 328 MB/s
Average I/O Speed    : 328.0 MB/s
----------------------------------------------------------------------
Node Name        Upload Speed      Download Speed      Latency
Beijing 5G   CT  66.07 Mbit/s      55.87 Mbit/s        -
Nanjing 5G   CT  99.20 Mbit/s      74.52 Mbit/s        -
Hefei 5G     CT  108.84 Mbit/s     84.54 Mbit/s        -
Guangzhou 5G CT  66.52 Mbit/s      23.84 Mbit/s        -
Tianjin 5G   CM  18.88 Mbit/s      60.29 Mbit/s        -
Wuxi 5G      CM  20.21 Mbit/s      21.30 Mbit/s        -
Nanjing 5G   CM  4.03 Mbit/s       14.27 Mbit/s        -
Changsha 5G  CM  89.32 Mbit/s      78.65 Mbit/s        -
----------------------------------------------------------------------
Finished in  : 3 min 28 sec
Timestamp    : 2020-03-05 00:32:40 GMT+8
Results      : /root/superbench.log
----------------------------------------------------------------------
Share result:
·
· https://paste.ubuntu.com./p/CFpQhKWmMW/
----------------------------------------------------------------------
,,,,,,,,
脚本中的一段
speed_test '27377' 'Beijing 5G   CT'
    speed_test '26352' 'Nanjing 5G   CT'
    speed_test '17145' 'Hefei 5G     CT'
        speed_test '27594' 'Guangzhou 5G CT'
        speed_test '27154' 'TianJin 5G   CU'
        speed_test '24447' 'Shanghai 5G  CU'
        speed_test '26678' 'Guangzhou 5G CU'
        speed_test '17184' 'Tianjin 5G   CM'
        speed_test '26850' 'Wuxi 5G      CM'
        speed_test '27249' 'Nanjing 5G   CM'
        speed_test '28491' 'Changsha 5G  CM'
,,,,,
可是我用脚本声称的命令单独来测,下面就是结果 ,慢的出奇。可像是真的。

root@200223-B1CC:~# cd cs/
root@200223-B1CC:~/cs# ./speedtest-cli --server 28491  --no-download
Retrieving speedtest.net configuration...
Testing from Ddosing Network ()...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by China Mobile HuNan 5G (ChangSha) [12009.72 km]: 173.515 ms
Skipping download test
Testing upload speed............................................................                                                                                                                                                             ....................................
Upload: 6.50 Mbit/s

Retrieving speedtest.net configuration...
Testing from Ddosing Network ()...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by China Telecom AnHui 5G (Hefei) [11460.81 km]: 139.897 ms
Skipping download test
Testing upload speed............................................................                                                                                                                                                             ....................................
Upload: 7.38 Mbit/s
root@200223-B1CC:~/cs# ./speedtest-cli --server 27377  --no-download
Retrieving speedtest.net configuration...
Testing from Ddosing Network ()...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by China Telecom 5G (Beijing) [10701.31 km]: 252.621 ms
Skipping download test
Testing upload speed............................................................                                                                                                                                                             ....................................
Upload: 5.82 Mbit/s

发表于 2020-3-5 01:12:58 | 显示全部楼层
别用speedtest-cli了,ookla出官方的speedtest软件了

wget -O- 'https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-x86_64-linux.tgz' | tar xzf - && rm -rf speedtest.{5,md} && ./speedtest

也可以自己按照官网上的指示安装

https://www.speedtest.net/apps/cli
 楼主| 发表于 2020-3-5 01:33:17 | 显示全部楼层
bluewhale 发表于 2020-3-5 01:12
别用speedtest-cli了,ookla出官方的speedtest软件了

wget -O- 'https://bintray.com/ookla/download/down ...


刚我用了官方的客户端,还是速度很慢,怎么测速脚本测的和speedtext命令这种会测出两种结果 ?一快一很慢。
root@2:~/cs# speedtest-cli  --server  27377
Retrieving speedtest.net configuration...
Testing from Ddosing Network
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by China Telecom 5G (Beijing) [10701.31 km]: 274.15 ms
Testing download speed................................................................................
Download: 31.59 Mbit/s
Testing upload speed......................................................................................................
Upload: 3.90 Mbit/s
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-25 13:29 , Processed in 0.060097 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表