From: Joey Padden <J.Padden@cablelabs.com>
To: safa khan <safakhan413@gmail.com>
Cc: "codel@lists.bufferbloat.net" <codel@lists.bufferbloat.net>
Subject: Re: [Codel] CoDel on ns2.35 simulator
Date: Fri, 31 May 2013 20:42:46 +0000 [thread overview]
Message-ID: <77956FD2-0452-4133-8682-8AF15674C4DE@cablelabs.com> (raw)
In-Reply-To: <CALRL6xyyD5r0Cxnv5F9bo=BA4OnskjGqzEiNKmy8C5kBkUybhQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3081 bytes --]
The all-in-one install creates may sub-directories for tcl,tk, otcl, tctcl, and most importantly ns-2.35.
the contents of the git /ns directory can replace the contents of the ns-2.35 directory.
after copying the contents cd into the directory and do a
./configure; make;
then try the command
ns codel.tcl
OK for now,
Jp
On May 31, 2013, at 12:42 PM, safa khan <safakhan413@gmail.com<mailto:safakhan413@gmail.com>>
wrote:
Dear Joey
I have followed the instructions to build ns2. Let me give you a stepwise description of what I have done.
I have downloaded and installed ns2 from the following source
http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download
After that I downloaded the whole master repository as a zip and unzipped it
https://github.com/dtaht/ns2
Now could you please give me a stepwise description as to how I should proceed from here. I have been trying to run the codel.tcl directly by
ns codel.tcl
after going to ns2-master directory without success. I keep getting the error:
ftps 1 webrate 0 cbrs 0 bw 3000000.0 filesize 10000000 reverse 0
accessdly 20 bneckdly 10 realrtt 100 bneckbw 3000000.0
invalid command name "Queue/CoDel"
while executing
"Queue/CoDel set target_ $target"
(file "codel.tcl" line 143)
How am I supposed to build ns2.35 with the CoDel. And where do the codel.h and codel.cc files come in? I would really appreciate a more detailed response.
On Fri, May 31, 2013 at 5:35 PM, Joey Padden <J.Padden@cablelabs.com<mailto:J.Padden@cablelabs.com>> wrote:
Safa,
In the CoDel.tcl from Dave's git repo, the line your code is choking on is 210 not 143, did you modify CoDel.tcl?
Also, did you rebuild ns after downloading the CoDel updates? It sounds like ns doesn't know about the queue type CoDel but it is in the makefile.in<http://makefile.in/> so it should if you did
cd /ns2/
./configure; make;
after downloading and unpacking the zip.
-Joey
Sent from my iPhone
On May 31, 2013, at 5:17 AM, "safa khan" <safakhan413@gmail.com<mailto:safakhan413@gmail.com>> wrote:
Dear Members
First of all thank you for the amazing idea that CoDel is :)
I have downloaded CoDel from https://github.com/dtaht/ns2
In fact I downloaded everything as a zip so that if CoDel needs some other files in the directory I wouldn't miss them out.
However, I have been trying to run ns codel.tcl on the my shell. My linux kernel version is 3.6. It gives the following error
ftps 1 webrate 0 cbrs 0 bw 3000000.0 filesize 10000000 reverse 0
accessdly 20 bneckdly 10 realrtt 100 bneckbw 3000000.0
invalid command name "Queue/CoDel"
while executing
"Queue/CoDel set target_ $target"
(file "codel.tcl" line 143)
A little help will be highly appreciated.
--
Regards
Safa Nasir
_______________________________________________
Codel mailing list
Codel@lists.bufferbloat.net<mailto:Codel@lists.bufferbloat.net>
https://lists.bufferbloat.net/listinfo/codel
--
Regards
Safa Nasir
[-- Attachment #2: Type: text/html, Size: 5392 bytes --]
next prev parent reply other threads:[~2013-05-31 20:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 10:47 safa khan
2013-05-31 12:35 ` Joey Padden
2013-05-31 18:42 ` safa khan
2013-05-31 20:42 ` Joey Padden [this message]
2013-06-01 20:12 ` safa khan
2013-06-03 13:10 ` safa khan
2013-06-07 6:39 ` safa khan
2013-06-07 12:31 ` Joey Padden
-- strict thread matches above, loose matches on Subject: below --
2013-05-31 9:30 safa khan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/codel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=77956FD2-0452-4133-8682-8AF15674C4DE@cablelabs.com \
--to=j.padden@cablelabs.com \
--cc=codel@lists.bufferbloat.net \
--cc=safakhan413@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox