<div dir="ltr">Thanks Joey! You are awesome man.<br><br>Since I did not know what to copy and what not to, I followed everything here <br><br><a href="http://pollere.net/CoDel.html" target="_blank">http://pollere.net/CoDel.html</a><br>

<br>I ran codel after PATCHING it into the ns2 simulator. Then I ran the following command <br><br>./ns codel.tcl 4 5 0 100Mb -1 5<br><br>However
 there was no nam output and I get the following result. Would you 
please tell if Codel.tcl even has nam output or not? And what are these 
warnings for? Also how the result is to be interpreted?<br>
<br>ftps 4 webrate 5 cbrs 0 bw 100000000.0 filesize -1 reverse 0<br>accessdly 20 bneckdly 10 realrtt 100 bneckbw 100000000.0<br>bottleneck starts at 100000000bps<br>change at 50 to 10.0Mbps<br>change at 100 to 1.0Mbps<br>

change at 150 to 50.0Mbps<br>change at 200 to 1.0Mbps<br>change at 250 to 100.0Mbps<br><a href="http://f.tr" target="_blank">f.tr</a><br>cmd select_ca cubic<br>cmd select_ca cubic<br>cmd select_ca cubic<br>cmd select_ca cubic<br>
1.603260: FullTcpAgent(_o211) warning: received illegal SACK block [107,107]<br>
10000000.0<br>55.098906: FullTcpAgent(_o217) warning: received illegal SACK block [264,264]<br>55.695007: FullTcpAgent(_o241) warning: received illegal SACK block [72,72]<br>60.292143: FullTcpAgent(_o217) warning: received illegal SACK block [124,124]<br>

60.540666: FullTcpAgent(_o301) warning: received illegal SACK block [582,582]<br>61.275364: FullTcpAgent(_o249) warning: received illegal SACK block [3206,3206]<br>1000000.0<br>103.964724: FullTcpAgent(_o357) warning: received illegal SACK block [152,152]<br>

104.982964: FullTcpAgent(_o289) warning: received illegal SACK block [411,411]<br>105.313196: FullTcpAgent(_o217) warning: received illegal SACK block [646,646]<br>107.602393: FullTcpAgent(_o289) warning: received illegal SACK block [179,179]<br>

108.347540: FullTcpAgent(_o221) warning: received illegal SACK block [211,211]<br>110.080323: FullTcpAgent(_o329) warning: received illegal SACK block [437,437]<br>111.459607: FullTcpAgent(_o417) warning: received illegal SACK block [696,696]<br>

112.831121: FullTcpAgent(_o261) warning: received illegal SACK block [199,199]<br>118.597599: FullTcpAgent(_o329) warning: received illegal SACK block [670,670]<br>119.580768: FullTcpAgent(_o365) warning: received illegal SACK block [1435,1435]<br>

119.655479: FullTcpAgent(_o305) warning: received illegal SACK block [485,485]<br>123.072111: FullTcpAgent(_o349) warning: received illegal SACK block [728,728]<br>131.987632: FullTcpAgent(_o349) warning: received illegal SACK block [929,929]<br>

132.357178: FullTcpAgent(_o293) warning: received illegal SACK block [320,320]<br>133.444730: FullTcpAgent(_o401) warning: received illegal SACK block [357,357]<br>141.070035: FullTcpAgent(_o233) warning: received illegal SACK block [172,172]<br>

141.368133: FullTcpAgent(_o293) warning: received illegal SACK block [908,908]<br>145.503133: FullTcpAgent(_o325) warning: received illegal SACK block [132,132]<br>145.828200: FullTcpAgent(_o353) warning: received illegal SACK block [258,258]<br>

147.140807: FullTcpAgent(_o417) warning: received illegal SACK block [798,798]<br>50000000.0<br>1000000.0<br>212.234133: FullTcpAgent(_o585) warning: received illegal SACK block [331,331]<br>214.253093: FullTcpAgent(_o657) warning: received illegal SACK block [1424,1424]<br>

215.172477: FullTcpAgent(_o421) warning: received illegal SACK block [280,280]<br>217.604597: FullTcpAgent(_o725) warning: received illegal SACK block [138,138]<br>224.780413: FullTcpAgent(_o625) warning: received illegal SACK block [311,311]<br>

225.913829: FullTcpAgent(_o1069) warning: received illegal SACK block [1142,1142]<br>228.437312: FullTcpAgent(_o1233) warning: received illegal SACK block [97,97]<br>229.008533: FullTcpAgent(_o829) warning: received illegal SACK block [130,130]<br>

230.466246: FullTcpAgent(_o413) warning: received illegal SACK block [757,757]<br>230.576166: FullTcpAgent(_o1245) warning: received illegal SACK block [391,391]<br>230.584466: FullTcpAgent(_o233) warning: received illegal SACK block [678,678]<br>

230.789350: FullTcpAgent(_o633) warning: received illegal SACK block [431,431]<br>231.104630: FullTcpAgent(_o369) warning: received illegal SACK block [130,130]<br>232.006687: FullTcpAgent(_o1333) warning: received illegal SACK block [217,217]<br>

232.454507: FullTcpAgent(_o1349) warning: received illegal SACK block [639,639]<br>234.957352: FullTcpAgent(_o313) warning: received illegal SACK block [935,935]<br>235.201241: FullTcpAgent(_o1185) warning: received illegal SACK block [137,137]<br>

237.336677: FullTcpAgent(_o541) warning: received illegal SACK block [185,185]<br>237.383566: FullTcpAgent(_o1157) warning: received illegal SACK block [126,126]<br>237.692238: FullTcpAgent(_o1069) warning: received illegal SACK block [960,960]<br>

238.369279: FullTcpAgent(_o1253) warning: received illegal SACK block [687,687]<br>238.811276: FullTcpAgent(_o513) warning: received illegal SACK block [1323,1323]<br>238.871383: FullTcpAgent(_o1213) warning: received illegal SACK block [112,112]<br>

239.108312: FullTcpAgent(_o309) warning: received illegal SACK block [824,824]<br>239.895494: FullTcpAgent(_o1193) warning: received illegal SACK block [132,132]<br>241.157944: FullTcpAgent(_o1069) warning: received illegal SACK block [303,303]<br>

241.183073: FullTcpAgent(_o597) warning: received illegal SACK block [130,130]<br>241.339148: FullTcpAgent(_o533) warning: received illegal SACK block [379,379]<br>241.708525: FullTcpAgent(_o211) warning: received illegal SACK block [338,338]<br>

242.306111: FullTcpAgent(_o445) warning: received illegal SACK block [83,83]<br>242.406312: FullTcpAgent(_o361) warning: received illegal SACK block [297,297]<br>242.540972: FullTcpAgent(_o685) warning: received illegal SACK block [750,750]<br>

243.316109: FullTcpAgent(_o553) warning: received illegal SACK block [122,122]<br>244.446153: FullTcpAgent(_o393) warning: received illegal SACK block [433,433]<br>244.997886: FullTcpAgent(_o477) warning: received illegal SACK block [552,552]<br>

244.998366: FullTcpAgent(_o833) warning: received illegal SACK block [158,158]<br>244.999086: FullTcpAgent(_o825) warning: received illegal SACK block [221,221]<br>246.901650: FullTcpAgent(_o533) warning: received illegal SACK block [168,168]<br>

249.093984: FullTcpAgent(_o1025) warning: received illegal SACK block [118,118]<br>249.919780: FullTcpAgent(_o365) warning: received illegal SACK block [151,151]<br>249.934924: FullTcpAgent(_o597) warning: received illegal SACK block [67,67]<br>

100000000.0<br>256.844373: FullTcpAgent(_o973) warning: received illegal SACK block [281,281]<br><br><br><div>Regards<br></div>Safa</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 2, 2013 at 1:12 AM, safa khan <span dir="ltr"><<a href="mailto:safakhan413@gmail.com" target="_blank">safakhan413@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><br></div>Thanks Joey! You are awesome man.<br><br></div>Since I did not know what to copy and what not to, I followed everything here <br>
<br><a href="http://pollere.net/CoDel.html" target="_blank">http://pollere.net/CoDel.html</a><br>
<br></div>I ran codel after PATCHING it into the ns2 simulator. Then I ran the following command <br><br>./ns codel.tcl 4 5 0 100Mb -1 5<br><br></div>However there was no nam output and I get the following result. Would you please tell if Codel.tcl even has nam output or not? And what are these warnings for? Also how the result is to be interpreted?<br>

<br>ftps 4 webrate 5 cbrs 0 bw 100000000.0 filesize -1 reverse 0<br>accessdly 20 bneckdly 10 realrtt 100 bneckbw 100000000.0<br>bottleneck starts at 100000000bps<br>change at 50 to 10.0Mbps<br>change at 100 to 1.0Mbps<br>

change at 150 to 50.0Mbps<br>change at 200 to 1.0Mbps<br>change at 250 to 100.0Mbps<br><a href="http://f.tr" target="_blank">f.tr</a><br>cmd select_ca cubic<br>cmd select_ca cubic<br>cmd select_ca cubic<br>cmd select_ca cubic<br>
1.603260: FullTcpAgent(_o211) warning: received illegal SACK block [107,107]<br>
10000000.0<br>55.098906: FullTcpAgent(_o217) warning: received illegal SACK block [264,264]<br>55.695007: FullTcpAgent(_o241) warning: received illegal SACK block [72,72]<br>60.292143: FullTcpAgent(_o217) warning: received illegal SACK block [124,124]<br>

60.540666: FullTcpAgent(_o301) warning: received illegal SACK block [582,582]<br>61.275364: FullTcpAgent(_o249) warning: received illegal SACK block [3206,3206]<br>1000000.0<br>103.964724: FullTcpAgent(_o357) warning: received illegal SACK block [152,152]<br>

104.982964: FullTcpAgent(_o289) warning: received illegal SACK block [411,411]<br>105.313196: FullTcpAgent(_o217) warning: received illegal SACK block [646,646]<br>107.602393: FullTcpAgent(_o289) warning: received illegal SACK block [179,179]<br>

108.347540: FullTcpAgent(_o221) warning: received illegal SACK block [211,211]<br>110.080323: FullTcpAgent(_o329) warning: received illegal SACK block [437,437]<br>111.459607: FullTcpAgent(_o417) warning: received illegal SACK block [696,696]<br>

112.831121: FullTcpAgent(_o261) warning: received illegal SACK block [199,199]<br>118.597599: FullTcpAgent(_o329) warning: received illegal SACK block [670,670]<br>119.580768: FullTcpAgent(_o365) warning: received illegal SACK block [1435,1435]<br>

119.655479: FullTcpAgent(_o305) warning: received illegal SACK block [485,485]<br>123.072111: FullTcpAgent(_o349) warning: received illegal SACK block [728,728]<br>131.987632: FullTcpAgent(_o349) warning: received illegal SACK block [929,929]<br>

132.357178: FullTcpAgent(_o293) warning: received illegal SACK block [320,320]<br>133.444730: FullTcpAgent(_o401) warning: received illegal SACK block [357,357]<br>141.070035: FullTcpAgent(_o233) warning: received illegal SACK block [172,172]<br>

141.368133: FullTcpAgent(_o293) warning: received illegal SACK block [908,908]<br>145.503133: FullTcpAgent(_o325) warning: received illegal SACK block [132,132]<br>145.828200: FullTcpAgent(_o353) warning: received illegal SACK block [258,258]<br>

147.140807: FullTcpAgent(_o417) warning: received illegal SACK block [798,798]<br>50000000.0<br>1000000.0<br>212.234133: FullTcpAgent(_o585) warning: received illegal SACK block [331,331]<br>214.253093: FullTcpAgent(_o657) warning: received illegal SACK block [1424,1424]<br>

215.172477: FullTcpAgent(_o421) warning: received illegal SACK block [280,280]<br>217.604597: FullTcpAgent(_o725) warning: received illegal SACK block [138,138]<br>224.780413: FullTcpAgent(_o625) warning: received illegal SACK block [311,311]<br>

225.913829: FullTcpAgent(_o1069) warning: received illegal SACK block [1142,1142]<br>228.437312: FullTcpAgent(_o1233) warning: received illegal SACK block [97,97]<br>229.008533: FullTcpAgent(_o829) warning: received illegal SACK block [130,130]<br>

230.466246: FullTcpAgent(_o413) warning: received illegal SACK block [757,757]<br>230.576166: FullTcpAgent(_o1245) warning: received illegal SACK block [391,391]<br>230.584466: FullTcpAgent(_o233) warning: received illegal SACK block [678,678]<br>

230.789350: FullTcpAgent(_o633) warning: received illegal SACK block [431,431]<br>231.104630: FullTcpAgent(_o369) warning: received illegal SACK block [130,130]<br>232.006687: FullTcpAgent(_o1333) warning: received illegal SACK block [217,217]<br>

232.454507: FullTcpAgent(_o1349) warning: received illegal SACK block [639,639]<br>234.957352: FullTcpAgent(_o313) warning: received illegal SACK block [935,935]<br>235.201241: FullTcpAgent(_o1185) warning: received illegal SACK block [137,137]<br>

237.336677: FullTcpAgent(_o541) warning: received illegal SACK block [185,185]<br>237.383566: FullTcpAgent(_o1157) warning: received illegal SACK block [126,126]<br>237.692238: FullTcpAgent(_o1069) warning: received illegal SACK block [960,960]<br>

238.369279: FullTcpAgent(_o1253) warning: received illegal SACK block [687,687]<br>238.811276: FullTcpAgent(_o513) warning: received illegal SACK block [1323,1323]<br>238.871383: FullTcpAgent(_o1213) warning: received illegal SACK block [112,112]<br>

239.108312: FullTcpAgent(_o309) warning: received illegal SACK block [824,824]<br>239.895494: FullTcpAgent(_o1193) warning: received illegal SACK block [132,132]<br>241.157944: FullTcpAgent(_o1069) warning: received illegal SACK block [303,303]<br>

241.183073: FullTcpAgent(_o597) warning: received illegal SACK block [130,130]<br>241.339148: FullTcpAgent(_o533) warning: received illegal SACK block [379,379]<br>241.708525: FullTcpAgent(_o211) warning: received illegal SACK block [338,338]<br>

242.306111: FullTcpAgent(_o445) warning: received illegal SACK block [83,83]<br>242.406312: FullTcpAgent(_o361) warning: received illegal SACK block [297,297]<br>242.540972: FullTcpAgent(_o685) warning: received illegal SACK block [750,750]<br>

243.316109: FullTcpAgent(_o553) warning: received illegal SACK block [122,122]<br>244.446153: FullTcpAgent(_o393) warning: received illegal SACK block [433,433]<br>244.997886: FullTcpAgent(_o477) warning: received illegal SACK block [552,552]<br>

244.998366: FullTcpAgent(_o833) warning: received illegal SACK block [158,158]<br>244.999086: FullTcpAgent(_o825) warning: received illegal SACK block [221,221]<br>246.901650: FullTcpAgent(_o533) warning: received illegal SACK block [168,168]<br>

249.093984: FullTcpAgent(_o1025) warning: received illegal SACK block [118,118]<br>249.919780: FullTcpAgent(_o365) warning: received illegal SACK block [151,151]<br>249.934924: FullTcpAgent(_o597) warning: received illegal SACK block [67,67]<br>

100000000.0<br>256.844373: FullTcpAgent(_o973) warning: received illegal SACK block [281,281]<br><br><br></div><div>Regards<br></div><div>Safa<br></div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">
On Sat, Jun 1, 2013 at 1:42 AM, Joey Padden <span dir="ltr"><<a href="mailto:J.Padden@cablelabs.com" target="_blank">J.Padden@cablelabs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
The all-in-one install creates may sub-directories for tcl,tk, otcl, tctcl, and most importantly ns-2.35.  
<div><br>
</div>
<div>the contents of the  git /ns directory can replace the contents of the ns-2.35 directory. </div>
<div><br>
</div>
<div>after copying the contents cd into the directory and do a </div>
<div><br>
</div>
<div>./configure; make;</div>
<div><br>
</div>
<div>then try the command</div>
<div><br>
</div>
<div>ns codel.tcl</div>
<div><br>
</div>
<div>
<div>OK for now,<br>
Jp </div>
<br>
<div>
<div>On May 31, 2013, at 12:42 PM, safa khan <<a href="mailto:safakhan413@gmail.com" target="_blank">safakhan413@gmail.com</a>></div><div><div>
<div> wrote:</div>
<br>
<blockquote type="cite">
<div dir="ltr">Dear Joey<br>
<br>
<div>
<div>
<div>
<div>I have followed the instructions to build ns2. Let me give you a stepwise description of what I have done.<br>
<br>
</div>
I have downloaded and installed ns2 from the following source<br>
<a href="http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download" target="_blank">http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download</a><br>


<br>
</div>
After that I downloaded the whole master repository as a zip and unzipped it<br>
 <a href="https://github.com/dtaht/ns2" target="_blank">https://github.com/dtaht/ns2</a>
<br>
<br>
</div>
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
<br>
ns codel.tcl<br>
</div>
after going to ns2-master directory without success. I keep getting the error:
<div><br>
<br>
ftps 1 webrate 0 cbrs 0 bw 3000000.0 filesize 10000000 reverse 0<br>
accessdly 20 bneckdly 10 realrtt 100 bneckbw 3000000.0<br>
invalid command name "Queue/CoDel"<br>
    while executing<br>
"Queue/CoDel set target_ $target"<br>
    (file "codel.tcl" line 143)<br>
<br>
</div>
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.<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, May 31, 2013 at 5:35 PM, Joey Padden <span dir="ltr">
<<a href="mailto:J.Padden@cablelabs.com" target="_blank">J.Padden@cablelabs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div>Safa,</div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>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
<a href="http://makefile.in/" target="_blank">makefile.in</a> so it should if you did </div>
<div><br>
</div>
<div>cd /ns2/</div>
<div>./configure; make;</div>
<div><br>
</div>
<div>after downloading and unpacking the zip.</div>
<div><br>
</div>
<div>-Joey </div>
<div><br>
<br>
Sent from my iPhone</div>
<div>
<div>
<div><br>
On May 31, 2013, at 5:17 AM, "safa khan" <<a href="mailto:safakhan413@gmail.com" target="_blank">safakhan413@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">
<div>
<div>
<div>Dear Members<br>
<br>
</div>
First of all thank you for the amazing idea that CoDel is :)<br>
<br>
I have downloaded CoDel from <a href="https://github.com/dtaht/ns2" target="_blank">
https://github.com/dtaht/ns2</a> <br>
</div>
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.<br>
<br>
</div>
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<br>
<div><br>
ftps 1 webrate 0 cbrs 0 bw 3000000.0 filesize 10000000 reverse 0<br>
accessdly 20 bneckdly 10 realrtt 100 bneckbw 3000000.0<br>
invalid command name "Queue/CoDel"<br>
    while executing<br>
"Queue/CoDel set target_ $target"<br>
    (file "codel.tcl" line 143)<br>
<br>
</div>
A little help will be highly appreciated.<br clear="all">
<br>
-- <br>
Regards<br>
Safa Nasir<br>
<br>
</div>
</div>
</blockquote>
</div>
</div>
<div>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Codel mailing list</span><br>
<span><a href="mailto:Codel@lists.bufferbloat.net" target="_blank">Codel@lists.bufferbloat.net</a></span><br>
<span><a href="https://lists.bufferbloat.net/listinfo/codel" target="_blank">https://lists.bufferbloat.net/listinfo/codel</a></span><br>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Regards<br>
Safa Nasir<br>
<br>
</div>
</blockquote>
</div></div></div>
<br>
</div>
</div>

</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Regards<br>Safa Nasir<br><br>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Safa Nasir<br><br>
</div>