omnetpp.ini 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. [General]
  2. network = DiffservNetwork
  3. sim-time-limit = 1250s
  4. #cmdenv-express-mode = false
  5. **.result-recording-modes =
  6. **.scalar-recording = false
  7. debug-statistics-recording = true
  8. # default queues
  9. **.queueType = "DropTailQueue"
  10. **.queue.frameCapacity = 100
  11. **.queue.dataQueue.frameCapacity = 100
  12. [Config Apps]
  13. **.H{1..8}.numUdpApps = 2 # 0 = voice, 1 = video
  14. # voice streaming
  15. **.H{1..4}.udpApp[0].typename = "UDPBasicBurst"
  16. **.H1.udpApp[0].destAddresses = "H5"
  17. **.H2.udpApp[0].destAddresses = "H6"
  18. **.H3.udpApp[0].destAddresses = "H7"
  19. **.H4.udpApp[0].destAddresses = "H8"
  20. **.H{1..4}.udpApp[0].chooseDestAddrMode = "once"
  21. **.H{1..4}.udpApp[0].destPort = 2000
  22. **.H{1..4}.udpApp[0].startTime = uniform(1s,2s)
  23. **.H{1..4}.udpApp[0].stopTime = 1200s
  24. **.H{1..4}.udpApp[0].messageLength = 172B # 160B voice + 12B RTP header
  25. **.H{1..4}.udpApp[0].burstDuration = exponential(0.352s)
  26. **.H{1..4}.udpApp[0].sleepDuration = exponential(0.650s)
  27. **.H{1..4}.udpApp[0].sendInterval = 20ms
  28. **.H{5..8}.udpApp[0].typename = "UDPBasicBurst"
  29. **.H{5..8}.udpApp[0].localPort = 2000
  30. **.H{5..8}.udpApp[0].delayLimit = 0ms
  31. **.H{5..8}.udpApp[0].destAddresses = ""
  32. **.H{5..8}.udpApp[0].chooseDestAddrMode = "once"
  33. **.H{5..8}.udpApp[0].destPort = 0
  34. **.H{5..8}.udpApp[0].messageLength = 0B
  35. **.H{5..8}.udpApp[0].burstDuration = 0s
  36. **.H{5..8}.udpApp[0].sleepDuration = 0s
  37. **.H{5..8}.udpApp[0].sendInterval = 0ms
  38. # video streaming
  39. **.H{1..4}.udpApp[1].typename = "UDPBasicApp"
  40. **.H{1..4}.udpApp[1].destPort = 1000
  41. **.H{1..4}.udpApp[1].startTime = uniform(1s,2s)
  42. **.H{1..4}.udpApp[1].stopTime = 1200s
  43. **.H{1..4}.udpApp[1].sendInterval = 40ms
  44. **.H{1..4}.udpApp[1].messageLength = 500B
  45. **.H1.udpApp[1].destAddresses = "H5"
  46. **.H2.udpApp[1].destAddresses = "H6"
  47. **.H3.udpApp[1].destAddresses = "H7"
  48. **.H4.udpApp[1].destAddresses = "H8"
  49. **.H{5..8}.udpApp[1].typename = "UDPSink"
  50. **.H{5..8}.udpApp[1].localPort = 1000
  51. #
  52. # Experiment 1
  53. #
  54. [Config Exp1]
  55. **.edgeDatarate = 500kbps
  56. **.coreDatarate = 500kbps
  57. **.R?.eth[*].ingressTCType = "TC1"
  58. **.ingressTC.numClasses = 4
  59. **.ingressTC.classifier.filters = xmldoc("filters.xml", "//experiment[@id='default']")
  60. **.ingressTC.marker.dscps = "AF11 AF21 AF31 AF41 BE"
  61. **.R?.ppp[*].queueType = "DSQueue1"
  62. **.R?.ppp[*].queue.frameCapacity = 100
  63. # statistics
  64. **.H{1..4}.udpApp[*].sentPk.result-recording-modes = count
  65. **.H{5..8}.udpApp[*].rcvdPk.result-recording-modes = count
  66. **.H{5..8}.udpApp[*].endToEndDelay.result-recording-modes = vector # for computing median
  67. **.R2.ppp[2].**Queue.rcvdPk.result-recording-modes = count
  68. **.R2.ppp[2].**Queue.dropPk.result-recording-modes = count
  69. **.R2.ppp[2].**Queue.queueLength.result-recording-modes = timeavg
  70. **.R2.ppp[2].**Queue.queueingTime.result-recording-modes = vector # for computing median
  71. **.udpApp[*].sentPk*.scalar-recording = true
  72. **.udpApp[*].rcvdPk*.scalar-recording = true
  73. **.udpApp[*].endToEndDelay*.scalar-recording = true
  74. **.R2.ppp[2].**Queue.*.scalar-recording = true
  75. **.afQueue.*.scalar-recording = true
  76. [Config Exp11]
  77. extends = Apps, Exp1
  78. **.R?.ppp[*].queue.wrr.weights = "10 9 8 7 0"
  79. [Config Exp12]
  80. extends = Apps, Exp1
  81. **.R?.ppp[*].queue.wrr.weights = "9 8 7 6 0"
  82. [Config Exp13]
  83. extends = Apps, Exp1
  84. **.R?.ppp[*].queue.wrr.weights = "8 7 6 5 0"
  85. [Config Exp14]
  86. extends = Apps, Exp1
  87. **.R?.ppp[*].queue.wrr.weights = "7 6 5 4 0"
  88. [Config Exp15]
  89. extends = Apps, Exp1
  90. **.R?.ppp[*].queue.wrr.weights = "1 1 1 1 0"
  91. [Config Exp16]
  92. extends = Apps, Exp1
  93. **.ingressTC.marker.dscps = "AF11 AF21 AF31 EF BE"
  94. **.R?.ppp[*].queue.wrr.weights = "1 1 1 0 0"
  95. [Config Exp17]
  96. extends = Apps, Exp1
  97. **.queueType = "DropTailQueue"
  98. **.queue.frameCapacity = 400
  99. #
  100. # Experiment 2
  101. #
  102. [Config Exp2]
  103. **.edgeDatarate = 10Mbps
  104. **.coreDatarate = 500kbps
  105. **.H4.numUdpApps = 1
  106. **.H4.udpApp[0].typename = "UDPBasicApp"
  107. **.H4.udpApp[0].destPort = 1000
  108. **.H4.udpApp[0].startTime = uniform(1s,2s)
  109. **.H4.udpApp[0].stopTime = 1200s
  110. **.H4.udpApp[0].sendInterval = ${iaTime=400ms,200ms,133ms,100ms,80ms,67ms,57ms,50ms,44ms,40ms} # rates: 10kbps,20kbps,...100kpbs
  111. **.H4.udpApp[0].messageLength = 500B-20B-8B
  112. **.H4.udpApp[0].destAddresses = "H8"
  113. **.H8.numUdpApps = 1
  114. **.H8.udpApp[0].typename = "UDPSink"
  115. **.H8.udpApp[0].localPort = 1000
  116. **.R?.eth[*].ingressTCType = "TC1"
  117. **.ingressTC.numClasses = 4
  118. **.ingressTC.classifier.filters = xmldoc("filters.xml", "//experiment[@id='default']")
  119. **.R?.ppp[*].queueType = "DSQueue2"
  120. **.R?.**.beQueue.frameCapacity = 100
  121. **.R?.**.red.minths = "60 30 10"
  122. **.R?.**.red.maxths = "100 70 40"
  123. **.R?.**.red.maxps = "0.40 0.70 1.00"
  124. **.R?.**.wrr.weights = "1 1"
  125. # statistics
  126. **.H{1..3}.udpApp[*].sentPk.result-recording-modes = count
  127. **.H{5..7}.udpApp[*].rcvdPk.result-recording-modes = count
  128. **.R2.ppp[2].queue.afQueue.queueLength.result-recording-modes = timeavg,vector
  129. **.udpApp[*].sentPk*.scalar-recording = true
  130. **.udpApp[*].rcvdPk*.scalar-recording = true
  131. **.afQueue.*.scalar-recording = true
  132. [Config Exp21]
  133. extends = Exp2, Apps
  134. **.ingressTC.marker.dscps = "AF11 AF12 AF13 AF11 BE"
  135. [Config Exp22]
  136. extends = Exp2, Apps
  137. **.ingressTC.marker.dscps = "AF11 AF12 AF13 AF12 BE"
  138. [Config Exp23]
  139. extends = Exp2, Apps
  140. **.ingressTC.marker.dscps = "AF11 AF12 AF13 AF13 BE"
  141. [Config Exp24]
  142. extends = Exp2, Apps
  143. **.R?.eth[*].ingressTCType = ""
  144. **.R?.ppp[*].queueType = "DropTailQueue"
  145. **.R?.ppp[*].queue.frameCapacity = 100
  146. #
  147. # Experiment 3
  148. #
  149. [Config Exp3]
  150. repeat = 3
  151. **.edgeDatarate = 300kbps # TODO was 350kbps
  152. **.coreDatarate = 300kbps # TODO was 350kbps
  153. **.H2.numUdpApps = 0
  154. **.H4.numUdpApps = 0
  155. **.H1.numUdpApps = 3
  156. **.H1.udpApp[2].typename = "UDPBasicApp"
  157. **.H1.udpApp[2].destPort = 3000
  158. **.H1.udpApp[2].startTime = uniform(1s,2s)
  159. **.H1.udpApp[2].stopTime = 1200s
  160. **.H1.udpApp[2].sendInterval = ${iaTime=400ms,200ms,133ms,100ms,80ms} # rates: 10kbps,20kbps,...50kpbs
  161. **.H1.udpApp[2].messageLength = 500B-20B-8B
  162. **.H1.udpApp[2].destAddresses = "H5"
  163. **.H5.numUdpApps = 3
  164. **.H5.udpApp[2].typename = "UDPSink"
  165. **.H5.udpApp[2].localPort = 3000
  166. # statistics
  167. **.H{1}.udpApp[*].sentPk.result-recording-modes = count
  168. **.H{3}.udpApp[*].sentPk.result-recording-modes = count
  169. **.H{5}.udpApp[*].rcvdPk.result-recording-modes = count
  170. **.H{7}.udpApp[*].rcvdPk.result-recording-modes = count
  171. **.udpApp[*].sentPk*.scalar-recording = true
  172. **.udpApp[*].rcvdPk*.scalar-recording = true
  173. [Config Exp31]
  174. extends = Exp3, Apps
  175. **.R?.eth[*].ingressTCType = "TC2"
  176. **.ingressTC.meter.cir = "150kbps"
  177. **.ingressTC.meter.cbs = 30000B
  178. **.ingressTC.marker.dscps = "AF11 AF12"
  179. **.R?.ppp[*].queueType = "DSQueue2"
  180. **.R?.**.beQueue.frameCapacity = 100
  181. **.R?.**.red.minths = "0 10 10"
  182. **.R?.**.red.maxths = "100 50 50"
  183. **.R?.**.red.maxps = "0.0 1.0 1.0"
  184. **.R?.**.wrr.weights = "1 1"
  185. [Config Exp32]
  186. extends = Exp3, Apps
  187. **.R?.eth[*].ingressTCType = "TC3"
  188. **.ingressTC.meter.cir = "150kbps"
  189. **.ingressTC.meter.cbs = 30000B
  190. **.R?.ppp[*].queueType = "DropTailQueue"
  191. **.R?.ppp[*].queue.frameCapacity = 200
  192. [Config Exp33]
  193. extends = Exp3, Apps
  194. **.R?.ppp[*].queueType = "DropTailQueue"
  195. **.R?.ppp[*].queue.frameCapacity = 200
  196. [Config Exp5]
  197. repeat = 3
  198. **.edgeDatarate = 500kbps # XXX 600kbps
  199. **.coreDatarate = 500kbps # XXX 600kbps
  200. # statistics
  201. **.H{1..4}.udpApp[*].sentPk.result-recording-modes = count
  202. **.H{5..8}.udpApp[*].rcvdPk.result-recording-modes = count
  203. **.H{5..8}.udpApp[*].endToEndDelay.result-recording-modes = vector # for computing median
  204. **.R2.ppp[2].**Queue.rcvdPk.result-recording-modes = count
  205. **.R2.ppp[2].**Queue.dropPk.result-recording-modes = count
  206. **.R2.ppp[2].**Queue.queueLength.result-recording-modes = timeavg
  207. **.R2.ppp[2].**Queue.queueingTime.result-recording-modes = vector # for computing median
  208. **.udpApp[*].sentPk*.scalar-recording = true
  209. **.udpApp[*].rcvdPk*.scalar-recording = true
  210. **.udpApp[*].endToEndDelay*.scalar-recording = true
  211. **.R2.ppp[2].**Queue.*.scalar-recording = true
  212. [Config Exp51]
  213. extends = Exp5, Apps
  214. **.R?.eth[*].ingressTCType = "TC1"
  215. **.ingressTC.numClasses = 3
  216. **.ingressTC.classifier.filters = xmldoc("filters.xml", "//experiment[@id='5.1']")
  217. **.ingressTC.marker.dscps = "EF AF11 AF21 BE" # BE is for ARP
  218. **.R?.ppp[*].queueType = "DSQueue1"
  219. **.R?.ppp[*].queue.frameCapacity = 100
  220. **.R?.**.wrr.weights = "4 3 0 0 1"
  221. [Config Exp52]
  222. extends = Exp5, Apps
  223. **.R?.ppp[*].egressTCType = ""
  224. **.R?.ppp[*].queueType = "DropTailQueue"
  225. **.R?.ppp[*].queue.frameCapacity = 200