广告
返回顶部
首页 > 资讯 > 操作系统 >Linux环境安装iperf3(网络性能测试工具)
  • 351
分享到

Linux环境安装iperf3(网络性能测试工具)

linux运维服务器 2023-08-31 07:08:41 351人浏览 安东尼
摘要

[root@localhost ]# yum search iperf已加载插件:fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.tuna.ts

[root@localhost ]# yum search iperf已加载插件:fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * extras: mirrors.huaweicloud.com * updates: mirrors.tuna.tsinghua.edu.cn==================================================================== N/S matched: iperf ====================================================================iperf3-devel.i686 : Development files for iperf3iperf3-devel.x86_64 : Development files for iperf3iperf3.i686 : Measurement tool for TCP/UDP bandwidth performanceiperf3.x86_64 : Measurement tool for TCP/UDP bandwidth performance  名称和简介匹配 only,使用“search all”试试。[root@localhost ]#[root@localhost ]# yum install iperf3已加载插件:fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * extras: mirrors.huaweicloud.com * updates: mirrors.tuna.tsinghua.edu.cn正在解决依赖关系--> 正在检查事务---> 软件包 iperf3.x86_64.0.3.1.7-2.el7 将被 安装--> 解决依赖关系完成依赖关系解决============================================================================================================================================================ Package 架构    版本           源     大小============================================================================================================================================================正在安装: iperf3  x86_64  3.1.7-2.el7    base   79 k事务概要============================================================================================================================================================安装  1 软件包总下载量:79 k安装大小:197 kIs this ok [y/d/N]: yDownloading packages:iperf3-3.1.7-2.el7.x86_64.rpm                    |  79 kB  00:00:00Running transaction checkRunning transaction testTransaction test succeededRunning transaction  正在安装    : iperf3-3.1.7-2.el7.x86_64                           1/1  验证中      : iperf3-3.1.7-2.el7.x86_64                           1/1已安装:  iperf3.x86_64 0:3.1.7-2.el7完毕![root@localhost ]# iperf3 -viperf 3.1.7linux localhost 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64Optional features available: CPU affinity setting, IPv6 flow label, tcp congestion alGorithm setting, sendfile / zerocopy, Socket pacing[root@localhost ]#[root@localhost ]# iperf3 -hUsage: iperf [-s|-c host] [options]       iperf [-h|--help] [-v|--version]Server or Client:  -p, --port      #         server port to listen on/connect to  -f, --fORMat    [kmgKMG]  format to report: Kbits, Mbits, KBytes, MBytes  -i, --interval  #         seconds between periodic bandwidth reports  -F, --file name           xmit/recv the specified file  -A, --affinity n/n,m      set CPU affinity  -B, --bind          bind to a specific interface  -V, --verbose             more detailed output  -J, --JSON                output in jsON format  --logfile f               send output to a log file  --forceflush              force flushing output at every interval  -d, --debug               emit debugging output  -v, --version             show version information and quit  -h, --help                show this message and quitServer specific:  -s, --server              run in server mode  -D, --daemon              run the server as a daemon  -I, --pidfile file        write PID file  -1, --one-off             handle one client connection then exitClient specific:  -c, --client        run in client mode, connecting to   -u, --udp                 use UDP rather than TCP  -b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for unlimited)(default 1 Mbit/sec for UDP, unlimited for TCP)(optional slash and packet count for burst mode)  --fq-rate #[KMG]          enable fair-queuing based socket pacing inbits/sec (Linux only)  -t, --time      #         time in seconds to transmit for (default 10 secs)  -n, --bytes     #[KMG]    number of bytes to transmit (instead of -t)  -k, --blockcount #[KMG]   number of blocks (packets) to transmit (instead of -t or -n)  -l, --len       #[KMG]    length of buffer to read or write(default 128 KB for TCP, dynamic or 1 for UDP)  --cport             bind to a specific client port (TCP and UDP, default: ephemeral port)  -P, --parallel  #         number of parallel client streams to run  -R, --reverse             run in reverse mode (server sends, client receives)  -w, --window    #[KMG]    set window size / socket buffer size  -C, --congestion    set TCP congestion control algorithm (Linux and FreeBSD only)  -M, --set-mss   #         set TCP/SCTP maximum segment size (MTU - 40 bytes)  -N, --no-delay            set TCP/SCTP no delay, disabling Nagle's Algorithm  -4, --version4            only use IPv4  -6, --version6            only use IPv6  -S, --tos N               set the IP 'type of service'  -L, --flowlabel N         set the IPv6 flow label (only supported on Linux)  -Z, --zerocopy            use a 'zero copy' method of sending data  -O, --omit N              omit the first n seconds  -T, --title str           prefix every output line with this string  --get-server-output       get results from server  --udp-counters-64bit      use 64-bit counters in UDP test packets[KMG] indicates options that support a K/M/G suffix for kilo-, mega-, or giga-iperf3 homepage at: Http://software.es.net/iperf/Report bugs to:     https://GitHub.com/esnet/iperf[root@localhost ]#

iperf官网地址:

iPerf - The TCP, UDP and SCTP network bandwidth measurement tool

 

iperf特性:

测量带宽

报告MSS/MTU大小和观察到的读数大小。

通过套接字缓冲区支持TCP窗口大小。

UDP

客户端可以创建指定带宽的UDP流。

测量数据包丢失

测量延迟抖动

支持多播

跨平台:windows、Linux、AndroidMacOS X、FreeBSD、OpenBSD、NetBSD、VxWorks、Solaris,。。。

客户端和服务器可以同时具有多个连接(-P选项)。

服务器处理多个连接,而不是在一次测试后退出。

可以运行指定的时间(-t选项),而不是要传输的数据量(-n或-k选项)。

以指定的间隔打印周期性、中间带宽、抖动和损耗报告(-i选项)。

将服务器作为守护程序运行(-D选项)

使用具有代表性的流来测试链路层压缩如何影响可实现的带宽(-F选项)。

服务器同时接受单个客户端(iPerf3)多个客户端同时接受(iPerf2)

来源地址:https://blog.csdn.net/songpeiying/article/details/130559254

--结束END--

本文标题: Linux环境安装iperf3(网络性能测试工具)

本文链接: https://www.lsjlt.com/news/384691.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • Linux环境安装iperf3(网络性能测试工具)
    [root@localhost ]# yum search iperf已加载插件:fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.tuna.ts...
    99+
    2023-08-31
    linux 运维 服务器
  • 网络性能测试工具 iperf3
    iperf3软件下载地址:https://liyouchen.lanzoul.com/iZmaI0otb1de 下载到电脑到,并解压后,会得到两个文件:cygwin1.dll 和 iperf3.exe,这两个文件拷贝到 c:\wi...
    99+
    2023-09-18
    服务器 运维 Powered by 金山文档
  • Linux iperf 网络传输性能测试工具
    Iperf 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能。Iperf具有多种参数和UDP特性,可以根据需要调整。Iperf可以报告带宽,延迟抖动和数据包丢失。进行测试时分为服务端和客户端。安装方法...
    99+
    2023-06-05
  • HBase性能测试工具YCSB怎么安装
    这篇文章给大家分享的是有关HBase性能测试工具YCSB怎么安装的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。YCSB一、背景概念英文全称:Yahoo!CloudServing ...
    99+
    2022-10-18
  • Linux如何安装性能监测工具pyDash
    这篇文章将为大家详细讲解有关Linux如何安装性能监测工具pyDash,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。pyDash是一个基于Web的轻量级Linux监控工具,用Python和Django以及...
    99+
    2023-06-27
  • Mysql 性能测试工具 sysbench的安装和使用
         工作上需要用到AWS和Azure的Mysql服务,需要测试比较一下两个云服务的性能。于是开始百度 + google,查找性能测试工具。最终决定用sysbench。sy...
    99+
    2022-10-18
  • 磁盘性能测试工具-FIO的安装及使用
    文章目录 FIO介绍FIO安装在线安装离线安装 磁盘测试命令行方式测试结果说明命令参数说明配置文件方式 dd命令介绍使用方法 FIO介绍 FIO是一款测试IOPS的工具,用于对磁盘进行压力测...
    99+
    2023-08-22
    linux 服务器 centos 测试工具
  • 怎么用Docker安装Web前端性能测试工具YellowLabTools
    本篇内容介绍了“怎么用Docker安装Web前端性能测试工具YellowLabTools”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!一、Y...
    99+
    2023-06-19
  • 如何在安装与使用sysbench数据库性能测试工具
    这篇文章将为大家详细讲解有关如何在安装与使用sysbench数据库性能测试工具,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。1.简介和安装sysbench是...
    99+
    2022-10-18
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作