iperf 分client 和 server

server:   iperf3 -s -p 5000 -i 1

client: iperf3 -c 192.168.31.11 -p 5000

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 <host> bind to a specific interface 主机绑定指定接口
-V, --verbose more detailed output 更详细的输出
-J, --json output in JSON format  输出JSON格式
--logfile f send output to a log file  将输出发送到日志文件
-d, --debug emit debugging output  发出调试输出
-v, --version show version information and quit  显示版本信息并退出
-h, --help show this message and quit   显示帮助信息并退出
Server specific:
-s, --server run in server mode     运行服务器模式
-D, --daemon run the server as a daemon  将服务器作为守护进程运行
-I, --pidfile file write PID file         写PID文件
-1, --one-off handle one client connection then exit   处理一个客户端连接,然后退出
Client specific:
-c, --client <host> run in client mode, connecting to <host>   在客户端模式下运行,连接到主机
-u, --udp use UDP rather than TCP      使用UDP而不是TCP
-b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for unlimited)   目标带宽(比特/秒)
(default 1 Mbit/sec for UDP, unlimited for TCP)    UDP默认为1 Mbit/秒,TCP没有限制
(optional slash and packet count for burst mode)
-t, --time # time in seconds to transmit for (default 10 secs)   传输时间(默认为10秒)
-n, --bytes #[KMG] number of bytes to transmit (instead of -t)   要传输的字节数(而不是-t)
-k, --blockcount #[KMG] number of blocks (packets) to transmit (instead of -t or -n)  要传输的块(包)数量(而不是-t或-n)
-l, --len #[KMG] length of buffer to read or write  读取或写入缓冲区的长度
(default 128 KB for TCP, 8 KB for UDP)  TCP默认为128 KB, UDP默认为8 KB
--cport <port> bind to a specific client port (TCP and UDP, default: ephemeral port)   绑定到特定的客户端端口(TCP和UDP,默认:临时端口)
-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 <algo> set TCP congestion control algorithm (Linux and FreeBSD only)  设置TCP拥塞控制算法(只支持Linux和FreeBSD)
-M, --set-mss # set TCP/SCTP maximum segment size (MTU - 40 bytes)   设置TCP/SCTP最大段大小(MTU - 40字节)
-N, --no-delay set TCP/SCTP no delay, disabling Nagle's Algorithm  设置TCP/SCTP没有延迟,禁用Nagle的算法
-4, --version4 only use IPv4
-6, --version6 only use IPv6
-S, --tos N set the IP 'type of service'  设置IP“服务类型”
-L, --flowlabel N set the IPv6 flow label (only supported on Linux)   设置IPv6流标签(只支持Linux)
-Z, --zerocopy use a 'zero copy' method of sending data   使用“零拷贝”方法发送数据
-O, --omit N omit the first n seconds  省略前N秒
-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   在UDP测试包中使用64位计数器
--no-fq-socket-pacing disable fair-queuing based socket pacing
(Linux only)

iperf3 使用的更多相关文章

  1. iperf3实践

    The basic commands are the same for iperf and iperf3: SAMPLE IPERF/IPERF3 COMMANDS Server: iperf/ipe ...

  2. I.MX6 Android iperf3 porting failed

    /***************************************************************************** * I.MX6 Android iperf ...

  3. iperf3 不支持双工模式

    iperf 2.05的时候,客户端可以使用参数"-d"来进行双工测试,先测试发送,client向server发送数据,等到测试时间结束后(默认为10s,可以通过-t选项来更改),然 ...

  4. 树莓派使用iperf3测量网络带宽

    这个工具需要两台设备都安装iperf3工具,一台作为服务端,一台作为客户端.客户端通过链接服务端测量吞吐量. 安装iperf3 sudo apt install iperf3 开启服务端 假设在一台I ...

  5. iperf3.0 hisi uclib 交叉编译

    1. 下载iperf src https://github.com/esnet/iperf/ 2.修改makefile.in 里面的配置. src/Makefile.in 613行 地方两行,去掉-p ...

  6. iperf/iperf3网络测试工具的安装与使用

    1.官网及下载路径: iperf3 homepage at: http://software.es.net/iperf/Report bugs to: https://github.com/esnet ...

  7. iperf3网络测试工具

    一.简介: iperf3是一个网络速度测试工具,支持IPv4与IPv6,支持TCP.UDP.SCTP传输协议,可在Windows.Mac OS X.Linux.FreeBSD等各种平台使用,是一个简单 ...

  8. iperf3

    1.安装 将下载得到的“iperf-3.1.3-win64.zip”文件解压缩,得到“iperf3.exe”和“cygwin1.dll”两个文件.将这两个文件复制到“%systemroot%”(大多数 ...

  9. iperf3 测试路由器吞吐率

    mini newifi 电脑端: iperf3 -s 路由器: root@OpenWrt:/# iperf3 -c 10.10.10.3 -t 20 Connecting to host 10.10. ...

随机推荐

  1. 【Unity游戏开发】tolua之wrap文件的原理与使用

    本文内容转载自:https://www.cnblogs.com/blueberryzzz/p/9672342.html .非常感谢原作者慷慨地授权转载,比心!@blueberryzzz 是位大神,欢迎 ...

  2. OpenCV初步

    目录 一 写在开头 1.1 本文内容 二 涉及的API 三 OpenCV 3.4.2在Ubuntu 16.04 LTS下的编译安装 四 OpenCV安装测试与图像的加载和显示 4.1 安装测试 4.2 ...

  3. uCosII中的任务

    任务基本概念 任务是一个接受操作系统管理的独立运行单元,在uCosII中类似与普通平台上的main()函数,需要自己来保护其因调用或中断二产生的断点,所以需要一个自己的私有堆栈,即任务堆栈: 任务有两 ...

  4. Linux基础命令(三)——>文件过滤及内容编辑处理命令

    1.cat   合并文件或查看文件内容 基本功能:cat   test.txt     查看文件内容 也可以多文件显示 cat  test1.txt test2.txt >test3.txt   ...

  5. 模拟stringBeanFactory解析xml

    思路:根据源码分析,将配置Bean类信息存放到xml文件中,通过解析xml, 然后反射拿到对象 存放到集合中 这里选择hashmap(键放置类名,值放置对象)存放,使用时使用get方法通过键(类名)拿 ...

  6. python2x如何迁移代码到python3中

    2to3 - 自动Python 2到3代码转换 2to3是一个Python程序,它读取Python 2.x源代码并应用一系列修复程序将其转换为有效的Python 3.x代码.标准库包含一组丰富的修复程 ...

  7. 「luogu4462」[CQOI2018] 异或序列

    「luogu4462」[CQOI2018]异或序列 一句话题意 输入 \(n\) 个数,给定\(k\),共 \(m\) 组询问,输出第 \(i\) 组询问 \(l_i\) \(r_i\) 中有多少个连 ...

  8. java学习笔记09-类与对象

    物以类聚,人以群分,我们把具有相似特性或品质的物体归为一类. 类:类是一种模板,它描述一类对象的行为和状态. 对象:对象是类的一个实例,有状态和行为. 比如在一支nba球队中,每个球员都有球衣号码,场 ...

  9. JUC--ConcurrentHashMap

    HashMap HashTable HashTable锁住整个表 会存在复合操作上的问题“若不存则添加” “若存在则删除” 也是不安全的  效率低 ConcurrentHashMap:采用锁分段机制  ...

  10. CentOs7.5安装Redis

    前言 虽说现在都是买服务了,可是自己做的小DEMO偶尔也用用Redis,不会装也不行 变更记录 # 19.4.24  起笔 正文 官网 https://redis.io/ 首先去官网找到最新的链接 截 ...