LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2014, 02:09 AM   #1
Sowjanya Donepudi
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Rep: Reputation: Disabled
Unhappy congestion control algorithms


tcl code for congestion control algorithms i.e, how to apply throughput, jitter, delay for congestion control algorithms - bic, htcp, hybla and the connectivity of the parameters with the algorithms and tcl code for its graphs..
 
Old 04-02-2014, 03:29 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 7,214
Blog Entries: 12

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
Cool! Post what you got!

OK, sorry for the patronizing. You're blindly asking for people to just post code to do several things that you want? After which you'll likely have a ton of follow up questions?

The best suggestion I can make here is to give some of that a try yourself, when you get stuck, post what you do have and where you're stuck. But if you start with an empty script and say you want it to do all those functions, people aren't just going to write or send stuff. Maybe if something exists and someone knows a reference, of course you can google the internet for tcl script examples. Try also doing a search and if you find something close, try to use it, adapt it, and then repost with relevant questions.
 
1 members found this post helpful.
Old 04-02-2014, 04:20 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,110

Rep: Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489
Welcome to LQ.

Congestion, ns2 http://www.mathcs.emory.edu/~cheung/...nd-NS/TCP.html

FixedCWND.tcl http://www.mathcs.emory.edu/~cheung/.../FixedCWND.tcl

Awk scripts, a general selection ...
https://drive.google.com/file/d/0B7S...it?usp=sharing


-

Last edited by knudfl; 04-02-2014 at 04:22 PM.
 
1 members found this post helpful.
Old 04-02-2014, 11:35 PM   #4
Sowjanya Donepudi
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
we have done the coding part but we dont know the connectivity of the parameter with the algorithm i.e, how we apply the parameter to the algorithm.
 
Old 04-03-2014, 05:32 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,110

Rep: Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489
# 4 .
Quote:
we have done the coding part
Then please show what you have done.


Quote:
but we dont know the connectivity of the parameter with the algorithm i.e,
how we apply the parameter to the algorithm.
? Which connectivity ? Please explain.
? Which parameter ?

-
 
1 members found this post helpful.
Old 04-03-2014, 10:18 AM   #6
Sowjanya Donepudi
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
we want to calculate throughput, delay for congestion control algorithms.. we have code for throughput and also in-built code for the algorithm in ns2. how can we calculate them for the algorithms? i.e the code which connects throughput and the algorithm.. i dont have any idea about it. please help me.
 
Old 04-03-2014, 10:59 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 7,214
Blog Entries: 12

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
Get the system time and put timestamps into log records at the points where you need to measure differences in time. An added thing you can do is to save the system timestamp at the points where you consider data ingress to occur and at the point where the egress is happening, check the system timestamp again and compare the difference in the saved variables. You can use or employ as many variables as makes sense for you. These are your algorithms, therefore you know best the points where transference of data is occurring.
 
1 members found this post helpful.
Old 04-03-2014, 11:03 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,238
Blog Entries: 29

Rep: Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437
Moderator Response

Report so a Move can be done: This thread is more suitable in <Programming> and has been moved accordingly to help your thread/question get the exposure it deserves.

Last edited by onebuck; 04-03-2014 at 11:04 AM.
 
  


Reply

Tags
congestion, 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
What are the states in BITCP Congestion Control algorithm? manolakis Linux - Networking 0 01-26-2014 10:45 PM
Congestion control manolakis Linux - Networking 2 01-22-2014 06:12 AM
tcp congestion control jwstric2 Linux - Networking 8 04-19-2005 12:28 PM
Programming - Linux TCP Congestion Control smokey1582 Programming 1 10-22-2004 05:07 PM
Programming - Linux TCP Congestion Control smokey1582 Linux - Networking 0 10-21-2004 01:04 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:48 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