[p2p-hackers] TCP-like Congestion Control

Lars-Åke Larzon lln at it.uu.se
Sat Sep 17 11:34:29 UTC 2005


17 sep 2005 kl. 13.17 skrev David Barrett:

>
> onACK( numBytes )
>     - if( cwnd < ssthresh ) cwnd += min( numBytes, MTU )
>     - else                  cwnd += MTU*MTU / 2
>

Why do you divide by two? AFAIK, you should divide by cwnd if you're  
in the congestion avoidance phase.

/Lars-Åke Larzon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2384 bytes
Desc: not available
Url : http://zgp.org/pipermail/p2p-hackers/attachments/20050917/2561d4e9/smime.bin


More information about the P2p-hackers mailing list