guix-env: some update.
[oweals/gnunet.git] / src / ats / ats.conf.in
1 [ats]
2 AUTOSTART = @AUTOSTART@
3 @UNIXONLY@ PORT = 2098
4 HOSTNAME = localhost
5 BINARY = gnunet-service-ats
6 ACCEPT_FROM = 127.0.0.1;
7 ACCEPT_FROM6 = ::1;
8 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-ats.sock
9 UNIX_MATCH_UID = NO
10 UNIX_MATCH_GID = YES
11 # PREFIX = valgrind
12 # Designated assignment mode: PROPORTIONAL / MLP / RIL
13 MODE = proportional
14
15 # Network specific inbound/outbound quotas
16 UNSPECIFIED_QUOTA_IN = 64 KiB
17 UNSPECIFIED_QUOTA_OUT = 64 KiB
18 # LOOPBACK
19 LOOPBACK_QUOTA_IN = unlimited
20 LOOPBACK_QUOTA_OUT = unlimited
21 # LAN
22 LAN_QUOTA_IN = unlimited
23 LAN_QUOTA_OUT = unlimited
24 # WAN
25 WAN_QUOTA_IN = 64 KiB
26 WAN_QUOTA_OUT = 64 KiB
27 # WLAN
28 WLAN_QUOTA_IN = 1 MiB
29 WLAN_QUOTA_OUT = 1 MiB
30 # BLUETOOTH
31 BLUETOOTH_QUOTA_IN = 128 KiB
32 BLUETOOTH_QUOTA_OUT = 128 KiB
33 # ATS options
34
35 # Proportional specific settings
36 # How proportional to preferences is bandwidth distribution in a network
37 # 1.0: Fair with respect to addresses without preferences
38 # > 1.0: The bigger, the more respect is payed to preferences
39 PROP_PROPORTIONALITY_FACTOR = 2.00
40 # Should we stick to existing connections are prefer to switch?
41 # [1.0...2.0], lower value prefers to switch, bigger value is more tolerant
42 PROP_STABILITY_FACTOR = 1.25
43
44 # MLP specific settings
45 # MLP defaults
46
47 # Maximum duration for a solution process (both LP and MILP)
48 # MLP_MAX_DURATION = 3 s
49 # Maximum numbero of iterations for a solution process (only LP)
50 # MLP_MAX_ITERATIONS =
51 # Tolerated MIP Gap [0.0 .. 1.0], default 0.025
52 MLP_MAX_MIP_GAP = 0.025
53 # Tolerated LP/MIP Gap [0.0 .. 1.0], default 0.025
54 MLP_MAX_LP_MIP_GAP = 0.025
55
56
57 # Maximum number of iterations for a solution process
58 # MLP_MAX_ITERATIONS = 1024
59 # MLP_COEFFICIENT_D = 1.0
60 # MLP_COEFFICIENT_U = 1.0
61 # MLP_COEFFICIENT_R = 1.0
62 # MLP_MIN_BANDWIDTH = 1024
63 # MLP_MIN_CONNECTIONS = 4
64
65 # MLP Log settings
66 # Dump all problems to disk
67 # MLP_DUMP_PROBLEM_ALL = YES
68 # Dump all solution to disk
69 # MLP_DUMP_SOLUTION_ALL = YES
70 # Print GLPK output
71 # MLP_GLPK_VERBOSE = YES
72
73 # Dump all problems to disk
74 MLP_DUMP_PROBLEM_ON_FAIL = YES
75 # Dump all solution to disk
76 MLP_DUMP_SOLUTION_ON_FAIL = YES
77
78 # RIL specifc settings
79 RIL_STEP_TIME_MIN = 500 ms
80 RIL_STEP_TIME_MAX = 1000 ms
81
82 # SARSA or Q-LEARNING
83 RIL_ALGORITHM = Q-LEARNING
84 RIL_DISCOUNT_BETA = 0.7
85 RIL_GRADIENT_STEP_SIZE = 0.3
86 RIL_TRACE_DECAY = 0.2
87 RIL_EXPLORE_RATIO = 0.1
88 RIL_GLOBAL_REWARD_SHARE = 1