Skip to content

Instantly share code, notes, and snippets.

@Frostman
Created November 24, 2016 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Frostman/903ea4b51ad532104199dde97b46136e to your computer and use it in GitHub Desktop.
Save Frostman/903ea4b51ad532104199dde97b46136e to your computer and use it in GitHub Desktop.
Simple linux benchmark
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install sysbench
sysbench --test=cpu --cpu-max-prime=20000 run
sysbench --test=fileio --file-total-size=150G prepare
sysbench --test=fileio --file-total-size=150G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run
sysbench --test=fileio --file-total-size=150G cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment