List Info

Thread: Refactoring Congestion Control




Refactoring Congestion Control
user name
2006-09-17 20:17:53
Hi,
Me and Kentaro had the same idea of refactoring the
congestion  
control algorithms to make them mode modular. (We could, for
 
instance, program TCP/Westwood+ and TCP/Daytona more
easily).
Turns out he already did the work for an old NetBSD version.
I grabbed the patch and updated it to -current.

Any comments before I commit ?

	-- Rui Paulo



Refactoring Congestion Control
user name
2006-09-17 21:13:56
On Sun, 17 Sep 2006, Rui Paulo wrote:
> Any comments before I commit ?

Where is the documentation or at least a design document?


  - Hubert
Refactoring Congestion Control
user name
2006-09-17 21:35:52
On Sep 17, 2006, at 10:13 PM, Hubert Feyrer wrote:

> On Sun, 17 Sep 2006, Rui Paulo wrote:
>> Any comments before I commit ?
>
> Where is the documentation or at least a design
document?

There's no need for such thing.


	-- Rui Paulo


Refactoring Congestion Control
user name
2006-09-17 21:34:31
On Sun, 17 Sep 2006, Rui Paulo wrote:
>> Where is the documentation or at least a design
document?
> There's no need for such thing.

Serious, can you describe what the code does?


  - Hubert
Refactoring Congestion Control
user name
2006-09-17 21:46:55
On Sep 17, 2006, at 10:34 PM, Hubert Feyrer wrote:

> On Sun, 17 Sep 2006, Rui Paulo wrote:
>>> Where is the documentation or at least a design
document?
>> There's no need for such thing.
>
> Serious, can you describe what the code does?

Ok. The code is the heart of the congestion control in our
TCP stack.  
I'm moving stuff around and creating a new
"class" a-la objective  
programming (in this case a struct with three function
pointers).
This way we can separate the congestion control algorithms
we have in  
our source tree.
Basically with this we should be able to remove the checks
for if  
(tcp_newreno) or if (tcp_westwood), etc.
Note that I'm not adding new code, hence the subject
"refactoring".

	-- Rui Paulo


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )