diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 18 insertions, 6 deletions
@@ -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: ``` ./prepopulate2.sh @@ -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: ./graph.gnu ``` -This will generate five graphs with the prefix `graph_`. +This will generate graphs with the prefix `graph_`. |