Responsive image
博碩士論文 etd-0709102-172614 詳細資訊
Title page for etd-0709102-172614
論文名稱
Title
在Linux平台上實做動態調整DSCP的有效TCP傳輸機制
Implementation of Dynamic DSCP Adjustment for Effective TCP Transmission on Linux Platform
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
65
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2002-06-26
繳交日期
Date of Submission
2002-07-09
關鍵字
Keywords
有效傳輸率、動態調整DSCP
DSCP dynamic adjustment, TCP, Congestion Window, Round Trip Time
統計
Statistics
本論文已被瀏覽 5643 次,被下載 3433
The thesis/dissertation has been browsed 5643 times, has been downloaded 3433 times.
中文摘要
IETF提出的差別式服務網路(Differentiated Service,DiffServ),奠定了下一代具有服務品質(Quality of Services,QoS)的網路架構。具有高度的延展性以及和相容性,是DiffServ網路最大的特色。不過對於個別資料流的傳輸率要求,仍缺乏一套有效的解決辦法。有鑑於此,我們提出有效率的TCP傳輸(Effective TCP Transmission)機制,依照TCP的傳輸特性,藉以改進在DiffServ網路上針對個別資料流所欠缺的傳輸服務品質。
我們提出的機制,是以TCP資料流的有效傳輸率為目標。我們考慮到真實的網路環境是時時刻刻都在變動的,因此必須有一套好的方法以掌握網路的即時狀況。首先我們將在入口端節點(Ingress Node)量測TCP的相關參數,此為 TCP的Congestion Window(cwnd)和Round Trip Time(RTT)。而在出口端節點(Egress Node)監測實際的傳輸率,並將得到的結果利用返回的TCP確認封包(Ack Packet)通知Ingress Node。在該資料流的傳輸率沒有達到預期目標時,我們利用量測的TCP參數做動態調整DSCP(DiffServ Code Point)。每個DSCP在Ingress Node都會有對應的延遲時間,這些延遲時間是由我們安排的Delayed-FIFO佇列所達成。故改變DSCP將使得資料流的RTT受到變化,因而我們可以調整傳輸率,讓TCP做有效的傳輸。
為了驗證我們的機制,我們將提出的方法實做于Linux平台上。並且透過實驗,量測與討論來分析理論和實做上的差距。並且以這種方式,說明了我們的機制在實際運作和與現有設備相容的可行性。

Abstract
IETF proposes the Differentiated Service(DiffServ) architecture for next-generation QoS networks. The main features of a DiffServ network are high scalability and compatibility. However, lacking of supporting QoS for individual flows becomes a problem. To remedy this problem, we propose an effective TCP transmission (ETCP) scheme based on the characteristics of TCP.
The goal of this thesis is to make TCP transmission more effective. Because of the network complexity, we need to modify both the Ingress and Egress nodes. At Ingress node, we measure TCP congestion window(cwnd) and Round Trip Time(RTT), while at Egress node we monitor the throughput and embed a feedback ratio into TCP header of the acknowledge packets. When the throughput is below or over the target throughput, we adjust DSCP dynamically. The adjustment depends on both measured TCP congestion window and RTT. Each DSCP value is mapped with a delay time through Delayed-FIFO. Changing the delay time in Ingress node, we are able to control TCP transmission associated with RTT more effectively.
For the purpose of the demonstration, we implement our scheme on Linux platform. We discuss the performance difference between the theoretical and practical results through experiments. Besides, from the implementation, we have shown that our proposed architecture is workable and compatible with today’s network environment.
目次 Table of Contents
第一章 導論 …………………………………………………………………………1
1.1研究動機 ………………………………………………………………………1
1.2研究方向與實作 ………………………………………………………………1
1.3章節介紹 ……………………………………………………………………....2

第二章 網際網路的服務品質 ………….…………………………………………...3
2.1 差別式服務(Differentiated Services, DiffServ) ………………………………3
2.2 差別式服務網路架構 ………………………………………………………...4
2.2.1 DSCP的介紹 …………………………………………………..…………5
2.2.2 快速轉送(Expedited Forwarding) ….…………………………………….7
2.2.3 確保轉送(Assured Forwarding) ………………………….………………8
2.2.4預設轉送(Default Forwarding) …………………………….……………..8
2.3 差別式服務網路路由器(DiffServ Router)的介紹 …………….…………….9
2.4相關研究 ……………………………………………………….……………..11
2.4.1回授式控制的差別式服務網路(Feedback Controlled DiffServ) ………..11
2.4.2封包標記引擎(Packet Marking Engine,PME) …………………………12
2.4.3 DiffServ TCP Model ….…..…………………………………......………12
2.4.4 TCP-Friendly Traffic Marker ……………………………...……………..13

第三章 在DiffServ上的有效TCP傳輸機制 …………………………………….14
3.1 有效TCP傳輸機制 …………………………………………………………14
3.2 ETCP傳輸機制的架構 ………………………………………………………16
3.3 ETCP的控制訊息格式 ……………………………………………………....18
3.4 ETCP機制的運作 ……………………………………………………………20
3.4.1 ETCP 機制的演算法 …………...……………………………………....21
3.4.2 QoS資料流的建立 …………...…………………………………………23
3.4.3 mRTT和mcwnd ………………………………………………………….24
3.4.3.1 mRTT的量測過程 ………………………………………………….24
3.4.3.2 mcwnd的量測過程 ………………………………………………...26
3.4.3.3 mRTT和mcwnd量測的折衷方式 ………………………………...28
3.4.4 Delayed-FIFO的設計 …………………………………………………...30
3.4.5動態調整DSCP的演算法 ……………………………………………...31
3.4.5.1 DSCP的選擇 ……………………………………………………….31
3.4.5.2調整的時機 …………………………………………………………35
3.4.5.3壅塞封包的標記 ……..……………………………………………37
3.4.5.4演算法 ………………..……………………………………………37

第四章 ETCP的實做及結果討論 …………………………………………………39
4.1 實做ETCP于DiffServ的Linux平台 …………………………………… ..39
4.1.1 ETCP Controller模組 ………...…………………………………………39
4.1.2 Delayed-FIFO的實做 ………...…………………………………………42
4.1.3 ERED的實做 ………...………………………………………………….42
4.2 Linux實做的網路架構 ……………...……………………………………….43
4.3 實驗數據及分析討論 ………………...……………………………………..44
4.3.1 Delayed-FIFO和mRTT的量測 …………………………………………44
4.3.2 cwnd的量測 ………………………...…………………………………...45
4.3.3 動態調整DSCP的量測 ………………………………………………...46
4.3.3.1單方向的QoS資料流傳送 …………………………………………48
4.3.3.2雙方向的QoS資料流傳送 …………………………………………52
4.4與延遲ACK封包的效能比較………………………………………………..55

第五章 結論與未來工作方向 ………...…………………………………………...57
5.1結論 …………………………………...……………………………………...57
5.2未來工作方向 …………………...…………………………………………...59

參考資料 ………………...………………………………………………………...60
索引 …………….…………………………………………………………………63
參考文獻 References
[1] R. Braden,D. Clark,S. Shenker,”Integrated Services in the Internet Architeture: an Overview,”IETF RFC 1633,June 1994.
[2] S. Blake,D. Black,M. Carlson,E. Davies,Z. Wang,W. Weiss,”An Architecture for Differentiated Services,”IETF RFC 2475,December 1998.
[3] R. Braden et al.,”Resource ReSerVation Protocol (RSVP) – Version 1 Functional Specification ,”IETF RFC 2205,September 1997.
[4] J. Wroclawski,”Specification of the Controlleed-Load Network Element Service,”IETF RFC 2211,September 1997.
[5] S. Shenker,C. Partridge,R. Guerin,”Specification of Guaranteed Quality of Service,”IETF RFC 2212,September 1997.
[6] K. Nichols,S. Blake,F. Baker,D. Blake,”Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers,”IETF RFC 2474,December 1998.
[7] J. Postel,Editor,”Internet Protocol,”IETF RFC 791,September 1981.
[8] P. Almquist,”Type of Service in the Internet Protocol Suite,”IETF RFC 1349,July 1992.
[9] V. Jacobson,K. Nichols,K. Podur,”An Expedited Forwarding PHB Group,”IETF RFC 2598,June 1997.
[10] J. Heinanen,F. Baker,W. Weiss,J. Wroclawski,”Assured Forwarding PHB Group,”IETF RFC 2597,June 1999.
[11] Y. Bernet,S. Blake,A. Smith,“An Information Management Model for Diffserv Routers,”IETF Internet Draft,February 2001.
[12] Hungkei (Keith) Chow,Alberto Leon-Garcia,”A Feedback Control Extension to Differentiated Services,”IETF Internet Draft,March 1999.
[13] W.-C. Feng,D.D. Kandlur,D. Saha,K.G. Shin,“Adaptive Packet Marking for Maintaining End-to-End Throughput in a Differentiated-Services Internet,”IEEE/ACM Transactions on Networking,Vol.7,No.5,pp. 685-697,October 1999.
[14] I. Yeom,A.L.N. Reddy,”Modeling TCP Behavior in a Differentiated Services Network,”IEEE/ACM Transactions on Networking,Vol.9,No.1,pp. 31-46,February 2001.
[15] K.R.R. Kumar,A.L. Ananda, Lillykutty Jacob,”A Memory-Based Approach for a TCP-friendly Traffic Conditioner in DiffServ Networks,” Network Protocols Ninth International Conference on ICNP 2001
[16] J. Postel,ed.,”Transmission Control Protocol,”IETF RFC 793,September 1981.
[17]W.R. Stevens,”TCP/IP illustrated Vol.1,” Addison-Wesley,1997.
[18]J. Padhye,V. Firoiu,D.F. Towsley,J.F. Kurose,”Modeling TCP Reno Performance:A Simple Model and Its Empirical Validation,” IEEE/ACM Transactions on Networking,Vol.8,No.2,pp.133-145,April 2000.
[19]W.R. Stevens,”TCP slow start,congestion avoidance,fast retransmission,and fast recovery algorithms,”IETF RFC 2001,Jan 1997.
[20]J. Heinanen,R. Guerin,”A Single Rate Three Color Marker,“IETF RFC 2697,September 1999.
[21] J. Heinanen,R. Guerin,”A Two Rate Three Color Marker,“IETF RFC 2698,September 1999.
[22]V. Jacobson,R. Braden,D. Borman,”TCP Extensions for High Performance,”IETF RFC 1323,May 1992.
[23]W. Almesberger,J.H. Salim,A. Kuznetsov,” Differentiated Services on Linux,”IETF Internet Draft,June 1999.
[24]W. Almesberger, ” Linux Traffic Control - Implementation Overview,” Technical Report SSC/1998/037, EPFL, November 1998
[25]G. Herrin,”Linux IP Networking A Guide to Implementation and Modification the Linux Protocol Stack,” available at http://kernelnewbies.org/documents/ipnetworking/linuxipnetworking.html,May 2000.
[26]D.A. Rusling,”The Linux Kernel,” http://www.tldp.org/LDP/tlk/tlk.html,1999.
[27]O. Pomerantz,”Linux Kernel Module Programming Guide,” http://www.tldp.org/LDP/lkmpg/mpg.html,1999.
[28]A. Kuznetsov,”Linux IPRoute2,Traffic Control & Friends,” http://defiant.coinet.com/iproute2/,December 1999
[29]http://www.web100.org,2002
[30]A. Tirumala,F. Qin,J. Dugan,J. Ferguson,”Iperf Version 1.21,” http://dast.nlanr.net/Projects/Iperf/,May 2002
[31]B.G. Kim,B.-K. Kim,”Simulation Study of Weighted Round-Robin Queueing Policy,”Proceedings of Technical Conference on Telecommunications R&D in Massachusetts,October 1994.
[32]M. Devera,”Devik’s Linux QoS Development,” http://luxik.cdi.cz/~devik/qos/qos.htm
[33]S. Floyd,V. Jacobson,”Random Early Detection Gateways for Congestion Avoidance,”IEEE/ACM Transactions on Networking,Volume 1 ,Issue 4,pp. 397-413,Aug 1993
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:校內校外完全公開 unrestricted
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code