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

Re: [ns] Wireless + Exponential/Pareto Traffic Generator doubt




Hi Brian,
Thanks for the information and help.
The Expo and Pareto agents work well in case of wired
network[ref. tcl/ex/tg.tcl]. So I guess the cmu
extension is not handling it properly is right
conclusion in cmu-trace.cc there is nothing for
PT_EXPO/PR_PARETO. But even in trace.cc I could not
find any special treatment for Expo/Pareto agents. So
how the things are getting handled in wired network
properly ? is trace.cc the right file to look ?

Another basic question is: Wwere Expo/Pareto agents
never tested in Wireless model ?

Regards,
-Sameer.

--- Brian Lee Bowers <[email protected]> wrote:
> On Monday 02 July 2001 09:07, you wrote:
> 
> > (null)- invalid packet type (exp).
> 
> A quick search turned up cmu-trace.cc as the home
> for this particular 
> message.  It would seem that the exponential traffic
> generator is 
> setting the packet type to exp (probably a defined
> constant of 
> PT_EXP, but I didn't look that hard :).  When method
> format gets the 
> packet, it uses the packet type in a switch-case
> construct.  There is 
> no case that matches "exp", so it defaults to
> printing out "invalid 
> packet type".
> 
> This begs a larger question:  why are traffic
> generators changing the 
> types of the packets?
> 
> > I am getting the same error with Pareto as well.
> 
> I'm guessing that Pareto changes the packet type to
> something that 
> the trace functions don't understand.
> 
> > The same thing works fine if I change the agent to
> > CBR...
> 
> The trace functions have a case for CBR type
> packets.  So CBR should 
> cause no problems.  I still don't know why we care
> if the packets 
> were generated from a CBR source.
> 
> > Please tell me do I need to make some changes
> during
> > the configuration of the ndoe itself ?
> 
> You would have to change the source to something
> that the trace 
> functions understand; or you could change the source
> code for the 
> trace functions to make them understand the exp
> packet type.
> 
> -- 
> Brian Lee Bowers	|	RADIANT Team (Summer Intern)
> [email protected]	|	Los Alamos National Laboratory
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/