网络流量单位说明
所属分类 linux
浏览量 853
bit
Byte
bps bits per second
Bps Byte per second
1 Byte = 8 bits
万兆网卡
10000Mbps
sudo ethtool bond0
Settings for bond0:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 20000Mb/s
Duplex: Full
Port: Other
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Link detected: yes
Speed: 20000Mb/s
使用 iperf 测试 ,实际网速为
9.43 Gbits/sec
10.58.16.18 服务端
./iperf3 -s
10.58.16.17 客户端
./iperf3 -c 10.58.16.18 -t 1000
Connecting to host 10.58.16.18, port 5201
[ 4] local 10.58.16.17 port 13722 connected to 10.58.16.18 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 1.10 GBytes 9.43 Gbits/sec 0 874 KBytes
[ 4] 1.00-2.00 sec 1.10 GBytes 9.42 Gbits/sec 0 874 KBytes
[ 4] 2.00-3.00 sec 1.09 GBytes 9.41 Gbits/sec 0 923 KBytes
grafana 监控
10.58.16.17 上传流量 9.85Gbps
10.58.16.18 下载流量 9.85Gbps
iperf源码下载编译
https://iperf.fr/iperf-download.php#source
https://iperf.fr/download/source/iperf-3.0.10-source.tar.gz
tar xvf iperf-3.0.10-source.tar.gz
cd iperf-3.0.10/
./configure
make
src目录下 可执行文件 iperf3
linux网卡带宽查看
linux网络测速iperf
上一篇
下一篇
sizeof与strlen的区别
size_t和int区别
linux性能监控
make 和 make install 的区别
c和c++代码编译方法
C++继承和派生