LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   congestion control algorithms (https://www.linuxquestions.org/questions/programming-9/congestion-control-algorithms-4175500259/)

Sowjanya Donepudi 04-02-2014 01:09 AM

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..

rtmistler 04-02-2014 02:29 PM

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.

knudfl 04-02-2014 03:20 PM

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


-

Sowjanya Donepudi 04-02-2014 10:35 PM

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.

knudfl 04-03-2014 04:32 AM

# 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 ?

-

Sowjanya Donepudi 04-03-2014 09:18 AM

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.

rtmistler 04-03-2014 09:59 AM

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.

onebuck 04-03-2014 10:03 AM

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.


All times are GMT -5. The time now is 11:07 PM.