Linux Ethernet: Difference between revisions
From Variscite Wiki
No edit summary |
m (Nate moved page DART-MX8M Ethernet to Linux Ethernet) |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{PageHeader|{{#var:HARDWARE_NAME}} Ethernet}} {{DocImage|category1=Yocto|category2={{#var:HARDWARE_NAME}}}}[[Category:Debian]] __toc__ | |||
= Ethernet performance tests = | = Ethernet performance tests = | ||
iperf3 server (on Target/Host): | iperf3 server (on Target/Host): | ||
<pre> | <pre> | ||
# ifconfig (to get the IP address) | |||
# iperf3 -s | |||
</pre> | </pre> | ||
iperf3 client (on Host/Target): | iperf3 client (on Host/Target): | ||
<pre> | <pre> | ||
Run a UDP test for 30 seconds: | |||
$ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -u -t 30 -P 2 -b 0 | $ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -u -t 30 -P 2 -b 0 | ||
</pre> | </pre> | ||
<pre> | <pre> | ||
Run a TCP test for 30 seconds: | |||
$ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -t 30 | $ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -t 30 | ||
</pre> | </pre> |
Latest revision as of 22:37, 20 March 2023
Ethernet
Ethernet performance tests
iperf3 server (on Target/Host):
# ifconfig (to get the IP address) # iperf3 -s
iperf3 client (on Host/Target):
Run a UDP test for 30 seconds: $ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -u -t 30 -P 2 -b 0
Run a TCP test for 30 seconds: $ iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -t 30