iperf压测linux网卡带宽
2024-09-08 01:54:21
1.安装
yum install iperf --enablerepo=epel
2.启动服务端
iperf -s -i 1
3.启动客户端测试10分钟
iperf -c 172.16.3.153 -i 1 -t 600
-w窗口越小带宽越不能体现
4.客户端显示
Connecting to host 172.16.3.145, port 5201
[ 4] local 172.16.3.153 port 36895 connected to 172.16.3.145 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 789 MBytes 6.61 Gbits/sec 138 1.95 MBytes
[ 4] 1.00-2.00 sec 1.08 GBytes 9.24 Gbits/sec 23 1.39 MBytes
[ 4] 2.00-3.00 sec 1.08 GBytes 9.25 Gbits/sec 0 1.46 MBytes
[ 4] 3.00-4.00 sec 1.08 GBytes 9.25 Gbits/sec 10 1.08 MBytes
5.服务端显示
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 172.16.3.153, port 36894
[ 5] local 172.16.3.145 port 5201 connected to 172.16.3.153 port 36895
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 743 MBytes 6.23 Gbits/sec
[ 5] 1.00-2.00 sec 1.07 GBytes 9.23 Gbits/sec
[ 5] 2.00-3.00 sec 1.08 GBytes 9.25 Gbits/sec
[ 5] 3.00-4.00 sec 1.08 GBytes 9.27 Gbits/sec
[ 5] 4.00-5.00 sec 1.08 GBytes 9.28 Gbits/sec
6.网卡速度
[root@slave01 ~]# ethtool eth0
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 10000Mb/s
7.zabbix图形趋势
https://blog.csdn.net/aaa1050070637/article/details/53539713
8.windows压测工具
http://blog.163.com/semar@126/blog/static/2323311620108205126230/
最新文章
- 数据库mysql 基本命令
- bzoj4692: Beautiful Spacing
- EF架构~扩展一个分页处理大数据的方法
- plain framework 1 参考手册 入门指引之 模块
- 注解:【有连接表的】Hibernate单向1->;1关联
- Bootstrap 我的学习记录2 栅格系统初识
- PostgreSQL中initdb做了什么
- [JavaEE] SSH框架笔记_S.S.H框架各自的优缺点
- Android 使用 popupWindow实现弹层并操作弹层元素
- openwrt上网配置的一些理解(四)
- HDU 4408 Minimum Spanning Tree 最小生成树计数
- struts2增删改查---layer---iframe层---通配符---国际化
- Java图的邻接矩阵实现
- 类LinkedList
- SQL语句——exists和in区别
- 信息系统项目管理师EV、PV、AC、BAC、CV、SV、EAC、ETC、CPI、SPI概念说明
- C#做一个写txt文件流的测试,为什么配置低的机器写入的还快
- Java通过Fork/Join来优化并行计算
- (转)作为一个新人,怎样学习嵌入式Linux?(韦东山)
- keras-anomaly-detection 代码分析——本质上就是SAE、LSTM时间序列预测