path: root/README.md
diff options
authorFranklin Wei <me@fwei.tk>2018-09-18 22:26:07 -0400
committerFranklin Wei <me@fwei.tk>2018-09-18 22:26:07 -0400
commita403027d1154967511e07fb7589e46f177e68a2b (patch)
treef118b688c6ba61611fe95733b63687ddaf2168be /README.md
parent8728118e3911fccdf652c27c33edf517cbc39207 (diff)
Diffstat (limited to 'README.md')
1 files changed, 18 insertions, 6 deletions
diff --git a/README.md b/README.md
index c0e2dc4..84f1dd7 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,12 @@ On Debian, type:
sudo apt-get install libsqlite3-dev libssl-dev sqlite3 make gcc g++ bc
+Also, graphs require Gnuplot:
+sudo apt-get install gnuplot
### Compiling
@@ -44,7 +50,13 @@ use it directly.
#### Prepopulating Databases
Edit `service_provider.c` and `dummy_service.c` to uncomment the
-`PREPOPULATE` macro in each one, then recompile and run:
+`PREPOPULATE` macro in each one. Also, disable error checking in
+main.c (perror() block).
+Edit the `prepopulate2.sh` and `prepopulate_dummy.sh` scripts to have
+the desired logleaves range (default is 10-12).
+Then recompile and run:
@@ -76,12 +88,12 @@ cd results
../tabulate.sh 10 25 5
-Your working directory must be in the `results` directory for this to
-work. The arguments to `tabulate.sh` must be exactly the same as those
-passed to `testmain_preinit.sh`.
+Your working directory must be in the `results` directory for the
+second command to work. The arguments to `tabulate.sh` must be exactly
+the same as those passed to `testmain_preinit.sh`.
This step will produce many files with the prefix `final_` in the
-`results` directory.
+`results` directory. These are the final data.
To use Gnuplot to produce graphs from these, change to the project
root directory and run:
@@ -91,4 +103,4 @@ root directory and run:
-This will generate five graphs with the prefix `graph_`.
+This will generate graphs with the prefix `graph_`.