omnetpp.ini 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. [General]
  2. network = VoIPStreamLargeNet
  3. warnings = true
  4. num-rngs = 8
  5. rng-class = "cMersenneTwister"
  6. sim-time-limit = 100s
  7. total-stack = 2MiB # increase if necessary
  8. cmdenv-express-mode = true
  9. # tkenv-default-run=1
  10. #[Config config1]
  11. # udp app
  12. **.voipClient.numUdpApps = 1
  13. **.voipClient.udpApp[0].typename = "VoIPStreamReceiver"
  14. **.voipClient.udpApp[0].localPort = 1000
  15. **.voipClient.udpApp[0].resultFile = "results/results.wav"
  16. **.voipServer.numUdpApps = 1
  17. **.voipServer.udpApp[0].typename = "VoIPStreamSender"
  18. **.voipServer.udpApp[0].packetTimeLength = 20ms
  19. **.voipServer.udpApp[0].voipHeaderSize = 4B
  20. **.voipServer.udpApp[0].samplingRate = 8000Hz
  21. **.voipServer.udpApp[0].compressedBitRate = 40000bps
  22. **.voipServer.udpApp[0].voipSilenceThreshold = 100
  23. **.voipServer.udpApp[0].repeatCount = 2
  24. **.voipServer.udpApp[0].traceFileName = "results/srctrace.wav"
  25. # **.voipServer.udpApp[0].filemode = "random"
  26. #**.voipServer.udpApp[0].soundFile = "../soundFiles/Beatify_Dabei_cut.mp3"
  27. #**.voipServer.udpApp[0].soundFile = "../soundFiles/Beatify_Ria_cut.mp3"
  28. **.voipServer.udpApp[0].soundFile = "../soundFiles/husten.mp3"
  29. #**.voipServer.udpApp[0].soundFile = "../soundFiles/husten.wav"
  30. #**.voipServer.udpApp[0].soundFile = "../soundFiles/langes blabla.wav"
  31. #**.voipServer.udpApp[0].soundFile = "../soundFiles/ria_44100_stereo.mp3" #OK
  32. #**.voipServer.udpApp[0].soundFile = "../soundFiles/ria_8000_mono.mp3" #BUG extra 576 sample at the end
  33. #**.voipServer.udpApp[0].soundFile = "../soundFiles/ria_8000_stereo.mp3" #BUG: sinus noise at 0.15-0.22s, extra 576 sample at the end
  34. #**.voipServer.udpApp[0].soundFile = "../soundFiles/steuern.wav"
  35. #**.voipServer.udpApp[0].soundFile = "../soundFiles/test.wav"
  36. **.voipServer.udpApp[0].localPort = 1000
  37. **.voipServer.udpApp[0].destPort = 1000
  38. **.voipServer.udpApp[0].srcAddress = ""
  39. **.voipServer.udpApp[0].destAddress = "voipClient"
  40. # tcp apps (off)
  41. **.client.numTcpApps = 0
  42. **.client.tcpAppType = "TCPSessionApp"
  43. #**.voipServer.tcpAppType="TCPSinkApp"
  44. **.voipServer.numTcpApps = 0
  45. **.voipServer.tcpAppType = "TCPEchoApp"
  46. # tcp settings
  47. **.tcp.mss = 1024
  48. **.tcp.advertisedWindow = 14336 # 14*mss
  49. #**.tcp.sendQueueClass = "TCPVirtualDataSendQueue"
  50. #**.tcp.receiveQueueClass = "TCPVirtualDataRcvQueue"
  51. **.tcp.tcpAlgorithmClass = "TCPReno"
  52. **.tcp.recordStats = true
  53. # ip settings
  54. **.ip.procDelay = 10us
  55. **.forwarding = false # Router's is hardwired "true"
  56. # hook names
  57. **.qosBehaviorClass = "EnqueueWithoutQoS"
  58. **.ip.*.procDelay = 0
  59. # ARP configuration
  60. **.arp.retryTimeout = 1s
  61. **.arp.retryCount = 3
  62. **.arp.cacheTimeout = 100s
  63. **.networkLayer.proxyARP = true # Host's is hardwired "false"
  64. # Ethernet NIC configuration
  65. **.eth[*].encap.writeScalars = false
  66. **.eth[*].mac.promiscuous = false
  67. **.eth[*].mac.address = "auto"
  68. **.eth[*].mac.duplexMode = true
  69. **.eth[*].mac.writeScalars = false
  70. # Queues
  71. **.ppp[*].queueType = "DropTailQueue"
  72. **.ppp[*].queue.frameCapacity = 10
  73. **.eth[*].queueType = "DropTailQueue" # in routers
  74. **.eth[*].queue.dataQueue.frameCapacity = 10 # in routers
  75. # nam trace
  76. **.nam.logfile = "trace.nam"
  77. **.nam.prolog = ""
  78. **.namid = -1 # auto
  79. # Ethernet switch
  80. **.switch*.relayUnitType = "MACRelayUnit"
  81. **.relayUnit.addressTableSize = 100
  82. **.relayUnit.agingTime = 120s
  83. **.relayUnit.bufferSize = 1048576B # 1Mb
  84. **.relayUnit.highWatermark = 524288B # 512K
  85. **.relayUnit.pauseUnits = 300 # pause for 300*512 bit (19200 byte) time
  86. **.relayUnit.addressTableFile = ""
  87. **.relayUnit.numCPUs = 2
  88. **.relayUnit.processingTime = 2us
  89. **.relayUnit.writeScalars = true
  90. **.mac[*].writeScalars = true
  91. **.mac[*].address = "auto"
  92. **.mac[*].maxQueueSize = 50
  93. **.mac[*].promiscuous = false
  94. **.mac[*].duplexMode = true
  95. VoIPStreamLargeNet.n = 8 # number of switches on backbone
  96. VoIPStreamLargeNet.*s = 1 # uncomment for testing: one LAN of each type on each switch
  97. VoIPStreamLargeNet.*m = 1 # uncomment for testing: one LAN of each type on each switch
  98. VoIPStreamLargeNet.*l = 1 # uncomment for testing: one LAN of each type on each switch
  99. #VoIPStreamLargeNet.bbs=6 # number of small LANs on backbone switches
  100. #VoIPStreamLargeNet.bbm=15 # number of medium LANs on backbone switches
  101. #VoIPStreamLargeNet.bbl=8 # number of large LANs on backbone switches
  102. #VoIPStreamLargeNet.?s=4 # sets as,bs,cs: number of small LANs on switches A,B,C,D
  103. #VoIPStreamLargeNet.?m=8 # sets am,bm,cm: number of medium LANs on switches A,B,C,D
  104. #VoIPStreamLargeNet.?l=3 # sets al,bl,cl: number of large LANs on switches A,B,C,D
  105. #VoIPStreamLargeNet.*.n=12 # number of hosts connected to a switch in each LAN
  106. #VoIPStreamLargeNet.*.n = 4 # number of hosts connected to a switch in each LAN
  107. #VoIPStreamLargeNet.*.h = 4 # number of hosts connected to a hub in each LAN
  108. #VoIPStreamLargeNet.*.b = 4 # number of hosts connected to a bus in each LAN
  109. VoIPStreamLargeNet.*.n = 8 # number of hosts connected to a switch in each LAN
  110. VoIPStreamLargeNet.*.h = 5 # number of hosts connected to a hub in each LAN
  111. VoIPStreamLargeNet.*.b = 7 # number of hosts connected to a bus in each LAN
  112. VoIPStreamLargeNet.**.cli.reqLength = intuniform(50,1400)*1B
  113. VoIPStreamLargeNet.**.cli.respLength = truncnormal(5000B,5000B)
  114. VoIPStreamLargeNet.**.cli.sendInterval = exponential(30s)
  115. VoIPStreamLargeNet.*.*host[0].cli.destAddress = "serverA"
  116. VoIPStreamLargeNet.*.*host[1].cli.destAddress = "serverB"
  117. VoIPStreamLargeNet.*.*host[2].cli.destAddress = "serverB"
  118. VoIPStreamLargeNet.*.*host[3].cli.destAddress = "serverC"
  119. VoIPStreamLargeNet.*.*host[4].cli.destAddress = "serverC"
  120. VoIPStreamLargeNet.*.*host[*].cli.destAddress = "serverD"
  121. VoIPStreamLargeNet.server*.cli.destAddress = ""
  122. VoIPStreamLargeNet.*.switch.relayUnit.numCPUs = 1
  123. VoIPStreamLargeNet.switch*.relayUnit.numCPUs = 2