From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 3B66D21F129 for ; Fri, 31 May 2013 11:42:41 -0700 (PDT) Received: by mail-we0-f173.google.com with SMTP id x55so22931wes.32 for ; Fri, 31 May 2013 11:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HrYX6Zyh2vvy0gdRU1hoxDRvvcj60AkG3KGAhOyb63E=; b=vWSVVy+lzW5kNdj11n5o3nH4o1o7U+2XshEZD2Nkqg02uJmFsqutfk3wQXnHLgvgN/ 2GIyDrTwmBATqkekfX7J95jFjE0Qo2TzM+RPkz64bXkQR51gSueAM5PBNyAoqDSB252Q wXHU0DI7KNxqRWGapShWMCLXRf0/t97OgaNKrV0tW+Moht1m2dnZqPpPoDvutd3jOPvl o8H1ynY4Iu1SMqDPP3S3yLDQ7dPM4PzXhFDjVJnJoPWWRu+yET7hXT6sgrMh7kA3SXyU tXMHHIAnEcw9eTo7ax0xJQGj377LBTmOfqM+hK6LyT3otOLTQ0UdkLVXxaVPjhyZdOw0 HuqQ== MIME-Version: 1.0 X-Received: by 10.194.173.232 with SMTP id bn8mr10668808wjc.26.1370025759070; Fri, 31 May 2013 11:42:39 -0700 (PDT) Received: by 10.194.174.232 with HTTP; Fri, 31 May 2013 11:42:39 -0700 (PDT) In-Reply-To: <36D14F11-58BB-449B-9362-52952C62DA9D@cablelabs.com> References: <36D14F11-58BB-449B-9362-52952C62DA9D@cablelabs.com> Date: Fri, 31 May 2013 23:42:39 +0500 Message-ID: From: safa khan To: Joey Padden Content-Type: multipart/alternative; boundary=089e0122f362b3df8204de07fa2c Cc: "codel@lists.bufferbloat.net" Subject: Re: [Codel] CoDel on ns2.35 simulator X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 18:42:41 -0000 --089e0122f362b3df8204de07fa2c Content-Type: text/plain; charset=ISO-8859-1 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 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 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" 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 > https://lists.bufferbloat.net/listinfo/codel > > -- Regards Safa Nasir --089e0122f362b3df8204de07fa2c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Dear Joey

I have followed the i= nstructions to build ns2. Let me give you a stepwise description of what I = have done.

I have downloaded and installed ns2 from the follow= ing source
http://sourceforg= e.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.g= z/download

After that I downloaded the whole master repository as a zip and = unzipped it
=A0https://github.com/dtaht/ns2

Now could you please give me a stepwise description as to how I should=20 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 realrt= t 100 bneckbw 3000000.0
invalid command name "Queue/CoDel"
=A0=A0=A0 while executing"Queue/CoDel set target_ $target"
=A0=A0=A0 (file "codel.tcl" line 143)

How am I supp= osed to build ns2.35 with the CoDel. And where do the=20 codel.h and codel.cc files come in? I would really appreciate a more=20 detailed response.


On Fri, May 31, 2013 at 5:35 PM, Joey Padden <J.Padd= en@cablelabs.com> wrote:
Safa,

In the CoDel.tcl from Dave's git repo, the line your code is choki= ng on is 210 not 143, did you modify CoDel.tcl?

Also, did you rebuild ns after downloading the CoDel updates? It sound= s like ns doesn't know about the queue type CoDel but it is in the makefile.in so it should i= f you did=A0

cd /ns2/
./configure;=A0make;

after downloading and unpacking the zip.

-Joey=A0


Sent from my iPhone

On May 31, 2013, at 5:17 AM, "safa khan" <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 k= ernel 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"
=A0=A0=A0 while executing
"Queue/CoDel set target_ $target"
=A0=A0=A0 (file "codel.tcl" line 143)

A little help will be highly appreciated.

--
Regards
Safa Nasir

_______________________________________________
Codel mailing list
Code= l@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/codel



--
Regards
Safa Nasir
--089e0122f362b3df8204de07fa2c--