aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/perf_scalarproduct.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/scalarproduct/perf_scalarproduct.sh')
-rwxr-xr-xsrc/scalarproduct/perf_scalarproduct.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/scalarproduct/perf_scalarproduct.sh b/src/scalarproduct/perf_scalarproduct.sh
index 5424134df..aac184d91 100755
--- a/src/scalarproduct/perf_scalarproduct.sh
+++ b/src/scalarproduct/perf_scalarproduct.sh
@@ -1,16 +1,16 @@
1#!/bin/bash 1#!/bin/bash
2# Computes a simple scalar product, with configurable vector size. 2# Computes a simple scalar product, with configurable vector size.
3# 3#
4# Some results: 4# Some results (wall-clock for Alice+Bob, single-core, i7):
5# SIZE TIME-H(s) TIME-O(s) 5# SIZE 2048-H(s) 2048-O(s) 1024-O(s)
6# 25 10 6# 25 10 14 3
7# 50 17 7# 50 17 21 5
8# 100 32 39 8# 100 32 39 7
9# 200 77 9# 200 77 13
10# 10# 400 149 23
11# 11# 800 304 32
12# Configure benchmark size: 12# Configure benchmark size:
13SIZE=400 13SIZE=25
14# 14#
15# Construct input vectors: 15# Construct input vectors:
16INPUTALICE="-k CCC -e '" 16INPUTALICE="-k CCC -e '"
@@ -36,7 +36,7 @@ CFGBOB="-c $PREFIX/1/config"
36# because the rest of the script is already in stdin, 36# because the rest of the script is already in stdin,
37# thus redirecting stdin does not suffice) 37# thus redirecting stdin does not suffice)
38#GNUNET_FORCE_LOG=';;;;ERROR' 38#GNUNET_FORCE_LOG=';;;;ERROR'
39GNUNET_FORCE_LOG='scalarproduct*;;;;DEBUG/cadet-api*;;;;DEBUG' 39#GNUNET_FORCE_LOG='scalarproduct*;;;;DEBUG/cadet-api*;;;;DEBUG'
40GNUNET_TESTING_PREFIX=$PREFIX ../testbed/gnunet-testbed-profiler -n -c test_scalarproduct.conf -p 2 & 40GNUNET_TESTING_PREFIX=$PREFIX ../testbed/gnunet-testbed-profiler -n -c test_scalarproduct.conf -p 2 &
41PID=$! 41PID=$!
42# sleep 1 is too short on most systems, 2 works on most, 5 seems to be safe 42# sleep 1 is too short on most systems, 2 works on most, 5 seems to be safe