aboutsummaryrefslogtreecommitdiff
path: root/src/ats/experiments
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-02-11 10:30:35 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-02-11 10:30:35 +0000
commitfaa12c86edbe689bf73a8dd51b4d4cb49ef0493c (patch)
tree51a5441341dfcb97dd76feb43f1a435c4670d626 /src/ats/experiments
parenta2c33dc5a1e3d508eb8a8cb8646fd7e0413c0cb5 (diff)
downloadgnunet-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.exp14
-rw-r--r--src/ats/experiments/gnunet_ats_sim_default.conf22
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
60op-1-peer-id = 1 60op-1-peer-id = 1
61op-1-pref = BANDWIDTH 61op-1-pref = BANDWIDTH
62 62
63op-2-operation = stop_set_property 63#op-2-operation = stop_set_property
64op-2-address-id = 0 64#op-2-address-id = 0
65op-2-peer-id = 0 65#op-2-peer-id = 0
66op-2-property = UTILIZATION_UP 66#op-2-property = UTILIZATION_UP
67 67
68op-3-operation = stop_request 68op-2-operation = stop_request
69op-3-peer-id = 0 \ No newline at end of file 69op-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]
3plugins = unix
4
5[ats] 1[ats]
6MODE = PROPORTIONAL 2UNSPECIFIED_QUOTA_IN = 64 KiB
3UNSPECIFIED_QUOTA_OUT = 64 KiB
4# LOOPBACK
5LOOPBACK_QUOTA_IN = 64 KiB
6LOOPBACK_QUOTA_OUT = 64 KiB
7# LAN
8LAN_QUOTA_IN = 64 KiB
9LAN_QUOTA_OUT = 64 KiB
10# WAN
11WAN_QUOTA_IN = 64 KiB
12WAN_QUOTA_OUT = 64 KiB
13# WLAN
14WLAN_QUOTA_IN = 64 KiB
15WLAN_QUOTA_OUT = 64 KiB
16# BLUETOOTH
17BLUETOOTH_QUOTA_IN = 64 KiB
18BLUETOOTH_QUOTA_OUT = 64 KiB