LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 01: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, 02:29 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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, 03:20 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 03:22 PM.
 
1 members found this post helpful.
Old 04-02-2014, 10: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, 04:32 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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, 09: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, 09:59 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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, 10:03 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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 10:04 AM.
 
  


Reply

Tags
congestion, ns2



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 09:45 PM
Congestion control manolakis Linux - Networking 2 01-22-2014 05:12 AM
tcp congestion control jwstric2 Linux - Networking 8 04-19-2005 11:28 AM
Programming - Linux TCP Congestion Control smokey1582 Programming 1 10-22-2004 04:07 PM
Programming - Linux TCP Congestion Control smokey1582 Linux - Networking 0 10-21-2004 12:04 PM

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

All times are GMT -5. The time now is 08:38 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
Open Source Consulting | Domain Registration