diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-11 10:30:35 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-11 10:30:35 +0000 |
commit | faa12c86edbe689bf73a8dd51b4d4cb49ef0493c (patch) | |
tree | 51a5441341dfcb97dd76feb43f1a435c4670d626 /src/ats/experiments | |
parent | a2c33dc5a1e3d508eb8a8cb8646fd7e0413c0cb5 (diff) | |
download | gnunet-faa12c86edbe689bf73a8dd51b4d4cb49ef0493c.tar.gz gnunet-faa12c86edbe689bf73a8dd51b4d4cb49ef0493c.zip |
improved quota loading + requesting and stopping address suggestions
Diffstat (limited to 'src/ats/experiments')
-rw-r--r-- | src/ats/experiments/example.exp | 14 | ||||
-rw-r--r-- | src/ats/experiments/gnunet_ats_sim_default.conf | 22 |
2 files changed, 24 insertions, 12 deletions
diff --git a/src/ats/experiments/example.exp b/src/ats/experiments/example.exp index da2ca0342..1edd83cfd 100644 --- a/src/ats/experiments/example.exp +++ b/src/ats/experiments/example.exp | |||
@@ -4,7 +4,7 @@ | |||
4 | slaves = 2 | 4 | slaves = 2 |
5 | max_duration = 15 s | 5 | max_duration = 15 s |
6 | log_freq = 1000 ms | 6 | log_freq = 1000 ms |
7 | cfg_file = gnunet_ats_sim_default.conf | 7 | cfg_file = experiments/gnunet_ats_sim_default.conf |
8 | 8 | ||
9 | [episode-0] | 9 | [episode-0] |
10 | # operations = address_add, address_del, start_set_property, stop_set_property, | 10 | # operations = address_add, address_del, start_set_property, stop_set_property, |
@@ -60,10 +60,10 @@ op-1-address-id = 1 | |||
60 | op-1-peer-id = 1 | 60 | op-1-peer-id = 1 |
61 | op-1-pref = BANDWIDTH | 61 | op-1-pref = BANDWIDTH |
62 | 62 | ||
63 | op-2-operation = stop_set_property | 63 | #op-2-operation = stop_set_property |
64 | op-2-address-id = 0 | 64 | #op-2-address-id = 0 |
65 | op-2-peer-id = 0 | 65 | #op-2-peer-id = 0 |
66 | op-2-property = UTILIZATION_UP | 66 | #op-2-property = UTILIZATION_UP |
67 | 67 | ||
68 | op-3-operation = stop_request | 68 | op-2-operation = stop_request |
69 | op-3-peer-id = 0 \ No newline at end of file | 69 | op-2-peer-id = 0 \ No newline at end of file |
diff --git a/src/ats/experiments/gnunet_ats_sim_default.conf b/src/ats/experiments/gnunet_ats_sim_default.conf index ca95eb923..14e0a2e0b 100644 --- a/src/ats/experiments/gnunet_ats_sim_default.conf +++ b/src/ats/experiments/gnunet_ats_sim_default.conf | |||
@@ -1,6 +1,18 @@ | |||
1 | @INLINE@ template_perf_ats.conf | ||
2 | [transport] | ||
3 | plugins = unix | ||
4 | |||
5 | [ats] | 1 | [ats] |
6 | MODE = PROPORTIONAL | 2 | UNSPECIFIED_QUOTA_IN = 64 KiB |
3 | UNSPECIFIED_QUOTA_OUT = 64 KiB | ||
4 | # LOOPBACK | ||
5 | LOOPBACK_QUOTA_IN = 64 KiB | ||
6 | LOOPBACK_QUOTA_OUT = 64 KiB | ||
7 | # LAN | ||
8 | LAN_QUOTA_IN = 64 KiB | ||
9 | LAN_QUOTA_OUT = 64 KiB | ||
10 | # WAN | ||
11 | WAN_QUOTA_IN = 64 KiB | ||
12 | WAN_QUOTA_OUT = 64 KiB | ||
13 | # WLAN | ||
14 | WLAN_QUOTA_IN = 64 KiB | ||
15 | WLAN_QUOTA_OUT = 64 KiB | ||
16 | # BLUETOOTH | ||
17 | BLUETOOTH_QUOTA_IN = 64 KiB | ||
18 | BLUETOOTH_QUOTA_OUT = 64 KiB | ||