穨control.PDF

Similar documents
Microsoft Word final

lan03_yen

Microsoft PowerPoint - STU_EC_Ch08.ppt

Simulator By SunLingxi 2003

Microsoft PowerPoint - Aqua-Sim.pptx

IP505SM_manual_cn.doc

Microsoft Word - template.doc

¶C¶L§§¬_™¨ A.PDF

第一章 出口退税制改革的内容

Introduction to FSM FSM was introduced to meet requirements of scientific research and engineering FSM, as a mathematical modeling methodology, can be

Microsoft Word - _新_TCP模擬分析報告_M 王凱弘_

Microsoft Word - A doc

Chn 116 Neh.d.01.nis

Chap6.ppt

Microsoft Word doc

PowerPoint Presentation

untitled

東吳大學

System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and se

<4D F736F F D205F FB942A5CEA668B443C5E9BB73A740B5D8A4E5B8C9A552B1D0A7F75FA6BFB1A4ACFC2E646F63>

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

2015年4月11日雅思阅读预测机经(新东方版)

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2

2

Introduction to Hamilton-Jacobi Equations and Periodic Homogenization

Edge-Triggered Rising Edge-Triggered ( Falling Edge-Triggered ( Unit 11 Latches and Flip-Flops 3 Timing for D Flip-Flop (Falling-Edge Trigger) Unit 11

國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 表 11 國 立 政 治 大 學 教 育 學 系 博 士 班 資 格 考 試 抵 免 申 請 表 論 文 題 目 申 報 暨 指 導 教 授 表 12 國 立 政 治 大 學 碩 博 士 班 論

Chinese oil import policies and reforms 随 着 经 济 的 发 展, 目 前 中 国 石 油 消 费 总 量 已 经 跃 居 世 界 第 二 作 为 一 个 负 责 任 的 大 国, 中 国 正 在 积 极 推 进 能 源 进 口 多 元 化, 鼓 励 替 代

...1 What?...2 Why?...3 How? ( ) IEEE / 23

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡

2/80 2

untitled

Microsoft Word

<322DB57BA5C9BBF DA4BAA4E52E706466>

1505.indd

國家圖書館典藏電子全文

Untitled-3

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

Bus Hound 5

Love Actually 真 的 戀 愛 了!? 焦 點 主 題 2035 年 一 個 寒 冷 卻 又 放 晴 的 下 午, 爸 媽 一 大 清 早 已 上 班, 只 得 小 奈 獨 個 兒 待 在 家 中, 奢 侈 地 享 受 著 她 的 春 節 假 期 剛 度 過 了 期 考 的 艱 苦 歲

BC04 Module_antenna__ doc

< D313738B1F5A46CB5C4B773B1B42DB4BFA5C3B8712E706466>

1 o o o CPU o o o o o SQL Server 2005 o CPU o o o o o SQL Server o Microsoft SQL Server 2005

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2

國立中山大學學位論文典藏

<4D F736F F D C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63>


廣州舊城區的保護和發展

星河33期.FIT)


20

Stochastic Processes (XI) Hanjun Zhang School of Mathematics and Computational Science, Xiangtan University 508 YiFu Lou talk 06/

Microsoft Word - ED-774.docx

186 臺 灣 學 研 究. 第 十 三 期 民 國 一 一 年 六 月 壹 前 言 貳 從 廢 廳 反 對 州 廳 設 置 到 置 郡 運 動 參 地 方 意 識 的 形 成 與 發 展 肆 結 論 : 政 治 史 的 另 一 個 面 相 壹 前 言 長 期 以 來, 限 於 史 料 的 限 制

Building Technology Experience Center concept air conditioning concept heat pump special energy-saving techniques in hydraulics Concrete core conditio

political-legal Max Weber Essays in Sociology

HKG_ICSS_FTO_sogobrilingual_100_19Feb2016_31837_tnc

Logitech Wireless Combo MK45 English

穨1-林聖欽.doc

1.ai

OA-253_H1~H4_OL.ai

99 學年度班群總介紹 第 370 期 班群總導 陳怡靜 G45 班群總導 陳怡靜(河馬) A 家 惠如 家浩 T 格 宜蓁 小 霖 怡 家 M 璇 均 蓁 雴 家 數學領域 珈玲 國燈 英領域 Kent

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP

Public Projects A Thesis Submitted to Department of Construction Engineering National Kaohsiung First University of Science and Technology In Partial

PowerPoint Presentation

K301Q-D VRT中英文说明书141009

PS PS GMM SM.zte.com.

. Land Patterns for Reflow Soldering.Recommended Reflow Soldering Conditions (For Lead Free) TYPE PID0703 PID0704 PID1204 PID1205 PID1207 PID1209 L(mm

931.indd

Open topic Bellman-Ford算法与负环

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

幻灯片 1

Chapter #

2. 佔 中 對 香 港 帶 來 以 下 影 響 : 正 面 影 響 - 喚 起 市 民 對 人 權 及 ( 專 制 ) 管 治 的 關 注 和 討 論 o 香 港 市 民 總 不 能 一 味 認 命, 接 受 以 後 受 制 於 中 央, 沒 有 機 會 選 出 心 中 的 理 想 特 首 o 一

政治哲學要跨出去!


2 g g g g g g g

<4D F736F F D20C4A3B0E632A3A8D3EFD1D4CEC4D7D6BCECB2E9B8C4A3A92E646F63>

入學考試網上報名指南

第一章 前言

202 The Sending Back of The Japanese People in Taiwan in The Beginning Years After the World War II Abstract Su-ying Ou* In August 1945, Japan lost th

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

<4D F736F F D203134B04BA6DCBC77205FA4A4A640AD78A8C6BED4B2A4AABAC4ACC170BED4B2A4AEDAB7BD D E646F63>

英 文 摘 要 : In August 15, 2013, Mengniu Dairy and Yashili made a joint announcement that the general offer Mengniu Dairy issued to takeover Yashili fina

Microsoft PowerPoint - IAS 21 - IFRS宣導會.pptx

SHIMPO_表1-表4

摘 要 互 联 网 的 勃 兴 为 草 根 阶 层 书 写 自 我 和 他 人 提 供 了 契 机, 通 过 网 络 自 由 开 放 的 平 台, 网 络 红 人 风 靡 于 虚 拟 世 界 近 年 来, 或 无 心 插 柳, 或 有 意 噱 头, 或 自 我 表 达, 或 幕 后 操 纵, 网 络

08清嘉慶年間海盜蔡牽犯臺始末_修_薛卜滋.doc

States and capital package

參 加 第 二 次 pesta 的 我, 在 是 次 交 流 營 上 除 了, 與 兩 年 沒 有 見 面 的 朋 友 再 次 相 聚, 加 深 友 誼 外, 更 獲 得 與 上 屆 不 同 的 體 驗 和 經 歴 比 較 起 香 港 和 馬 來 西 亞 的 活 動 模 式, 確 是 有 不 同 特

2010/

C J. C. Caldwell 訛 輯 輥 訛 輰 輥 Victor Nee 1 輥 輱 訛 ~


:(104 :(104 )24:00 )~ :104 )~ )15:00~17:00 )08:00 : : :

untitled

SHIMPO_表1-表4

Microsoft PowerPoint - 数据通信-ch1.ppt

ch_code_infoaccess

Abstract To overcome the present crisis of conditions of knowledge, an effort to reconceptualize, position and identify the shared experien

國立中山大學學位論文典藏.PDF

Transcription:

TCP congestion control yhmiu

Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582

TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe RFC793 1981 Tahoe RFC1122 1982 Reno RFC2001 1997 TCP Congestion Control RFC2581 1999 New-Reno RFC2582 1999 Vegas 1995 Pseudo-Rate 1999

TCP congestion control (Tahoe) Initial: cwnd = 1*segsize byte threshold = 64 KB Loop: if ( ACK received in time and cwnd <= ssthresh) cwnd += 1*segsize ; else if ( ACK received in time and cwnd > ssthresh) cwnd += segsize*segsize/cwnd + segsize/8 ; else if ( packet time out) { ssthresh = cwnd/2 ; cwnd = 1*segsize ; time out ; }

Congestion control algorithms (RFC2001) Slow start Congestion avoidance Fast retransmit Fast recovery

Fast retransmit and Fast recovery Using the number of duplicate acks receiving to decide lost or out of order After Fast retransmit algorithm sends the missing segment, Fast recovery algorithm governs the transmission of data until a non-duplicate ack arrives

The duplicate ack receiver SHOULD send an immediate duplicate ACK when an out-of-order segment arrives

Example of duplicate ack to detect lost

TCP congestion control(reno) Initial: cwnd = 1*segsize ssthresh = 64 KB Loop: if ( ACK received in time and cwnd < = ssthresh) cwnd+= 1*segsize ; else if ( ACK received in time and cwnd> ssthresh) cwnd+= segsize * segsize / cwnd ; /* equation 2 */ else if ( packet time out) { ssthresh = cwnd / 2 ; cwnd = 1*segsize ; time out } while (3 duplicate ACK received) { ssthresh = max( cwnd / 2, 2*segsize ); cwnd = ssthresh + 3 * segsize ; if ( a duplicate ACK received ) cwnd += 1*segsize ; else if (a non-duplicate ACK received) { cwnd = ssthresh ; break ; } } byte

Purpose of RFC2581 Let Reno become more general version TCP Additional considerations Restarting idle connection to Slow Start The delayed ACK algorithm can be used

New definition or suggestion of Reno implementation by RFC2581 (1) Initial cwnd 2*segsize (bytes) Initial ssthresh congestion When cwnd=ssthresh,the sender can use either slow start or congestion avoidance During congestion avoidance,increment of cwnd is executed on incoming non-duplicate ACK

New definition or suggestion of Reno implementation by RFC2581 (2) cwnd given in equation 2 will fail to increase,if cwnd is vary large Let (segsize*sgesize/cwnd) = 1byte Tahoe equation 2 actually lead to diminished performance During congestion avoidance, ack byte cwnd,cwnd segsize byte cwnd,equation 2

New definition or suggestion of Reno implementation by RFC2581 (3) When detect segment lost ssthresh <= max ( FS/2, 2*segsize ) When detect segment lost by timeout Set cwnd = 1*segsize

Restarting idle connection When TCP has not received a segment for more than one retransmission timeout To avoid TCP sending a cwnd-size line-rate burst into the network after an idle period. Set IW=min(IW, cwnd) ; then go to slow start

The delayed ACK algorithm For at least every second segment generating an ack An ack must be generated within 500 ms of the arrival of the first unacknowledged packet MUST NOT generate more than one ACK for every incoming segment

Purpose of RFC2582 Reno fast recovery multiple-packet-loss

example Case1 (single packet dropped from a window) The ack for this packet will ack all of the packets transmitted before fast retransmit was entered Case2 (multiple packet dropped from a window) The ack for the retransmitted packet will ack some but not all all of the packets transmitted before fast retransmit Case 2 called partial acknowledgement

Difference form Reno and NewReno Reno under case 2 When sender receives first partial ack, it transfers form fast recovery state to congest avoidance state NewReno partial ack packet multiple-packet-loss partial ack packet fast recover

Initial : send_high= the initial send seqnum; While (receive 3 duplicate ack) { if (duplicate ack cover no more than send_high) break; else if (dupliacte ack cover more than send_high) { ssthresh = max(fs/2, s*segsize); recover = highest seq num transmitted; cwnd = ssthresh + 3*segsize; } } if (receive a duplicate ack) cwnd += 1*segsize; else if (receive a non-duplicate ack) { if (this ack not ack up to recover) /* partial ack */ { cwnd -= the amount of data acked; reset restransmit timer; if ( send a new segment allowed by window ) cwnd += 1*segsize; } else if (this ack ack up to recover) break; } else if (packet timeout) send_high=highest seqnum transmitted ; break; NewReno

Problem Why to check send_high when entering Fast retransmit state fast retransmit retransmit timeout fast retransmit sate duplicate ack send_high retransmit timer

Problem Why to check recover when entering Fast retransmit state multiple-packet-loss partial ack

Reference RFC0793 RFC1122 RFC2001 RFC2581 RFC2582