chen0 大佬有话说 :
这speedtest我的用法错在哪呀?
本帖最后由 chen0 于 2020-3-5 01:10 编辑
看大家的意思,好像是我这用法错了,只是不知道错在哪,求指点。
,,,
最近越来越发现测速脚本的结果 ,同一个脚本中的命令,测出来两种效果,且有的效果实际 中发现很可能是假的。
求解惑,
今天刚连续测了三次,结果 差别天差地别,
用脚本测是快的很,用脚本里面声称用的命令功能测,又慢的很,实际 中用命令测的好像是准的,而脚本测的像假的样。
,,,,,,,,,
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 CT66.07 Mbit/s 55.87 Mbit/s –
Nanjing 5G CT99.20 Mbit/s 74.52 Mbit/s –
Hefei 5G CT108.84 Mbit/s 84.54 Mbit/s –
Guangzhou 5G CT66.52 Mbit/s 23.84 Mbit/s –
Tianjin 5G CM18.88 Mbit/s 60.29 Mbit/s –
Wuxi 5G CM20.21 Mbit/s 21.30 Mbit/s –
Nanjing 5G CM4.03 Mbit/s 14.27 Mbit/s –
Changsha 5GCM89.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 5GCU’
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 5GCM’
,,,,,
可是我用脚本声称的命令单独来测,下面就是结果 ,慢的出奇。可像是真的。
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) : 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) : 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) : 252.621 ms
Skipping download test
Testing upload speed…………………………………………………… ………………………………
Upload: 5.82 Mbit/s
bluewhale 大佬有话说 :
别用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