many seeds don't work

52 views
Skip to first unread message

N.omar

unread,
Jun 19, 2013, 9:25:44 AM6/19/13
to omn...@googlegroups.com
Hello ALL 

I run a scenario of Ad hoc network in intention to get the results about TCP, like (throughput).So I need to use a different seeds. 
The problem is when i set the seed manually (for example seed-set = 70 ) the simulation time is reached soon i.e the simulation end quickly. And the result shows that 0 packets 
have been sent or received. While Other seed run correctly !
Also the same when i used 
repeat = 5
seed-set =  ${repetition}
when i choose run = 1, the simulation end quickly and 0 packets sent. 

 So what the problem ??! There are many seeds don't work !!!! 

I am using Omnet 4.3 and inetmanet2.0 
This is my configration file, as you see I deployed 50 nodes randomly and I set only 16 from 50 to be sources (have TCP application)
 I hope someone find the problem and tell me. 

[General]
network = Network_adhoc

**.HostNum = 50
#record-eventlog = true
#eventlog-message-detail-pattern = *:(not declaredOn(cMessage) and not declaredOn(cNamedObject) and not declaredOn(cObject))

num-rngs = 3
**.mobility.rng-0 = 1
#**.wlan[*].mac.rng-0 = 2
#debug-on-errors = true

tkenv-plugin-path = ../../../etc/plugins
**.constraintAreaMinX = 0m
**.constraintAreaMinY = 0m
**.constraintAreaMinZ = 0m
**.constraintAreaMaxX = 1000m
**.constraintAreaMaxY = 1000m
**.constraintAreaMaxZ = 0m


**.debug = true
**.coreDebug = false
**.host*.**.channelNumber = 0

# channel physical parameters
*.channelControl.carrierFrequency = 2.4GHz
*.channelControl.pMax = 20mW
*.channelControl.sat = -110dBm
*.channelControl.alpha = 2
*.channelControl.numChannels = 1

# mobility
**.host*.mobilityType = "RandomWPMobility" #RandomWPMobility
**.host[*].tcpType = "TCP"
**.host[*].tcp.tcpAlgorithmClass = "TCPNewReno"
**.host[*].mobility.initialX = uniform(0m,1000m)
**.host[*].mobility.initialY = uniform(0m,1000m)
**.host[*].mobility.initialZ = 0m
#**.host[4].mobility.initialX = 100m 
#**.host*.mobility.initialX = uniform(0m,10m)
#**.initialY = uniform(0m,1000m)
#**.host*.mobility.initialZ = 0
**.host*.mobility.initFromDisplayString = false
**.host*.mobility.speed =5mps
#**.host*.mobility.updateInterval = 100ms
**.host*.mobility.waitTime = 0

# added by me ! 
#**.tcpApp[*].dataTransferMode = "object"

# nic settings
**.wlan[*].bitrate = 11Mbps
**.wlan[*].mac.basicBitrate = 2e6bps
**.wlan*.opMode ="b" # 802.11b
**.wlan*.mac.mtu = 1000B
#**.wlan[*].mgmt.frameCapacity = 10
#**.wlan[*].mac.address = "auto"
#**.wlan[*].mac.maxQueueSize = 14
#**.wlan[*].mac.rtsThresholdBytes = 3000B #// longer messages will be sent using RTS/CTS
#**.wlan[*].mac.retryLimit = 7
#**.wlan[*].mac.cwMinData = 7
#**.wlan[*].mac.cwMinBroadcast = 31

**.wlan[*].radio.transmitterPower = 20mW
**.wlan[*].radio.thermalNoise = -110dBm
**.wlan[*].radio.sensitivity = -75dBm # 75dbm
**.wlan[*].radio.pathLossAlpha = 2
**.wlan[*].radio.snirThreshold = 4dB
# RANGE = 257 by experiments 266m
#**.wlan.radio.bitrate = 11Mbps
#**.wlan*.radio.NoiseGenerator = 
#**.throughputTimePeriod = 1s
[Config FtpApp]
repeat = 5
seed-set =  ${repetition}
#seed-set = 70
**.End-to-End Delay.vector-recording = true
**.*End-to-End*.vector-recording = true
sim-time-limit = 200s

# For all nodes 

**.host[*].tcpApp[*].typename = "TCPSessionApp"
#**.host[*].tcp.tcpAlgorithmClass = "TCPNewReno"
**.host[*].tcpApp[0].sendBytes = 5242880B # 5MB
**.host[*].tcpApp[0].connectPort = 1000

#-------------------------------------------------
**.host[0].numTcpApps = 1
**.host[0].tcpApp[0].connectAddress = "host[4]"
**.host[0].tcpApp[0].active = true # Client


 # Destination
**.host[4].numTcpApps = 1
**.host[4].tcpApp[0].connectAddress = "host[0]"
**.host[4].tcpApp[0].localPort =  1000 # Listen port
**.host[4].tcpApp[0].active = false # Wait incoming connection 
#--------------------------------------------------------------------------
# host 1 with 7
**.host[1].numTcpApps = 1
**.host[1].tcpApp[0].connectAddress = "host[7]"
**.host[1].tcpApp[0].active = true # Client


 # Destination
**.host[7].numTcpApps = 1
**.host[7].tcpApp[0].connectAddress = "host[1]"
**.host[7].tcpApp[0].localPort =  1000 # Listen port
**.host[7].tcpApp[0].active = false # Wait incoming connection 
#--------------------------------------------------------------------------
# host 2 with 8
**.host[2].numTcpApps = 1
**.host[2].tcpApp[0].connectAddress = "host[8]"
**.host[2].tcpApp[0].active = true # Client

# Destination
**.host[8].numTcpApps = 1
**.host[8].tcpApp[0].connectAddress = "host[2]"
**.host[8].tcpApp[0].localPort =  1000 # Listen port
**.host[8].tcpApp[0].active = false # Wait incoming connection 
#-------------------------------------------------------------------------
# host 2 with 8
**.host[6].numTcpApps = 1
**.host[6].tcpApp[0].connectAddress = "host[5]"
**.host[6].tcpApp[0].active = true # Client

**.host[5].numTcpApps = 1
**.host[5].tcpApp[0].connectAddress = "host[6]"
**.host[5].tcpApp[0].localPort =  1000 # Listen port
**.host[5].tcpApp[0].active = false # Wait incoming connection 
#-------------------------------------------------------------------------
# host 2 with 8
**.host[11].numTcpApps = 1
**.host[11].tcpApp[0].connectAddress = "host[12]"
**.host[11].tcpApp[0].active = true # Client
#destination
**.host[12].numTcpApps = 1
**.host[12].tcpApp[0].connectAddress = "host[11]"
**.host[12].tcpApp[0].localPort =  1000 # Listen port
**.host[12].tcpApp[0].active = false # Wait incoming connection 
#-------------------------------------------------------------------------
# host 2 with 8
**.host[20].numTcpApps = 1
**.host[20].tcpApp[0].connectAddress = "host[21]"
**.host[20].tcpApp[0].active = true # Client

 # Destination
**.host[21].numTcpApps = 1
**.host[21].tcpApp[0].connectAddress = "host[20]"
**.host[21].tcpApp[0].localPort =  1000 # Listen port
**.host[21].tcpApp[0].active = false # Wait incoming connection 
#-------------------------------------------------------------------------
# host 2 with 8
**.host[18].numTcpApps = 1
**.host[18].tcpApp[0].connectAddress = "host[17]"
**.host[18].tcpApp[0].active = true # Client

 # Destination
**.host[17].numTcpApps = 1
**.host[17].tcpApp[0].connectAddress = "host[17]"
**.host[17].tcpApp[0].localPort =  1000 # Listen port
**.host[17].tcpApp[0].active = false # Wait incoming connection 
#-------------------------------------------------------------------------
# host 2 with 8
**.host[16].numTcpApps = 1
**.host[16].tcpApp[0].connectAddress = "host[15]"
**.host[16].tcpApp[0].active = true # Client

**.host[15].numTcpApps = 1
**.host[15].tcpApp[0].connectAddress = "host[16]"
**.host[15].tcpApp[0].localPort =  1000 # Listen port
**.host[15].tcpApp[0].active = false # Wait incoming connection 

#-------------------------------------------------------------------------
# host 2 with 8
#**.host[24].numTcpApps = 1
#**.host[24].tcpAppType = "TCPSessionApp"
#**.host[24].tcpApp[0].connectAddress = "host[25]"
#**.host[24].tcpApp[0].active = true # Client

#**.host[25].numTcpApps = 1
#**.host[25].tcpAppType = "TCPSessionApp"
#**.host[25].tcpApp[0].connectAddress = "host[24]"
#**.host[25].tcpApp[0].port = 1000 # Listen port
#**.host[25].tcpApp[0].active = false # Wait incoming connection 
#-------------------------------------------------------------------------
# host 2 with 8
#**.host[28].numTcpApps = 1
#**.host[28].tcpAppType = "TCPSessionApp"
#**.host[28].tcpApp[0].connectAddress = "host[30]"
#**.host[28].tcpApp[0].active = true # Client

#**.host[30].numTcpApps = 1
#**.host[30].tcpAppType = "TCPSessionApp"
#**.host[30].tcpApp[0].connectAddress = "host[28]"
#**.host[30].tcpApp[0].port = 1000 # Listen port
#**.host[30].tcpApp[0].active = false # Wait incoming connection 

#-------------------------------------------------------------------------
# two client and one destination 
#**.host[40].numTcpApps = 1
#**.host[40].tcpAppType = "TCPSessionApp"
#**.host[40].tcpApp[0].connectAddress = "host[41]"
#**.host[40].tcpApp[0].active = true # Client

#**.host[41].numTcpApps = 1
#**.host[41].tcpAppType = "TCPSessionApp"
#**.host[41].tcpApp[0].connectAddress = "host[40]"
#**.host[41].tcpApp[0].port = 1000 # Listen port
#**.host[41].tcpApp[0].active = false # Wait incoming connection 
#-------------------------------------------------------------------------
# two client and one destination 
#**.host[38].numTcpApps = 1
#**.host[38].tcpAppType = "TCPSessionApp"
#**.host[38].tcpApp[0].connectAddress = "host[39]"
#**.host[38].tcpApp[0].active = true # Client

#**.host[39].numTcpApps = 1
#**.host[39].tcpAppType = "TCPSessionApp"
#**.host[39].tcpApp[0].connectAddress = "host[38]"
#**.host[39].tcpApp[0].port = 1000 # Listen port
#**.host[39].tcpApp[0].active = false # Wait incoming connection 

**.tcpApp[*].localPort = -1 # Use ephemeral local port
**.tcpApp[*].tClose = 200s # Do not close , .close

Thank all 

N.omar

unread,
Jun 23, 2013, 2:36:48 PM6/23/13
to omn...@googlegroups.com
Does any one face the same problem ??! 
Reply all
Reply to author
Forward
0 new messages