博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Reflection: Congestion Avoidance and Control
阅读量:5960 次
发布时间:2019-06-19

本文共 1980 字,大约阅读时间需要 6 分钟。

-----------------

How the algorithm and formula are implemented seem trivial, the most important of the passage's idea is the definition of 'conservation of packets'.

-----------------

Congestion Avoidance and Control written by Van Jacobson.

Since 1986, two network hops between suffer a 32Kbps~40Kbps network congestion collapse. Van and his collegues invested and found that tcp misbehaved and could be tuned better upon the 4.3BSD TCP protocol

Some algorithms have been added since:

  • rtt variance estimation
  • exponential retransmit timer backoff
  • slow-start
  • more aggressive receiver ack policy
  • dynamic window sizing on congestion
  • Karn's clamped retransmit backoff
  • fast retransmit

These improvements seems good dealing with the congested internet.

The first five algorithms introduced here. They abey from the observation: The flow on a TCP connection should obey 'conservation of packets' principle. If this rule obeyed, the congestion cured.

So what is 'conservation of packets'? New packets will not be put into wire until another packet leaves wire. [total number of packets of a connection is a const]

Simple.

----------------------

The RTT is updated everytime ack packet arrives with the formula: R = alpha*R + (1-alpha)*R`. Every ack packet arrives we can get a new R` value. Normally choose alpha = 0.9.

The Estimated Time to suppose a packet has been lost is based on RTT calculated above. Some may choose T=beta*R, where beta=2. This choice is not good for high delay paths. Using an exponential time backoff(modificatiion) algorithm might achieve better prediction.

--------------------

So when we face the condition that some ack packet does not arrive as expected in time T, this packet is considered lost, though it may arrive later and has 1% chance to be transmission damaged. And we suppose the network in between is facing a network congestion.

In this case, the congestion avoidance algorithm must take effect.

 

转载于:https://www.cnblogs.com/sansna/p/9576747.html

你可能感兴趣的文章
实时数据平台设计:解决从OLTP到OLAP实时流转缺失
查看>>
三家公司在SD-WAN方面的新动作
查看>>
C#在PDF中如何以不同颜色高亮文本
查看>>
在同一页面显示多个JavaScript统计图表
查看>>
Mac电脑Tomcat下载及安装(详细)MAC在Eclipse里配置tomcat
查看>>
多线程之-----------定时器
查看>>
C#语法——反射,架构师的入门基础。
查看>>
Beego Models 之 一
查看>>
Python购物车练习
查看>>
StringBuffer 和 StringBiulder的区别
查看>>
自建网页服务器基础
查看>>
浅谈oracle 12C的新特性-CDB和PDB
查看>>
mysql 加密连接SSL
查看>>
mariadb 10.1.xx 自带数据库审计插件,直接上操作过程
查看>>
MySql的安装
查看>>
同时开左右两个SAPGUI编辑器显示同一段ABAP代码
查看>>
无法在Chrome浏览器中查看SCCM SSRS报告
查看>>
mongoDB副本集的搭建
查看>>
ORA-01045: user ICCS lacks CREATE SESSION privilege; logon denied
查看>>
Android官方开发文档Training系列课程中文版:手势处理之监测通用手势
查看>>