Hi, Thank you very much for the reply. I checked the time interval (i.e. packet generation interval) after doing a simulation using my script. The time intervals between two consecutive packets were exponentially distributed and the throughput of the traffic was almost 64kbps. Doesn't this mean that the script has generated a poisson traffic? Hirantha On Wed, 05 Jul 2006 08:47:42 +0200, Gilles Bertrand <[EMAIL PROTECTED] > wrote:
> 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 > > > > >
