Skip to content

Instantly share code, notes, and snippets.

@BjoernSchilberg
Last active November 17, 2021 21:25
Show Gist options
  • Save BjoernSchilberg/9c5adf28478633302e72facf52b391b8 to your computer and use it in GitHub Desktop.
Save BjoernSchilberg/9c5adf28478633302e72facf52b391b8 to your computer and use it in GitHub Desktop.
Performance test

Performance test

CPU

sysbench --test=cpu --cpu-max-prime=24576 --num-threads=1 run

Memory

sysbench --test=memory --memory-total-size=20000M run

Disk

dd if=/dev/zero of=test_file bs=64k count=16k conv=fdatasync && rm -f test_file

Network

On the server:

iperf3 -s -i 1 -p 63099

On the client side:

perf3 -c 10.0.0.1 -p 63099 -i 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment