PowerEdge:如何使用“iperf”测试网络带宽

Samenvatting: 本文提供有关如何使用 iperf3 测试可用网络带宽的信息。

Dit artikel is van toepassing op Dit artikel is niet van toepassing op Dit artikel is niet gebonden aan een specifiek product. Niet alle productversies worden in dit artikel vermeld.

Instructies

提醒:  如果您主要使用 CIFS/NFS 来写入备份,则应使用 iperf3 tool 是由 ESnetThis hyperlink is taking you to a website outside of Dell Technologies. / Lawrence Berkeley National LaboratoryThis hyperlink is taking you to a website outside of Dell Technologies. 开发的开源软件,可与源代码一起提供。它是在三条款 BSD 许可This hyperlink is taking you to a website outside of Dell Technologies.下发布的。它不是 Dell Technologies 工具。


下载或安装 iperf3 正在使用的作系统 (OS) 的实用程序:


Windows 安装: 

  1. 下载在此处找到的最新二进制文件This hyperlink is taking you to a website outside of Dell Technologies.
  2. 解压二进制文件 .zip 本地文件系统上的任意位置的文件,以便以后从中运行它。
  3. 没有适用于 Windows 的安装,而是在实用程序解压到的位置打开命令提示符。


Red Hat Linux 安装: 

  1. 使用超级用户权限 (root) 运行以下命令:
dnf install iperf3


Ubuntu Linux 安装: 

  1. 使用以下命令 sudo 特权:
sudo apt install iperf3

 

提醒:如果您主要使用 CIFS/NFS 来写入备份,则应使用 iperf 默认情况下,实用程序安装在位于本地文件系统上的 VMware ESXi 7.0 及更高版本上:”/usr/lib/vmware/vsan/bin/iperf3


如何测试可用网络带宽:

在接收数据的服务器上,运行以下命令:
iperf3 -s
如果启用了本地防火墙,则必须打开使用的端口(默认值为 5201)。如果需要,您可以使用“-p <port>”选项指定特定端口。

在发送数据的服务器上,运行以下命令:
iperf3 -c x.x.x.x
<x.x.x.x> 替换为步骤 2 中服务器的 IP 地址。
 
iperf 在服务器模式下在 Windows 上运行
图 1:图示 iperf3 在 Windows 上运行,作为准备接收数据的服务器。  
 
iperf 客户端传输输出
图 2:图示 iperf3 在 Linux 上作为客户端运行,显示传输结果
 

Extra informatie

其它信息:

iperf3 实用程序是一种常用的网络测试工具,用于测量两个系统之间的网络吞吐量。

它允许用户设置各种参数,这些参数可用于测试网络,或者用于优化或调整网络。它具有客户端和服务器功能,可以单向或双向测量两端之间的吞吐量。它是开源软件,可在各种平台上运行,包括 Linux、Windows 和 VMware。

如果必须使用特定接口地址,您可以指定要与”-B <x.x.x.x>“选项。
测试速度高于 10G 的网络时,最好使用“-P <线程>”选项将客户端与多个线程连接起来。

提醒:  有关 iperf3 及其用途的更多信息,请访问 iperf.fr。This hyperlink is taking you to a website outside of Dell Technologies.

Getroffen producten

C Series, Modular Infrastructure, Rack Servers, Tower Servers
Artikeleigenschappen
Artikelnummer: 000139427
Artikeltype: How To
Laatst aangepast: 09 dec. 2024
Versie:  9
Vind antwoorden op uw vragen via andere Dell gebruikers
Support Services
Controleer of uw apparaat wordt gedekt door Support Services.