ats.conf.in 2.3 KB

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