[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Application/Traffic/CBR bug ?
Hi Federico,
I think the the graph generated is reasonable.
at 5.0 the rate change to 10000 and at 6.0 it change to 1M again follow your
command. $ns at 6.0 "$traffic set rate_ 1Mb"
I changed your code at line :
$ns at 6.0 "$traffic set rate_ 1Mb"
to
$ns at 6.0 "$traffic set rate_ 2Mb"
and run ns again then the output graph is noticeble sharp at 6.0.
did I misunderstand your meaning?
Regards.
On Wed, 05 Jan 2000, you wrote:
>
> set link [$ns link $node1 $node2]
> set monitor [$link attach-snooper-in $node1 $node2]
>
> $ns at 0.0 "$traffic start"
> $ns at 0.0 "$traffic Prepara"
> $ns at 0.0 "ReadMonitorData $filetrace NULL $monitor 100.0 0.01"
> $ns at 0.0 "$traffic set rate_ 1Mb"
> $ns at 5.0 "$traffic set rate_ 10000" ; # <--- Try to change this rate , for
> example 10 , 100 , 1000 ,.....
> $ns at 6.0 "$traffic set rate_ 1Mb"
> $ns at 100.0 "$traffic stop"
> $ns at 100.1 "finish"
>
> $ns run
>
> If you see the graph generated you can see that at 6.0 the rate not change
> although we command it to change the cbr sending rate.
>
> Do you think it is a bug or i'm wronging something ?
> Thank you and have a happy new year.
>
>
> Federico Orlandini
> E-Mail : [email protected]
--
Wang Xu
Email:[email protected]