https://www.cnblogs.com/yychuyu/p/12859788.html
参考良许Linux
我follow 上面的说法,我们现在可以有三种网络测试工具,一个是fast ,一个是speedtest,一个是iperf。第一个我没有下载下来,出了一点问题,没有继续看这个问题,因为我看了一下sppedtest .
speedtest 是一款基于python 的一款测试网络工具,下载的命令是“pip3 install speedtest-cli” ,下载完成后可以直接引用,speedtest
[root@intel-obmc ~]# pip3 install speedtest-cli WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instea Collecting speedtest-cli Downloading https://files.pythonhosted.org/packages/c4/44/dfebd38c5fb35aae0a7279e2a3ffe33ca65edb449a586b93addcdtest_cli-2.1.2-py2.py3-none-any.whl Installing collected packages: speedtest-cli Successfully installed speedtest-cli-2.1.2 [root@intel-obmc ~]# speedtest Retrieving speedtest.net configuration... Testing from Intel China (192.55.46.46)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Duke Kunshan University (Kunshan) [55.08 km]: 1800000.0 ms Testing download speed................................................................................ Download: 385.03 Mbit/s Testing upload speed............................................................................................ Upload: 169.39 Mbit/s
2. 我比较清楚iperf 了,这一款tool 也是可以适用于Windows 的电脑和服务器。需要两个机器。一台是作为server(iperf -s) ,一台是作为client (iperf -c ip_address)
iperf 介绍:https://iperf.fr/
我们主要测试的项目就是TCP 和UDP ,能够测试到带宽和是否有数据包丢失。
- TCP and SCTP
- Measure bandwidth
- Report MSS/MTU size and observed read sizes.
- Support for TCP window size via socket buffers.
UDP
- Client can create UDP streams of specified bandwidth.
- Measure packet loss
- Measure delay jitter
- Multicast capable
-
- Table of contents :
Download iPerf3 for iPhone / iPad
Download iPerf3 for Apple macOS
Download iPerf for Ubuntu / Debian / Mint
Download iPerf for Fedora / Red Hat / CentOS
How to perform a more recent installation of Iperf than the one included in Ubuntu / Debian / Mint ?