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.

Thanks,
Sasan


> Hi
>
> 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
> will
> be very less.
>
> Hope this will help
>
> Regards
> Anupama A
>
> On 3/10/06, Sasan Sahraei <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> I have a script that is running the following commands to generate
>> traffic
>> 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
>> "$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
>> two
>> of the 50 are actually communicating.
>>
>> Thanks for help,
>> Sasan
>>
>>
>


Reply via email to