LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-13-2016, 03:41 PM   #1
derekman
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 http://www.pollere.net/CoDel-ns-2.35.patch 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

Code:
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 01:04 AM.
 
Old 05-05-2016, 03:44 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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

CoDel-ns-2.35.patch, 2012 http://www.pollere.net/CoDel-ns-2.35.patch : Old.
(The latest CoDel : CoDel+SFQ-CoDel+CoDel-DT__120314_ns235.patch, Dec.2014).

Testing mannasim + codel :
$ ns235-mannasim+codel LEACH_mannasim.tcl : OK.
Code:
$ 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
f.tr
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))
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ cd ns-allinone-2.35/
$ patch -p1 < ns2.35-mannasim.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ ./install
$ cd ns-2.35/
$ cp ns ns235-mannasim+codel
$ sudo cp ns235-mannasim+codel /usr/local/bin/

Codel INFO https://groups.google.com/forum/?fro...odel|sort:date

Mannasim INFO http://www.linuxquestions.org/questi...annasim-ns235/
and http://www.linuxquestions.org/questions/tags/mannasim/

Simulation examples, mannasim https://drive.google.com/file/d/0B7S...ew?usp=sharing

Codel examples https://drive.google.com/file/d/0B7S...ew?usp=sharing


-

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


Reply

Tags
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 03:45 PM
[SOLVED] Regarding Installation of Mannasim in UBuntu 13.10 and patching with NS2 viswakarna Linux - Newbie 5 09-15-2014 10:56 AM
NOT ABLE TO PATCH MANNASIM 2.29 successfully... why? dhana Linux - Newbie 4 02-17-2012 10:19 AM
Patching kernel using patch-o-matic ceco91 Linux - Kernel 2 10-01-2009 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 AM.

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