File tree Expand file tree Collapse file tree
gtests/net/tcp/bbr/nsperf Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55set -x # print commands before executing
66set -e # exit upon error
77
8- sudo apt update
9- sudo apt install -y python2
10- sudo apt install -y netperf
11- sudo apt install -y gnuplot-nox
8+ # Quick and dirty installation of netperf:
9+ wget https://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/l/lksctp-tools-1.0.19-9.fc41.x86_64.rpm
10+ wget https://fr2.rpmfind.net/linux/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/n/netperf-2.7.0-9.20210803git3bc455b.fc41.x86_64.rpm
11+ sudo dnf install -y --nogpgcheck lksctp-tools-1.0.19-9.fc41.x86_64.rpm
12+ sudo dnf install -y --nogpgcheck netperf-2.7.0-9.20210803git3bc455b.fc41.x86_64.rpm
13+
14+ # Quick and dirty installation pahole which is needed to compile the kernel:
15+ wget https://rpmfind.net/linux/openmandriva/cooker/repository/x86_64/main/release/pahole-1.25-1-omv2390.x86_64.rpm
16+ sudo dnf install -y --nogpgcheck pahole-1.25-1-omv2390.x86_64.rpm
1217
1318# On Ubuntu 18.04.2 LTS, there are issues with the iproute2 binaries:
1419# (1) the 'tc' binary has a bug and cannot parse netem random loss rates
@@ -19,7 +24,8 @@ sudo apt install -y gnuplot-nox
1924# from the iproute2 sources, with patches from the BBRv3
2025# source tree:
2126
22- sudo apt install -y pkg-config make bison flex
27+ # Install other tools which are needed to compile the kernel.
28+ sudo dnf install -y pkg-config make bison flex git gcc binutils glibc-devel kernel-headers openssl-devel elfutils-libelf-devel zlib-devel
2329
2430# Our project's patches for the iproute2 package are in this directory:
2531PATCH_DIR=` pwd`
Original file line number Diff line number Diff line change 1- #!/usr/bin/python2
1+ #!/usr/bin/python3
22#
33# Use netem, network namespaces, and veth virtual NICs
44# to run a multi-flow TCP test on a single Linux machine.
You can’t perform that action at this time.
0 commit comments