omnetpp.ini 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. [General]
  2. network = VoIPStreamTrafficTest
  3. tkenv-plugin-path = ../../../etc/plugins
  4. warnings = true
  5. num-rngs = 8
  6. rng-class = "cMersenneTwister"
  7. sim-time-limit =100s
  8. total-stack = 2MiB # increase if necessary
  9. cmdenv-express-mode = true
  10. # tkenv-default-run=1
  11. #[Config config1]
  12. # udp app
  13. **.client.numUdpApps = 1
  14. **.client.udpApp[0].typename = "VoIPStreamReceiver"
  15. **.client.udpApp[0].localPort = 1000
  16. **.client.udpApp[0].resultFile = "results/results.wav"
  17. **.server.numUdpApps = 1
  18. **.server.udpApp[0].typename = "VoIPStreamSender"
  19. **.server.udpApp[0].packetTimeLength = 20ms
  20. **.server.udpApp[0].voipHeaderSize = 4B
  21. **.server.udpApp[0].samplingRate = 8000Hz
  22. **.server.udpApp[0].compressedBitRate = 40000bps
  23. **.server.udpApp[0].voipSilenceThreshold = 100
  24. **.server.udpApp[0].repeatCount = 1
  25. **.server.udpApp[0].traceFileName = "results/VoIPtrace.wav"
  26. # **.server.udpApp[0].filemode = "random"
  27. #**.server.udpApp[0].soundFile = "../soundFiles/Beatify_Dabei_cut.mp3"
  28. #**.server.udpApp[0].soundFile = "../soundFiles/Beatify_Ria_cut.mp3"
  29. **.server.udpApp[0].soundFile = "../soundFiles/husten.mp3"
  30. #**.server.udpApp[0].soundFile = "../soundFiles/husten.wav"
  31. #**.server.udpApp[0].soundFile = "../soundFiles/langes blabla.wav"
  32. #**.server.udpApp[0].soundFile = "../soundFiles/ria_44100_stereo.mp3" #OK
  33. #**.server.udpApp[0].soundFile = "../soundFiles/ria_8000_mono.mp3" #BUG extra 576 sample at the end
  34. #**.server.udpApp[0].soundFile = "../soundFiles/ria_8000_stereo.mp3" #BUG: sinus noise at 0.15-0.22s, extra 576 sample at the end
  35. #**.server.udpApp[0].soundFile = "../soundFiles/steuern.wav"
  36. #**.server.udpApp[0].soundFile = "../soundFiles/test.wav"
  37. **.server.udpApp[0].localPort = 1000
  38. **.server.udpApp[0].destPort = 1000
  39. **.server.udpApp[0].srcAddress = ""
  40. **.server.udpApp[0].destAddress = "client"
  41. ## tcp apps
  42. **.host1.numTcpApps = 1
  43. **.host1.tcpApp[0].typename = "TCPSessionApp"
  44. **.host1.tcpApp[0].active = true
  45. **.host1.tcpApp[0].localPort = -1
  46. **.host1.tcpApp[0].connectAddress = "host2"
  47. **.host1.tcpApp[0].connectPort = 1000
  48. **.host1.tcpApp[0].tOpen = 0.2s
  49. **.host1.tcpApp[0].tSend = 0.4s
  50. **.host1.tcpApp[0].sendBytes = 10000000B
  51. **.host1.tcpApp[0].sendScript = ""
  52. **.host1.tcpApp[0].tClose = 100s
  53. **.host2.numTcpApps = 1
  54. #**.host2.tcpAppType="TCPSinkApp"
  55. **.host2.tcpApp[0].typename = "TCPEchoApp"
  56. **.host2.tcpApp[0].localPort = 1000
  57. **.host2.tcpApp[0].echoFactor = 2.0
  58. **.host2.tcpApp[0].echoDelay = 0
  59. # tcp settings
  60. **.tcp.mss = 1024
  61. **.tcp.advertisedWindow = 14336 # 14*mss
  62. **.tcp.recordStats = true
  63. # ip settings
  64. **.ip.procDelay = 10us
  65. **.forwarding = false # Router's is hardwired "true"
  66. # hook names
  67. **.qosBehaviorClass = "EnqueueWithoutQoS"
  68. **.ip.*.procDelay = 0
  69. # ARP configuration
  70. **.arp.retryTimeout = 1s
  71. **.arp.retryCount = 3
  72. **.arp.cacheTimeout = 100s
  73. **.networkLayer.proxyARP = true # Host's is hardwired "false"
  74. # Ethernet NIC configuration
  75. **.eth[*].encap.writeScalars = false
  76. **.eth[*].mac.promiscuous = false
  77. **.eth[*].mac.address = "auto"
  78. **.eth[*].mac.duplexMode = true
  79. **.eth[*].mac.writeScalars = false
  80. # Queues
  81. **.ppp[*].queueType = "DropTailQueue"
  82. **.ppp[*].queue.frameCapacity = 10
  83. **.eth[*].queueType = "DropTailQueue"
  84. **.eth[*].queue.dataQueue.frameCapacity = 10
  85. # nam trace
  86. **.nam.logfile = "trace.nam"
  87. **.nam.prolog = ""
  88. **.namid = -1 # auto
  89. # Ethernet switch
  90. **.switch*.relayUnitType = "MACRelayUnit"
  91. **.relayUnit.addressTableSize = 100
  92. **.relayUnit.agingTime = 120s
  93. **.relayUnit.bufferSize = 1048576B # 1Mb
  94. **.relayUnit.highWatermark = 524288B # 512K
  95. **.relayUnit.pauseUnits = 300 # pause for 300*512 bit (19200 byte) time
  96. **.relayUnit.addressTableFile = ""
  97. **.relayUnit.numCPUs = 2
  98. **.relayUnit.processingTime = 2us
  99. **.relayUnit.writeScalars = true
  100. **.mac[*].writeScalars = true
  101. **.mac[*].address = "auto"
  102. **.mac[*].maxQueueSize = 50
  103. **.mac[*].promiscuous = false
  104. **.mac[*].txrate = 10Mbps
  105. **.mac[*].duplexMode = true