A task today was performing some ServerBear benchmarks on VMs. ServerBear is a comparison site for cloud, VPS and other platform infrastructure providers that displays the results of user run benchmark scripts.

Running on an instance, without publishing the results:

wget -N https://raw.github.com/Crowd9/Benchmark/master/sb.sh && 
bash sb.sh '[Server name]' '[Server plan]' '[email]' '[price]' private

Running it on stock Debian without sudo, the script failed. sudo either needs to be installed and enabled for the current user, or you can just run as root.

It also takes the liberty of updating apt-get, then installing the following if they’re not found:

  • build-essential
  • libaio-dev
  • curl

I’ll admit, that was a little unsettling. For further tests, I’ll be installing these myself first.

Outside the package manager, it downloads:

  • FIO
  • IOPing
  • UnixBench

The reported steps:

Running dd I/O benchmark...
Running IOPing I/O benchmark...
Running FIO benchmark...
Running bandwidth benchmark...
Running traceroute...
Running ping benchmark...
Running UnixBench benchmark...	

Be prepared to wait an hour or so, depending on the performance of the infrastructure. When complete, check your inbox shortly after for the results.