Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-13-2016, 04:41 PM   #1
LQ Newbie
Registered: Apr 2016
Posts: 10

Rep: Reputation: Disabled
patching CoDel patch into mannasim

hello, is it possible to patch new queue type like CoDel into mannasim?

I want to patch new queue from into integrated mannasim for ns 2.35 but i got error when I try to run codel example.tcl

at first, i did patch new queue type on ns 2.35, and i've got run it succesfully, then I tried to integrated it with mannasim, but after that i always got error when try to run codel example like this

invalid command name "Queue/CoDel"
    while executing
"Queue/CoDel set target_ $target"
    (file "codel-test.tcl" line 143)
please help me

also, a curious question, does mannasim support NAM? because it's really hard to determine the exact position based from mannasim script generator :|

Last edited by derekman; 04-14-2016 at 02:04 AM.
Old 05-05-2016, 04:44 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,502

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
"codel example.tcl" : Unknown file. Please supply a link.

CoDel-ns-2.35.patch, 2012 : Old.
(The latest CoDel : CoDel+SFQ-CoDel+CoDel-DT__120314_ns235.patch, Dec.2014).

Testing mannasim + codel :
$ ns235-mannasim+codel LEACH_mannasim.tcl : OK.
$ ns235-mannasim+codel codel-test.tcl 
ftps 1 webrate 0 cbrs 0 bw 3000000.0 filesize 10000000 reverse 0
accessdly 20 bneckdly 10 realrtt 100 bneckbw 3000000.0
bottleneck starts at 3000000bps
cmd select_ca cubic
29.575980800002796 TCP/Linux proc done called
The build :
$ tar xvf ns-allinone-2.35_gcc491.tar.gz (Dec. 2014 update with "the 2014 Codel" included (like ns-2.36))
$ cd ns-allinone-2.35/
$ patch -p1 < ns2.35-mannasim.patch
$ ./install
$ cd ns-2.35/
$ cp ns ns235-mannasim+codel
$ sudo cp ns235-mannasim+codel /usr/local/bin/

Codel INFO|sort:date

Mannasim INFO

Simulation examples, mannasim

Codel examples


Last edited by knudfl; 05-05-2016 at 05:32 PM.


mannasim, mannasim-ns235, mannasim__codel, ns2

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sensor Mobility With PMIPv6, FPMIPv6 using MANNASIM patch Riaz Khan Linux - Newbie 0 08-01-2015 04:45 PM
[SOLVED] Regarding Installation of Mannasim in UBuntu 13.10 and patching with NS2 viswakarna Linux - Newbie 5 09-15-2014 11:56 AM
NOT ABLE TO PATCH MANNASIM 2.29 successfully... why? dhana Linux - Newbie 4 02-17-2012 11:19 AM
Patching kernel using patch-o-matic ceco91 Linux - Kernel 2 10-01-2009 06:28 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration