[ns] classifier scheduling
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 can I seperate enque and deque...i.e how can I run enque and deque seperately. Thanks Savitri P
[ns] problems with installation Ns-2 .29.3 under Cygwin
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 ./test-all-simultaneous ./test-all-wireless-tdma to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME Notice that some tests in webcache will fail on freebsd when -O is turned on. This is due to some event reordering, which will disappear when -g is turned on. Cygwin = 1.3.19 detected (1.5.21), all tests should have passed. Please see http://www.isi.edu/nsnam/ns/ns-problems.html for potential solutions. Then with the Echo $PATH command I have had as answer: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Programmi/ATI Technologies/ATI Control Panel:/usr/lib/lapack I think that my Paths are set wrong , but I have given in the Ns-Allinone-2 .29 Directory the order: export PATH= /usr/local/ns-allinone-2.29/bin:/usr/local/ns-allinone-2.29/tcl8.4.11/unix:/usr/local//ns-allinone-2.29/tk8.4.11/unix Where am I making a mistake? I thank you so for lo help which you are giving me Elena
Re: [ns] problems with installation Ns-2 .29.3 under Cygwin
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: using backward compatibility mode This test is not implemented in backward compatibility mode validate overall report: some tests failed: ./test-all-smac-multihop ./test-all-simultaneous ./test-all-wireless-tdma to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME Notice that some tests in webcache will fail on freebsd when -O is turned on. This is due to some event reordering, which will disappear when -g is turned on. Cygwin = 1.3.19 detected (1.5.21), all tests should have passed. Please see http://www.isi.edu/nsnam/ns/ns-problems.html for potential solutions. Then with the Echo $PATH command I have had as answer: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Programmi/ATI Technologies/ATI Control Panel:/usr/lib/lapack I think that my Paths are set wrong , but I have given in the Ns-Allinone-2 .29 Directory the order: export PATH= /usr/local/ns-allinone-2.29/bin:/usr/local/ns-allinone-2.29/tcl8.4.11/unix:/usr/local//ns-allinone-2.29/tk8.4.11/unix Where am I making a mistake? I thank you so for lo help which you are giving me Elena
[ns] help me to finish installing NS correctly
*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/wish/xgraph you must put /home/you/ns-allinone-2.30/otcl-1.12, /home/you/ns-allinone-2.30//lib into your LD-LIBRARY-PATH environnement variables if it complains about X libraries,add path to your X librairies into LD-LIBRARY-PATH if you are using csh,you can see like: setenv LD-LIBRARY-PATHpaths if you are using sh,you can see like: export LD-LIBRARY-PATH=paths put /home/you/ns-allinone-2.30/tcl 8.4.13/library into your TCL-LIBRARY environnement variables *Question:* *1)** How can i do this?where will i find my LD-LIBRARY-PATH and my TCL-LIBRARY environnement variables and my path environnement so that i ll be able to run itm/tclsh/wish/xgraph? * ** *Regards.*
Re: [ns] accessing queue length in 802.11 MAC
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 2006 14:03:15 +0900 ghada [EMAIL PROTECTED] wrote: I think you can solve this problem if you check first if the queue is null or not before using length() function. - Original Message - From: M. Shen [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Wednesday, December 06, 2006 12:10 PM Subject: Re: [ns] accessing queue length in 802.11 MAC Dear guys, 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/queue.h:136 136 int length() { return pq_-length(); } /* number of pkts currently in Does any one know how to deal with this problem? Thank you very much, Min
[ns] How to measure overhead with ns2?
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 nodes and 20 of them behave unnormally like dropping all data packets. How many packets have to be resended, until every packet reaches the destination at least once. How can we measure how many packets had to be transmitted overall to find out how much overhead occured? Thank you very much for your help! Best Regards, Björn - Dipl.-Inform. Björn Schünemann Hasso-Plattner-Institut für Softwaresystemtechnik GmbH Institut an der Universität Potsdam Postfach 900460, D-14440 Potsdam, Germany http://www.hpi.uni-potsdam.de http://www.hpi.uni-potsdam.de/ Phone: +49(0)331 5509 520 WWW: http://www.schuenemann.name/ http://www.schuenemann.name/ -
Re: [ns] accessing queue length in 802.11 MAC
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, 6 de Dezembro de 2006 14:56 To: ghada; ns-users@ISI.EDU Subject: Re: [ns] accessing queue length in 802.11 MAC 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 2006 14:03:15 +0900 ghada [EMAIL PROTECTED] wrote: I think you can solve this problem if you check first if the queue is null or not before using length() function. - Original Message - From: M. Shen [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Wednesday, December 06, 2006 12:10 PM Subject: Re: [ns] accessing queue length in 802.11 MAC Dear guys, 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/queue.h:136 136 int length() { return pq_-length(); } /* number of pkts currently in Does any one know how to deal with this problem? Thank you very much, Min
Re: [ns] How to measure overhead with ns2?
Count the number of sent packets at the agent or router layer Cat trace.tr | grep ^s | grep AGT | grep source node Use awk ' { if ($6 == ) print } ' to filter based on certain fields Pedro Vale Estrela -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Schuenemann Bjoern Sent: quarta-feira, 6 de Dezembro de 2006 15:58 To: ns-users@ISI.EDU Cc: Blueher Andreas Subject: [ns] How to measure overhead with ns2? 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 nodes and 20 of them behave unnormally like dropping all data packets. How many packets have to be resended, until every packet reaches the destination at least once. How can we measure how many packets had to be transmitted overall to find out how much overhead occured? Thank you very much for your help! Best Regards, Björn - Dipl.-Inform. Björn Schünemann Hasso-Plattner-Institut für Softwaresystemtechnik GmbH Institut an der Universität Potsdam Postfach 900460, D-14440 Potsdam, Germany http://www.hpi.uni-potsdam.de http://www.hpi.uni-potsdam.de/ Phone: +49(0)331 5509 520 WWW: http://www.schuenemann.name/ http://www.schuenemann.name/ -
Re: [ns] help me to finish installing NS correctly
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 into your path environnement so that you ll be able to run itm/tclsh/wish/xgraph you must put /home/you/ns-allinone-2.30/otcl-1.12, /home/you/ns-allinone-2.30//lib into your LD-LIBRARY-PATH environnement variables if it complains about X libraries,add path to your X librairies into LD-LIBRARY-PATH if you are using csh,you can see like: setenv LD-LIBRARY-PATHpaths if you are using sh,you can see like: export LD-LIBRARY-PATH=paths put /home/you/ns-allinone-2.30/tcl 8.4.13/library into your TCL-LIBRARY environnement variables *Question:* *1)** How can i do this?where will i find my LD-LIBRARY-PATH and my TCL-LIBRARY environnement variables and my path environnement so that i ll be able to run itm/tclsh/wish/xgraph? * Make a script like this one below and place it in you ns-allinone-2.30 directory. When you need to run your NS simulations go to that directory and source the script. #!/bin/sh # added for Xterm window title change export PROMPT_COMMAND='echo -ne \033]0;NS-2.30 ${HOSTNAME%%.*}:${PWD/#$HOME/~}\007' # added for command prompt change export PS1=[EMAIL PROTECTED] \W]\$ if [ x$NS != x ] ; then export NS_ORIG=$NS fi export NS=`pwd` if [ x$LD_LIBARY_PATH != x ] ; then export LD_LIBRARY_PATH_ORIG=$LD_LIBRARY_PATH fi export LD_LIBRARY_PATH=$NS/otcl-1.12:$NS/lib if [ x$TCL_LIBRARY != x ] ; then export TCL_LIBRARY_ORIG=$TCL_LIBRARY fi export TCL_LIBRARY=$NS/tcl8.4.13/library export PATH_ORIG=$PATH export PATH=$PATH:$NS/bin:$NS/ns-2.30/bin:$NS/tcl8.4.13/unix:$NS/tk8.4.13/unix unset NS
[ns] Poisson process in NS2
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 implement poisson process. Thanks you in advance,Amjad _ Check the weather nationwide with MSN Search: Try it now! http://search.msn.com/results.aspx?q=weatherFORM=WLMTAG