Linux Ethernet: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 7: Line 7:
iperf3 server (on Target/Host):
iperf3 server (on Target/Host):
<pre>
<pre>
$ ifconfig  (to get the IP address)
# ifconfig  (to get the IP address)
$ iperf3 -s
# iperf3 -s
</pre>
</pre>
iperf3 client (on Host/Target):
iperf3 client (on Host/Target):
<pre>
<pre>
# Run UDP test for 30 seconds
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 TCP test for 30 seconds
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>

Revision as of 15:20, 2 June 2021

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