У меня есть вопрос о том, как я могу измерить скорость загрузки моего сервера в моем случае. В основном у меня есть выделенный сервер в Namecheap, и я купил скорость порта 1GBps. (Не рекламировать). Но когда я запускаю speedtest-cli
я никогда не получаю более 300 Мбит / с. Но я видел форумы, где люди достигают IP до 900 Мбит / с. А серверы speedtest-cli
находятся всего в 45 км.
Я говорил с ними об этом, и они сказали, что лучший способ измерить скорость загрузки - использовать iperf
. Они получили эти результаты:
------------------------------------------------------------
Client connecting to 199.188.200.101, TCP port 5001
TCP window size: 23.5 KByte (default)
------------------------------------------------------------
[ 11] local port 47152 connected with 199.188.200.101 port 5001
[ 4] local port 47143 connected with 199.188.200.101 port 5001
[ 12] local port 47151 connected with 199.188.200.101 port 5001
[ 5] local port 47145 connected with 199.188.200.101 port 5001
[ 8] local port 47148 connected with 199.188.200.101 port 5001
[ 10] local port 47150 connected with 199.188.200.101 port 5001
[ 9] local port 47149 connected with 199.188.200.101 port 5001
[ 7] local port 47146 connected with 199.188.200.101 port 5001
[ 6] local port 47147 connected with 199.188.200.101 port 5001
[ 3] local port 47144 connected with 199.188.200.101 port 5001
[ ID] Interval Transfer Bandwidth
[ 6] 0.0-10.0 sec 92.4 MBytes 77.4 Mbits/sec
[ 4] 0.0-10.0 sec 35.6 MBytes 29.8 Mbits/sec
[ 9] 0.0-10.0 sec 242 MBytes 202 Mbits/sec
[ 3] 0.0-10.0 sec 68.0 MBytes 56.9 Mbits/sec
[ 12] 0.0-10.0 sec 59.4 MBytes 49.6 Mbits/sec
[ 5] 0.0-10.0 sec 95.1 MBytes 79.5 Mbits/sec
[ 8] 0.0-10.1 sec 110 MBytes 91.9 Mbits/sec
[ 10] 0.0-10.1 sec 85.8 MBytes 71.5 Mbits/sec
[ 11] 0.0-10.1 sec 86.1 MBytes 71.7 Mbits/sec
[ 7] 0.0-10.1 sec 60.2 MBytes 50.1 Mbits/sec
[SUM] 0.0-10.1 sec 934 MBytes 777 Mbits/sec
Но дело в том, что когда люди скачивают вещи, они никогда не открывают несколько портов для этого. И как получается, что мой сервер не совпадает с остальными в том же тесте. Что-то кажется выключенным. Может кто-нибудь сказать мне, доказывает ли их представление, что мой сервер 1GBps? Или меня обманывают?
ОБНОВИТЬ:
Мои результаты
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (******)...
Selecting best server based on ping...
Hosted by KanOkla Networks (Caldwell, KS) [120.08 km]: 29.723 ms
Testing download speed........................................
Download: 306.43 Mbits/s
Testing upload speed..................................................
Upload: 34.66 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (***)...
Selecting best server based on ping...
Hosted by IdeaTek Systems (Buhler, KS) [69.02 km]: 8.663 ms
Testing download speed........................................
Download: 160.10 Mbits/s
Testing upload speed..................................................
Upload: 37.91 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (***)...
Selecting best server based on ping...
Hosted by Sumner Communications (Wellington, KS) [88.77 km]: 23.047 ms
Testing download speed........................................
Download: 27.94 Mbits/s
Testing upload speed..................................................
Upload: 21.71 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (*****)...
Selecting best server based on ping...
Hosted by KsFiberNet (Wichita, KS) [45.26 km]: 29.723 ms
Testing download speed........................................
Download: 131.05 Mbits/s
Testing upload speed..................................................
Upload: 31.58 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (*****)...
Selecting best server based on ping...
Hosted by IdeaTek Systems (Buhler, KS) [69.02 km]: 8.98 ms
Testing download speed........................................
Download: 277.10 Mbits/s
Testing upload speed..................................................
Upload: 37.58 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
python speedtest-cliRetrieving speedtest.net server list...
Testing from Namecheap (*****)...
Selecting best server based on ping...
Hosted by IdeaTek Systems (Buhler, KS) [69.02 km]: 8.98 ms
Testing download speed........................................
Download: 138.62 Mbits/s
Testing upload speed..................................................
Upload: 37.42 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (*****)...
Selecting best server based on ping...
Hosted by IdeaTek Systems (Buhler, KS) [69.02 km]: 8.901 ms
Testing download speed........................................
Download: 137.41 Mbits/s
Testing upload speed..................................................
Upload: 36.51 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (*****)...
Selecting best server based on ping...
Hosted by Sumner Communications (Wellington, KS) [88.77 km]: 8.265 ms
Testing download speed........................................
Download: 32.07 Mbits/s
Testing upload speed..................................................
Upload: 20.07 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (*****)...
Selecting best server based on ping...
Hosted by IdeaTek Systems (Buhler, KS) [69.02 km]: 8.583 ms
Testing download speed........................................
Download: 179.43 Mbits/s
Testing upload speed..................................................
Upload: 33.49 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (*****)...
Selecting best server based on ping...
Hosted by KanOkla Networks (Caldwell, KS) [120.08 km]: 8.98 ms
Testing download speed........................................
Download: 127.67 Mbits/s
Testing upload speed..................................................
Upload: 24.39 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (*****)...
Selecting best server based on ping...
Hosted by Sumner Communications (Wellington, KS) [88.77 km]: 30.279 ms
Testing download speed........................................
Download: 30.61 Mbits/s
Testing upload speed..................................................
Upload: 20.45 Mbits/s
root@NC-PH-0471-11:~# python speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Namecheap (*****)...
Selecting best server based on ping...
Hosted by KsFiberNet (Wichita, KS) [45.26 km]: 8.663 ms
Testing download speed........................................
Download: 130.36 Mbits/s
Testing upload speed..................................................
Upload: 28.73 Mbits/s