[ns] I am seeing 0 overhead - why?
ss1 at student.cs.ucc.ie
Sun Mar 12 17:55:41 PST 2006
Thanks for help,
even if I set the rate to 4, I don't get any overhead. Is there any
example that can produce and overhead? I am not doubting my script, as it
might not be correct.
> 1) -mc means max no.of connections established at any time. As you are
> mentioning it as 1 only one connections will exist. Connection in this
> regard means one source - destination pair.
> 2) -rate represents the no.of packets to be sent. If you specify it as 4
> then 4 CBR packets will be sent per sec. But, you are specifying it as 0.4
> 0.8 means, you are sending 0.4packets/sec... due to this also overhead
> be very less.
> Hope this will help
> Anupama A
> On 3/10/06, Sasan Sahraei <ss1 at student.cs.ucc.ie> wrote:
>> I have a script that is running the following commands to generate
>> pattern and movement scenario
>> but when using AODV, my simulation shows 0 overhead when running with
>> either of the generated files.
>> as you see each of the commands below have a set of variables. just
>> replace then with anything you want i.e.
>> MAXNODES = 50
>> pause = 1 to 900
>> speed = 1, 20 m/s
>> seed = 1 to 20 (step 2)
>> pps = 0.1 0.4 and 0.8
>> setdest -n "$MAXNODES" -p "$pause" -s "$speed" -M 20 -t "$SIMTIME" -x
>> -y "$Y"
>> ns "$CBR_PATH/cbrgen.tcl" -type cbr -nn "$MAXNODES" -seed $seed -mc 1
>> -rate "$pps"
>> any idea why I get 0 overhead?
>> another question is the value for -mc, I am not sure 1 is correct. what
>> should I use? I need connection between all nodes (obviously) but only
>> of the 50 are actually communicating.
>> Thanks for help,
More information about the Ns-users