LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2014, 02:45 AM   #1
surya.prakash
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Rep: Reputation: Disabled
tcp congetion control in ns2


Good Afternoon,

I'm new to NS2 and i need to know how to implement a congestion control in NS2. I know the basics in ns2 coding like node creation, links and packet size etc. Here anybody guide me for implementing TCP congestion control?
 
Old 04-03-2014, 05:36 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ.

Please have a look at this "congestion thread" ...
http://www.linuxquestions.org/questi...ms-4175500259/

... And hopefully @Sowjanya Donepudi will report back how she/he added `congestion'.

-
 
1 members found this post helpful.
Old 04-03-2014, 12:28 PM   #3
surya.prakash
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
thank you sir.
here i found that HTCP(hypertext congestion protocal) algorithm in the director "~/tcp/linux/sourse/tcp_htcp.c"
if i want to add this algorithem to my TcpAgent node for Congestion control then what are the files need to modify. Can anybody guide me for embedding HTCP alorithm to node?
 
Old 04-03-2014, 12:50 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 3 .
Quote:
here i found that HTCP
.
"~/tcp/linux/sourse/tcp_htcp.c"
Where did you find the above ? A link, please.
( Or upload your code to e.g. "Google Docs".)

-
 
Old 04-04-2014, 12:41 AM   #5
surya.prakash
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
yes sir,
I got that file in the "ns-diectory/ns-allinone-2.35/ns-2.35/tcp/linux/src/tcp_htcp.c".
 
  


Reply


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
How to patch Freez tcp protocol in NS2.35 Punit32 Linux - Software 2 02-06-2014 10:18 AM
NS2: tcp throughput problem azsuselinux Linux - Software 0 04-29-2013 07:44 PM
NS2.26/TCP installation error? japz20 Linux - Newbie 6 01-16-2013 04:27 AM
Question regarding TCP coding and TCP header in ns2 bsyew Linux - Newbie 0 04-13-2011 01:08 PM
Select YeAH-TCP like default TCP congestion control algorithm simonbcn Linux - Networking 0 01-20-2011 11:34 AM


All times are GMT -5. The time now is 03:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration