首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >iperf3错误与ESXi上的重传

iperf3错误与ESXi上的重传
EN

Server Fault用户
提问于 2022-11-15 06:51:34
回答 1查看 380关注 0票数 2

在运行iperf3测试VMware ESXi盒和TrueNAS核心盒之间的100 G连接时,我在ESXi框上看到了以下内容:

  1. 每个间隔上的消息"iperf3: getsockopt -函数未实现“
  2. 大量的重传报告在第一个和最后一个间隔,但没有在摘要统计中报告。

是这两个可以忽略的吗?或者它们是否表明了实际的问题?

这是细节..。

服务器设置:

代码语言:javascript
复制
Supermicro H12SSL-NT, EPYC 7262, 128GB RAM
TrueNAS 13.0 U3
Mellanox ConnectX-5 100G
iperf3 v3.10.1

客户端设置:

代码语言:javascript
复制
Supermicro X9SRE-F, E5-1650 v2, 16GB RAM
ESXi 6.7.0 P08
Mellanox ConnectX-5 100G
iperf3 v3.1.6

服务器命令:

代码语言:javascript
复制
iperf3 -s -B 192.168.25.5 -p 5101

客户端命令和输出:

代码语言:javascript
复制
[root@esxi:/usr/lib/vmware/vsan/bin] ./iperf3.copy -B 192.168.25.6 -c 192.168.25.5 -i 1 -p 5101 -f g -t 10
Connecting to host 192.168.25.5, port 5101
[  4] local 192.168.25.6 port 27617 connected to 192.168.25.5 port 5101
iperf3: getsockopt - Function not implemented
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  3.08 GBytes  26.4 Gbits/sec  8638800   0.00 Bytes       
iperf3: getsockopt - Function not implemented
[  4]   1.00-2.00   sec  3.03 GBytes  26.0 Gbits/sec    0   0.00 Bytes       
iperf3: getsockopt - Function not implemented
[  4]   2.00-3.00   sec  3.11 GBytes  26.7 Gbits/sec    0   0.00 Bytes       
iperf3: getsockopt - Function not implemented
[  4]   3.00-4.00   sec  2.91 GBytes  25.0 Gbits/sec    0   0.00 Bytes       
iperf3: getsockopt - Function not implemented
[  4]   4.00-5.00   sec  3.01 GBytes  25.9 Gbits/sec    0   0.00 Bytes       
iperf3: getsockopt - Function not implemented
[  4]   5.00-6.00   sec  3.04 GBytes  26.1 Gbits/sec    0   0.00 Bytes       
iperf3: getsockopt - Function not implemented
[  4]   6.00-7.00   sec   883 MBytes  7.41 Gbits/sec    0   0.00 Bytes       
iperf3: getsockopt - Function not implemented
[  4]   7.00-8.00   sec  2.99 GBytes  25.7 Gbits/sec    0   0.00 Bytes       
iperf3: getsockopt - Function not implemented
[  4]   8.00-9.00   sec  1.27 GBytes  10.9 Gbits/sec    0   0.00 Bytes       
iperf3: getsockopt - Function not implemented
[  4]   9.00-10.00  sec  2.75 GBytes  23.7 Gbits/sec  4286328496   0.00 Bytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  26.0 GBytes  22.4 Gbits/sec    0             sender
[  4]   0.00-10.00  sec  26.0 GBytes  22.4 Gbits/sec                  receiver

iperf Done.
EN

回答 1

Server Fault用户

发布于 2022-12-06 21:16:47

此错误消息是由于TCP统计数据不在"ESXi's Linux“的预期结构中而产生的。

iperf中的特性检查只是"is it Linux“(https://github.com/esnet/iperf/blob/a2ce47a97acfad3acee91a6cb4da28f9f50c19df/src/tcp_info.c#L63),并期望通过在特定结构中对TCP_INFO进行getsockopt调用来找到数据。

测试运行的总体统计信息仍然有效,因为它不依赖于间隔比较功能。

例如,FreeBSD的数据结构与Linux内核不同。详情请参见https://github.com/esnet/iperf/pull/244

save_tcpinfo被调用以在每个间隔期间保存信息,但是iperf和ESXi的Linux版本似乎不能很好地用于区间统计。

戴尔在主线生产中也有这个问题的一个例子可以在这里看到:https://www.dell.com/support/kbdoc/en-uk/000187640/dell-emc-vxrail-vsan-hosts-network-performance-test-does-not-exceed-10-000mb-s-bandwidth-on-25gb-or-higher-network-infrastructure

上面的戴尔文章也可能给你一些关于如何操作iperf以获得您可能期望的带宽的一些提示。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1115691

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档