[ns] classifier & scheduling

2006-12-06 Thread Savitri P. Pandharikar
Hi, I want to know if we are using FQ scheduling algorithm how classification and scheduling is performed.Is it the enque operation is coupled with the classifier only? and deque operation is immediately after the enque operation?.If both enque and deque are in sequencethen how i c

[ns] problems with installation Ns-2 .29.3 under Cygwin

2006-12-06 Thread Elena Putzolu
Hi all, when I did the ./validate, I obtained: These messages are NOT errors and can be ignored: warning: using backward compatibility mode This test is not implemented in backward compatibility mode validate overall report: some tests failed: ./test-all-smac-multihop ./tes

Re: [ns] problems with installation Ns-2 .29.3 under Cygwin

2006-12-06 Thread Sven Ehlert
Hi, you didn't do any mistake. Those tests currently fail on Cygwin. If you need this functionality, you'll need to use the *nix version. Regards /Sven Elena Putzolu wrote: Hi all, when I did the ./validate, I obtained: These messages are NOT errors and can be ignored: warning: usin

[ns] [aodv] using node energy value in C++ code

2006-12-06 Thread Youn Ho Jung
Hi All. I'm trying to modify AODV with energy concept. and I want to put Energy consumption in AODV.cc so that I could change routing algorithm when it is finding the route. But the problem is.. In NS-2, we write Energy Concept on TCL script. !- set opt(en

[ns] help me to finish installing NS correctly

2006-12-06 Thread amira bourayou
*hi all,* when I did the ./install, I obtained These messages after that ns was installed successfuly: put /home/you/ns-allinone-2.30/bin : /home/you/ns-allinone-2.30/tcl8.4.13/unix: /home/you/ns-allinone-2.30/tk8.4.13/unix into your path environnement so that you ll be able to run itm/tclsh/w

Re: [ns] accessing queue length in 802.11 MAC

2006-12-06 Thread M. Shen
Dear ghada, Thank you very much for your reply. But how to check if the queue is null or not? Should I do it in the queue.cc peoriodically and transfer the state to mac? Or check it in the MAC? If it's the latter, we still need to access ifq() in the mac.cc, right? thanks, Min On Wed, 6 Dec 20

[ns] How to measure overhead with ns2?

2006-12-06 Thread Schuenemann Bjoern
Hello, I'm trying to figure out how i can measure the created overhead which occured in a network simulation. Actually we are trying to compare a new idea of detecting malicious nodes with other old-fashion ways. One of our metrics is the created overhead. Assume we have a network with 100

Re: [ns] accessing queue length in 802.11 MAC

2006-12-06 Thread Pedro Vale Estrela
> I tried to access queue length in MAC. So I wrote > int pkt_num = ((LL *)uptarget_)->ifq()->length(); > > When I run the simulation us gdb, segmentation fault occurs. I shows > that > > Program received signal SIGSEGV, Segmentation fault. > 0x080c3ad4 in Queue::length() (this=0x0) at queue

Re: [ns] accessing queue length in 802.11 MAC

2006-12-06 Thread Pedro Vale Estrela
Use: If( ((LL *)uptarget_)->ifq()){ //code if non-null } else { // code if null } note that a null queue é a node without a queue, NOT an empty queue! > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of M. Shen > Sent: quarta-feira,

Re: [ns] How to measure overhead with ns2?

2006-12-06 Thread Pedro Vale Estrela
Count the number of sent packets at the agent or router layer Cat trace.tr | grep ^s | grep AGT | grep Use " awk ' { if ($6 == ) print } ' " to filter based on certain fields Pedro Vale Estrela > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf >

Re: [ns] help me to finish installing NS correctly

2006-12-06 Thread Larry Brigman
On 12/6/06, amira bourayou <[EMAIL PROTECTED]> wrote: > > *hi all,* > when I did the ./install, I obtained These messages after that ns was > installed successfuly: > > put > /home/you/ns-allinone-2.30/bin : > /home/you/ns-allinone-2.30/tcl8.4.13/unix: > /home/you/ns-allinone-2.30/tk8.4.13/unix

Re: [ns] accessing queue length in 802.11 MAC

2006-12-06 Thread Pedro Vale Estrela
> Do you know why ((LL *)uptarget_)->ifq() returns a null pointer? It means some part of the code could / should initialize that pointer, and it is not being done. Study the ns2 manual on the chapter of mobile nodes to try to find out whats going on with these pointers - I don't know the C++ code

[ns] Poisson process in NS2

2006-12-06 Thread Amjad Beainy
Hi, I am using ns-2.30, simulating multimedia traffic. I hope that anyone out there can help me in this:I want to simulate connections or flows NOT packets that arrive in a poisson process. the service time is exponential with a certain average time. The problem is that I am unable to imple