diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/experiments/nse/infiniband.conf | 126 | ||||
-rw-r--r-- | contrib/infiniband_cluster.hosts | 2 | ||||
-rwxr-xr-x | contrib/testbed_cleanup.sh | 2 | ||||
-rw-r--r-- | contrib/testbed_infiniband.conf | 4 |
4 files changed, 129 insertions, 5 deletions
diff --git a/contrib/experiments/nse/infiniband.conf b/contrib/experiments/nse/infiniband.conf new file mode 100644 index 000000000..bb3ebd357 --- /dev/null +++ b/contrib/experiments/nse/infiniband.conf | |||
@@ -0,0 +1,126 @@ | |||
1 | [PATHS] | ||
2 | SERVICEHOME = /tmp/nse-profiler/ | ||
3 | |||
4 | [testbed] | ||
5 | AUTOSTART = NO | ||
6 | PORT = 12113 | ||
7 | ACCEPT_FROM = 127.0.0.1;192.168.0.0/16; | ||
8 | HOSTNAME = localhost | ||
9 | MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5 | ||
10 | OVERLAY_TOPOLOGY = RANDOM | ||
11 | OVERLAY_RANDOM_LINKS = 1000 | ||
12 | OPERATION_TIMEOUT = 45 s | ||
13 | |||
14 | [nse] | ||
15 | PORT = 12114 | ||
16 | UNIXPATH = /tmp/test-nse-service-nse.unix | ||
17 | BINARY = gnunet-service-nse | ||
18 | #BINARY = /home/mrwiggles/documents/research/gnunet/gnunet-ng/src/nse/.libs/gnunet-service-nse | ||
19 | #PREFIX = valgrind --leak-check=full --log-file=valgrind_nse.%p | ||
20 | AUTOSTART = NO | ||
21 | # Overriding network settings for faster testing (do NOT use | ||
22 | # these values in production just because they are here) | ||
23 | WORKDELAY = 60 s | ||
24 | INTERVAL = 10 s | ||
25 | WORKBITS = 0 | ||
26 | PROOFFILE = $SERVICEHOME/nse.proof | ||
27 | |||
28 | [arm] | ||
29 | DEFAULTSERVICES = core nse | ||
30 | UNIXPATH = /tmp/test-nse-service-arm.unix | ||
31 | |||
32 | [statistics] | ||
33 | AUTOSTART = YES | ||
34 | PORT = 12115 | ||
35 | |||
36 | [fs] | ||
37 | AUTOSTART = NO | ||
38 | |||
39 | [datastore] | ||
40 | AUTOSTART = NO | ||
41 | |||
42 | [dht] | ||
43 | AUTOSTART = NO | ||
44 | |||
45 | [nat] | ||
46 | DISABLEV6 = YES | ||
47 | BINDTO = 127.0.0.1 | ||
48 | ENABLE_UPNP = NO | ||
49 | BEHIND_NAT = NO | ||
50 | ALLOW_NAT = NO | ||
51 | INTERNAL_ADDRESS = 127.0.0.1 | ||
52 | EXTERNAL_ADDRESS = 127.0.0.1 | ||
53 | |||
54 | [transport] | ||
55 | plugins = udp | ||
56 | |||
57 | [transport-udp] | ||
58 | PORT = 12116 | ||
59 | |||
60 | [core] | ||
61 | AUTOSTART = YES | ||
62 | |||
63 | [peerinfo] | ||
64 | AUTOSTART = YES | ||
65 | |||
66 | [dns] | ||
67 | AUTOSTART = NO | ||
68 | |||
69 | [topology] | ||
70 | AUTOSTART = NO | ||
71 | |||
72 | [dv] | ||
73 | AUTOSTART = NO | ||
74 | |||
75 | [resolver] | ||
76 | AUTOSTART = YES | ||
77 | |||
78 | [mesh] | ||
79 | AUTOSTART = NO | ||
80 | |||
81 | [chat] | ||
82 | AUTOSTART = NO | ||
83 | |||
84 | [gns] | ||
85 | AUTOSTART = NO | ||
86 | |||
87 | [vpn] | ||
88 | AUTOSTART = NO | ||
89 | |||
90 | [nse-profiler] | ||
91 | OUTPUT_FILE = nse_output_2000_peers.dat | ||
92 | TOPOLOGY_OUTPUT_FILE = nse_topo_2000_peers | ||
93 | DATA_OUTPUT_FILE = nse_stats_2000_peers | ||
94 | ROUND0 = 1000 | ||
95 | #ROUND1 = 2000 | ||
96 | ROUND2 = 2000 | ||
97 | ROUND3 = 2000 | ||
98 | ROUND4 = 2000 | ||
99 | ROUND5 = 2000 | ||
100 | ROUND6 = 2000 | ||
101 | ROUND7 = 2000 | ||
102 | ROUND8 = 2000 | ||
103 | ROUND9 = 2000 | ||
104 | ROUND10 = 2000 | ||
105 | ROUND11 = 1000 | ||
106 | ROUND12 = 1000 | ||
107 | ROUND13 = 1000 | ||
108 | ROUND14 = 1000 | ||
109 | ROUND15 = 1000 | ||
110 | ROUND16 = 1000 | ||
111 | ROUND17 = 1000 | ||
112 | ROUND18 = 1000 | ||
113 | ROUND19 = 1000 | ||
114 | ROUND20 = 1000 | ||
115 | ROUND21 = 2000 | ||
116 | ROUND22 = 2000 | ||
117 | ROUND23 = 2000 | ||
118 | ROUND24 = 2000 | ||
119 | ROUND25 = 2000 | ||
120 | ROUND26 = 2000 | ||
121 | ROUND27 = 2000 | ||
122 | ROUND28 = 2000 | ||
123 | ROUND29 = 2000 | ||
124 | ROUND30 = 2000 | ||
125 | WAIT_TIME = 1920 s | ||
126 | CONNECTION_LIMIT = 10 | ||
diff --git a/contrib/infiniband_cluster.hosts b/contrib/infiniband_cluster.hosts index 61feb83df..05d9b6539 100644 --- a/contrib/infiniband_cluster.hosts +++ b/contrib/infiniband_cluster.hosts | |||
@@ -14,8 +14,6 @@ totakura@192.168.1.14:22 | |||
14 | totakura@192.168.1.15:22 | 14 | totakura@192.168.1.15:22 |
15 | totakura@192.168.1.16:22 | 15 | totakura@192.168.1.16:22 |
16 | totakura@192.168.1.17:22 | 16 | totakura@192.168.1.17:22 |
17 | totakura@192.168.1.18:22 | ||
18 | totakura@192.168.1.19:22 | ||
19 | totakura@192.168.1.20:22 | 17 | totakura@192.168.1.20:22 |
20 | totakura@192.168.1.21:22 | 18 | totakura@192.168.1.21:22 |
21 | totakura@192.168.1.22:22 | 19 | totakura@192.168.1.22:22 |
diff --git a/contrib/testbed_cleanup.sh b/contrib/testbed_cleanup.sh index 5e87de108..57413fba0 100755 --- a/contrib/testbed_cleanup.sh +++ b/contrib/testbed_cleanup.sh | |||
@@ -10,5 +10,5 @@ | |||
10 | for host in `cut -d : -f 1 < infiniband_cluster.hosts | cut -d @ -f 2` | 10 | for host in `cut -d : -f 1 < infiniband_cluster.hosts | cut -d @ -f 2` |
11 | do | 11 | do |
12 | echo "ssh --> $host" | 12 | echo "ssh --> $host" |
13 | ssh $host 'pkill gnunet; rm -rf /tmp/gnunet-pipe*; rm -rf /tmp/testbed*' | 13 | ssh $host 'pkill -SIGKILL gnunet; rm -rf /tmp/gnunet-pipe*; rm -rf /tmp/testbed*' |
14 | done | 14 | done |
diff --git a/contrib/testbed_infiniband.conf b/contrib/testbed_infiniband.conf index a0566b371..5ca12a1a0 100644 --- a/contrib/testbed_infiniband.conf +++ b/contrib/testbed_infiniband.conf | |||
@@ -1,10 +1,10 @@ | |||
1 | [testbed] | 1 | [testbed] |
2 | AUTOSTART = NO | 2 | AUTOSTART = NO |
3 | PORT = 12113 | 3 | PORT = 12113 |
4 | ACCEPT_FROM = 127.0.0.1; 10.6.0.0/16; | 4 | ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24; |
5 | HOSTNAME = localhost | 5 | HOSTNAME = localhost |
6 | MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5 | 6 | MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5 |
7 | OVERLAY_TOPOLOGY = RANDOM | 7 | OVERLAY_TOPOLOGY = LINE |
8 | OVERLAY_RANDOM_LINKS = 4000 | 8 | OVERLAY_RANDOM_LINKS = 4000 |
9 | OPERATION_TIMEOUT = 45 s | 9 | OPERATION_TIMEOUT = 45 s |
10 | # LOG_FILE = /tmp/testbed.log | 10 | # LOG_FILE = /tmp/testbed.log |