[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Problem with Marc's tutorial !




The problem was configuration parameter variables for exponential traffic
was not correctly defined in the example4.tcl (outdated).Hence they
actually taking the default values..
Once they were changed to match those in the test-suite, the outputs
matched once again.

The variable names to be changed in example4:

	set traffic [new Application/Traffic/Exponential]
	$traffic set packetSize_ $size
		     ^^^^^^^^^^^
	$traffic set burst_time_ $burst
		     ^^^^^^^^^^^
	$traffic set idle_time_ $idle
		     ^^^^^^^^^^
	$traffic set rate_ $rate
		     ^^^^^^^^^^^

--Padma.


On Thu, 29 Mar 2001, Andreas Huber wrote:


> Hello !
> ******
>
> I have a problem with the example4. When I start example4.tcl
> I  get a different output result than in test-suite-greis.
> All amplitudes of the three measurements are equal.
>
> I have started the example in a seperate directory with:
>
> ns example4.tcl
>
> What have I done wrong ? Or is this a general problem ?
>
> My System:
> SuSE Linux 7.1 / Kernel 2.4.0 (SuSE) / AMD Athlon 1 GHz
>
> Andreas Huber
>
>
>
>

-- 
------------------------------------------------
Be true to your work, your word, and your friend.
--Thoreau

Padmaparna Haldar