Created
October 2, 2017 20:00
-
-
Save rafaelhdr/954f8bac6796a22b77f4ef699bb3c22e to your computer and use it in GitHub Desktop.
Netperf script for running on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing (on both servers) | |
apt update && apt -y upgrade && | |
apt install -y wget build-essential && | |
wget https://github.com/HewlettPackard/netperf/archive/netperf-2.7.0.tar.gz && | |
tar -zxvf netperf-2.7.0.tar.gz && | |
cd netperf-netperf-2.7.0/ && | |
./configure && make && make install | |
# Run only at server | |
netserver | |
# Run only at client (change server IP) | |
netperf -t TCP_RR -H SERVER_IP | |
netperf -t TCP_STREAM -H SERVER_IP -- -m 1K | |
netperf -t TCP_STREAM -H SERVER_IP -- -m 1M | |
netperf -t UDP_RR -H SERVER_IP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment