Hi,
Well, this doesn't seem correct to me!
rate= average bit rate of the source. The generated bit rate is going to
be rate_ * ( burst_time_) /(burst_time_ + idle_time_).
In your case you have specified a huge value for rate_ (1 terab/s) and
no burst_time => the generated bit rate should be zero.
(NB: In fact due to an implementation choice in NS the generated bit
rate won't be exactly zero. )
Mit freundlichen Grüßen, with kind regards, cordialement,
----------------------------------------------------------------------
Gilles BERTRAND
Institut National des Télécommunications (GET)- Universität Stuttgart
gilles.bertrand at ieee.org
----------------------------------------------------------------------
B. A. Hirantha Sithira Abeysekera a écrit :
> Hi all,
> I want to generate a poisson traffic with average rate of 64kbps. So I
> wrote a script like follows and I just want to know whether it is
> correct or no. idle_time_ is set to 0.01 (=80*8/64000 pkt/sec). If
> anyone has an idea let me know. Thank you.
>
> set app0 [new Application/Traffic/Exponential]
> $app0 set packetSize_ 80
> $app0 set rate_ 1000G
> $app0 set burst_time_ 0
> $app0 set idle_time_ 0.01
>
> Hirantha
>
>
--
Mit freundlichen Grüßen, with kind regards, cordialement,
----------------------------------------------------------------------
Gilles BERTRAND
Institut National des Télécommunications (GET)- Universität Stuttgart
Tel: +33 (0) 3 29 63 22 08
----------------------------------------------------------------------