diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-11 13:28:06 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-11 13:28:06 +0000 |
commit | a5b4af52529d598adc78ae86621f8803d12eef8f (patch) | |
tree | 4a99ade1ed3571ac8044db9e2d698001df7efe41 /src/ats/experiments | |
parent | 10bc3b99a7d8a19d8a924e93da842c1aba40cfe4 (diff) | |
download | gnunet-a5b4af52529d598adc78ae86621f8803d12eef8f.tar.gz gnunet-a5b4af52529d598adc78ae86621f8803d12eef8f.zip |
properties
Diffstat (limited to 'src/ats/experiments')
-rw-r--r-- | src/ats/experiments/example.exp | 118 |
1 files changed, 80 insertions, 38 deletions
diff --git a/src/ats/experiments/example.exp b/src/ats/experiments/example.exp index bfedcf262..ac7e85889 100644 --- a/src/ats/experiments/example.exp +++ b/src/ats/experiments/example.exp | |||
@@ -1,71 +1,113 @@ | |||
1 | [experiment] | 1 | [experiment] |
2 | name = test | 2 | name = test |
3 | masters = 1 | ||
4 | slaves = 2 | ||
5 | max_duration = 15 s | 3 | max_duration = 15 s |
6 | log_freq = 1000 ms | 4 | log_freq = 1000 ms |
7 | cfg_file = experiments/gnunet_ats_sim_default.conf | 5 | cfg_file = experiments/gnunet_ats_sim_default.conf |
8 | 6 | ||
7 | |||
9 | [episode-0] | 8 | [episode-0] |
9 | # Setup addresses | ||
10 | |||
10 | # operations = address_add, address_del, start_set_property, stop_set_property, | 11 | # operations = address_add, address_del, start_set_property, stop_set_property, |
11 | # start_set_preference, stop_preference, start_request, stop_request | 12 | # start_set_preference, stop_preference, start_request, stop_request |
12 | duration = 2 s | 13 | duration = 5 s |
13 | op-0-operation = address_add | 14 | op-0-operation = address_add |
14 | op-0-address-id = 0 | 15 | op-0-address-id = 0 |
15 | op-0-peer-id = 0 | 16 | op-0-peer-id = 0 |
16 | op-0-address-session = 0 | 17 | op-0-address-session = 0 |
17 | op-0-address-network = 0 | 18 | op-0-address-network = 0 |
18 | op-0-address = 0_0_udp | 19 | op-0-address = 0_0_test |
19 | op-0-plugin = udp | 20 | op-0-plugin = test |
20 | 21 | ||
21 | #op-1-operation = start_set_preference | 22 | op-1-operation = address_add |
22 | #op-1-address-id = 1 | 23 | op-1-address-id = 1 |
23 | #op-1-peer-id = 1 | 24 | op-1-peer-id = 1 |
24 | # constant, linear, sinus, random | 25 | op-1-address-session = 0 |
25 | #op-1-gen-type = constant | 26 | op-1-address-network = 0 |
26 | #op-1-base-rate= 10000 | 27 | op-1-address = 1_1_test |
27 | #op-1-max-rate = 100000 | 28 | op-1-plugin = test |
28 | #op-1-frequency = 500 ms | ||
29 | # BANDWIDTH, LATENCY | ||
30 | #op-1-pref = BANDWIDTH | ||
31 | 29 | ||
32 | op-1-operation = start_request | 30 | op-2-operation = start_request |
33 | op-1-peer-id = 0 | 31 | op-2-peer-id = 0 |
34 | 32 | ||
33 | op-3-operation = start_request | ||
34 | op-3-peer-id = 1 | ||
35 | 35 | ||
36 | op-2-operation = start_set_property | 36 | [episode-1] |
37 | op-2-address-id = 0 | 37 | # Set delay |
38 | op-2-peer-id = 0 | 38 | duration = 5 s |
39 | |||
40 | op-0-operation = start_set_property | ||
41 | op-0-address-id = 0 | ||
42 | op-0-peer-id = 0 | ||
43 | # constant, linear, sinus, random | ||
44 | op-0-gen-type = random | ||
45 | op-0-base-rate= 10000 | ||
46 | op-0-max-rate = 20000 | ||
47 | op-0-frequency = 1000 ms | ||
48 | # bandwidth, latency | ||
49 | # "TERMINATOR", "UTILIZATION_UP", "UTILIZATION_DOWN", "UTILIZATION_PAYLOAD_UP", "UTILIZATION_PAYLOAD_DOWN", "NETWORK_TYPE", "DELAY", "DISTANCE", "COST_WAN", "COST_LAN", "COST_WLAN" | ||
50 | op-0-property = DELAY | ||
51 | |||
52 | op-1-operation = start_set_property | ||
53 | op-1-address-id = 1 | ||
54 | op-1-peer-id = 1 | ||
39 | # constant, linear, sinus, random | 55 | # constant, linear, sinus, random |
40 | op-2-gen-type = constant | 56 | op-1-gen-type = constant |
41 | op-2-base-rate= 10000 | 57 | op-1-base-rate= 1 |
42 | op-2-max-rate = 100000 | 58 | op-1-max-rate = 1 |
43 | op-2-frequency = 500 ms | 59 | op-1-frequency = 1000 ms |
44 | # bandwidth, latency | 60 | # bandwidth, latency |
45 | # "TERMINATOR", "UTILIZATION_UP", "UTILIZATION_DOWN", "UTILIZATION_PAYLOAD_UP", "UTILIZATION_PAYLOAD_DOWN", "NETWORK_TYPE", "DELAY", "DISTANCE", "COST_WAN", "COST_LAN", "COST_WLAN" | 61 | # "TERMINATOR", "UTILIZATION_UP", "UTILIZATION_DOWN", "UTILIZATION_PAYLOAD_UP", "UTILIZATION_PAYLOAD_DOWN", "NETWORK_TYPE", "DELAY", "DISTANCE", "COST_WAN", "COST_LAN", "COST_WLAN" |
46 | op-2-property = UTILIZATION_UP | 62 | op-1-property = DELAY |
47 | 63 | ||
48 | 64 | ||
49 | [episode-1] | 65 | [episode-2] |
66 | # Shutdown | ||
50 | duration = 2 s | 67 | duration = 2 s |
51 | 68 | op-0-operation = stop_set_property | |
52 | op-0-operation = address_del | ||
53 | op-0-address-id = 0 | 69 | op-0-address-id = 0 |
54 | op-0-peer-id = 0 | 70 | op-0-peer-id = 0 |
55 | op-0-address-session = 0 | 71 | op-0-property = DELAY |
56 | op-0-address-network = 0 | ||
57 | op-0-address = 0_0_udp | ||
58 | op-0-plugin = udp | ||
59 | 72 | ||
60 | op-1-operation = stop_set_preference | 73 | op-1-operation = stop_set_property |
61 | op-1-address-id = 1 | 74 | op-1-address-id = 1 |
62 | op-1-peer-id = 1 | 75 | op-1-peer-id = 1 |
63 | op-1-pref = BANDWIDTH | 76 | op-1-property = DELAY |
77 | |||
78 | [episode-3] | ||
79 | # Shutdown | ||
80 | duration = 2 s | ||
81 | |||
82 | op-0-operation = stop_request | ||
83 | op-0-peer-id = 0 | ||
64 | 84 | ||
65 | op-2-operation = stop_set_property | 85 | op-1-operation = stop_request |
86 | op-1-peer-id = 1 | ||
87 | |||
88 | op-2-operation = address_del | ||
66 | op-2-address-id = 0 | 89 | op-2-address-id = 0 |
67 | op-2-peer-id = 0 | 90 | op-2-peer-id = 0 |
68 | op-2-property = UTILIZATION_UP | 91 | op-2-address-session = 0 |
92 | op-2-address-network = 0 | ||
93 | op-2-address = 0_0_test | ||
94 | op-2-plugin = test | ||
95 | |||
96 | op-2-operation = address_del | ||
97 | op-2-address-id = 1 | ||
98 | op-2-peer-id = 1 | ||
99 | op-2-address-session = 0 | ||
100 | op-2-address-network = 0 | ||
101 | op-2-address = 1_1_test | ||
102 | op-2-plugin = test | ||
69 | 103 | ||
70 | op-3-operation = stop_request | 104 | #op-1-operation = start_set_preference |
71 | op-3-peer-id = 0 \ No newline at end of file | 105 | #op-1-address-id = 1 |
106 | #op-1-peer-id = 1 | ||
107 | # constant, linear, sinus, random | ||
108 | #op-1-gen-type = constant | ||
109 | #op-1-base-rate= 10000 | ||
110 | #op-1-max-rate = 100000 | ||
111 | #op-1-frequency = 500 ms | ||
112 | # BANDWIDTH, LATENCY | ||
113 | #op-1-pref = BANDWIDTH \ No newline at end of file | ||