Skip to content
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.

Commit

Permalink
netperf
Browse files Browse the repository at this point in the history
  • Loading branch information
jvinolas committed Apr 19, 2018
1 parent f661d43 commit 935239f
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion docs/networking/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ cat /proc/net/bonding/bond0
```

## Test spped network with iperf
## Test network speed with iperf

Traditional tool is **iperf**, with speeds greater than 1Gbps new tool with more options **iperf3** is better

Expand Down Expand Up @@ -113,6 +113,34 @@ iperf -t 30 -c SERVER_IP
```

## Test network speed with netperf

Realistic test with tcp both directions throughput.

- https://github.com/HewlettPackard/netperf

Start netserver on one host and execute script on client:

vi netperf-test.sh

```
for i in 1
do
netperf -H 10.1.2.102 -t TCP_STREAM -B "outbound" -i 10 -P 0 -v 0 \
-- -s 256K -S 256K &
netperf -H 10.1.2.102 -t TCP_MAERTS -B "inbound" -i 10 -P 0 -v 0 \
-- -s 256K -S 256K &
done
```

It will run on background and output to console results when it finishes.

You can check live network throughput during test by using iftop:

```
iftop -i eth0
```

## Bridges

Create bridge:
Expand Down

0 comments on commit 935239f

Please sign in to comment.