Skip to content

Latest commit

 

History

History

benchmarks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Running Benchmarks

These instructions are mainly for running the benchmarks on an cloud instance that is intended to be thrown away, not on a dev machine. Be careful with the install scripts locally.

This has only been tested on Ubuntu 16.04. It should work on Ubuntu 14.04 as well. It may work on Debian, but has never been tested.

Setting up the machine

Put the files on the machine and login (all code assumes you are in this directory locally)

scp -r setup user@host:
ssh user@host

Run the install scripts (once per machine)

cd setup
chmod +x *
sudo ./INSTALL_ROOT.sh
./INSTALL_USER.sh

Running the tests

Make sure the hostname is set to a good value for recording:

hostname -s
sudo hostname <a good name>

Run the benchmarks in a screen:

screen
~/RUN_BENCHMARKS.sh

Copy them back from your local machine:

scp user@host:go/src/github.com/tendermint/merkleeyes/iavl/benchmarks/results/* results
git add results