Skip to content

Speed / performance testing

for Prometheus speedtest exporters see monitoring/prometheus/exporters/speedtest.md

speedtest-go

Librespeed

openwrt

On Laptop:

sudo pacman -S upx
cd /tmp
wget https://github.com/librespeed/speedtest-cli/releases/download/v1.0.10/librespeed-cli_1.0.10_linux_mips_softfloat.tar.gz
tar -xzf librespeed-cli_1.0.10_linux_mips_softfloat.tar.gz
# Uncompress binary, see https://github.com/librespeed/speedtest-cli/issues/44
upx -d librespeed-cli
scp librespeed-cli root@_gateway:/tmp

On router:

/tmp/librespeed-cli --simple
Ping:   40 ms   Jitter: 3 ms
Download rate:  5.37 Mbps
Upload rate:    5.21 Mbps

speedtest-cli

Command line interface for testing internet bandwidth using speedtest.net

see ../../monitoring/prometheus/exporters/speedtest.md for speedtest exporter

Share results:

speedtest-cli --share

Using rsync

time dd if=/dev/random of=/tmp/rand.img bs=1M count=100
rsync --stats --partial --append  --progress -ah /tmp/rand.img server: