簡易檢索 / 詳目顯示

研究生: 蔡銘鴻
Tsai, Ming-Hung
論文名稱: 以Credit為基本的公平排程演算法之改進方法
Improved Method for Credit Based Fair Scheduling Algorithm
指導教授: 張燕光
Chang, Yeim-Kuan
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2006
畢業學年度: 94
語文別: 英文
論文頁數: 55
中文關鍵詞: 服務品質公平佇列封包排程
外文關鍵詞: quality of service, fair queuing, packet scheduling
相關次數: 點閱:121下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在目前新興整合服務的高速封包交換網路下,封包排程演算法在交換器與路由器當中,對於提供應用程式的網路服務品質扮演一個很重要的角色。

    在這篇論文裡面,我們提出一個新的公平排程演算法,叫做Weighted Class Fair Queuing(WCFQ)。WCFQ是一個有著低複雜度,公平性,和有好的網路延遲表現的排程器。主要的方法是將傳送速率相近的flow分類。這個排程方法分成兩部分,在類別外的排程與在類別內的排程。在類別外的排程是利用以credit 為基本的方法來選擇要排程的類別。接著,類別內的排程則利用類似Round-Robin方法來挑選一個flow傳送封包。我們也提供簡單的分析來說明我們的複雜度與公平性。

    最後我們將Weighted Class Fair Queuing實做在NS2模擬器上, 並與其他排程方法比較兩節點之間的網路延遲。我們經由實驗證明 WCFQ 擁有好的網路延遲表現。

    In the emerging high-speed integrated-services packet switched networks, packet scheduling algorithms in switches and routers play a critical role in providing the Quality-of-Service (QoS) guarantees required by many applications.

    In the thesis, we propose a new fair scheduling algorithm called Weighted Class Fair Queuing (WCFQ). WCFQ is a low complexity scheduler with bandwidth fairness, and has good delay performance. The key idea is that group flows with similar weight into the same flow class. The scheduling discipline is divided two part, inter-class scheduling and intra-scheduling. The inter-class scheduling employs credit-based scheme to choose the flow class. Next, the intra-class scheduling decides what flow within the flow class is scheduled in similar round-robin manner. We also provide a trivial analysis to explain our complexity and fairness.

    Finally, we implement Weighted Classes Fair Queuing in NS2 network simulator to compare the end to end delay with other existing fair scheduling algorithms. We demonstrate that WCFQ has good delay performance through simulation.

    Chapter 1 Introduction 1 1.1 Motivation 1 1.2 Organization of the Thesis 3 Chapter 2 Background 4 2.1 General Router Architecture 4 2.1.1 Input ports 5 2.1.2 Switching Fabrics 8 2.1.2.1 Switching via memory 9 2.1.2.2 Switching via a bus 9 2.1.2.3 Switching via interconnection network 10 2.1.3 Output Ports 11 Chapter 3 Related Work 14 3.1 Ideal Scheduling Discipline 14 3.2 Timestamp-based Packet Schedulers 15 3.2.1 Weighted Fair Queuing (WFQ) 15 3.2.2 Worst-case Fair Weighted Fair Queuing (WF2Q) 17 3.3 Round-Robin-based Packet Schedulers 19 3.3.1 Deficit Round Robin (DRR) 20 3.3.2 Smoothed Round Robin (SRR) 22 3.3.3 Pre-order Deficit Round Robin (PDRR) 24 3.3.4 Active Lists Queue Method (Aliquem DRR) 27 3.4 Ohter type of Packet Schedulers 27 3.4.1 Stratified Round Robin (STRR) 27 3.4.1.1 Flows Aggregation 28 3.4.1.2 Inter-class scheduling 29 3.4.1.3 Intra-class scheduling 30 3.4.2 Most Credit First (MCF) 31 3.4.2.1 Terminologies 32 3.4.2.2 Algorithm Description 32 3.4.2.3 An Example of MCF scheduling algorithm 32 3.4.2.4 Issue of MCF 34 Chapter 4 Proposed Scheme 35 4.1 Terminologies 35 4.2 Weighted Classes Fair Queuing (WCFQ) 37 4.2.1 Flow Classification 38 4.2.2 Inter-Class Scheduling 39 4.2.3 Intra-Class Scheduling 41 4.3 Example 43 4.4 Analysis 46 4.4.1 Complexity 46 4.4.2 Fairness 47 Chapter 5 Performance 48 5.1 Simulation Environment 48 5.2 Simulation Results 49 Chapter 6 Conclusion 52

    [1] Bennett, J., and Zhang, H. , “Hierarchical packet fair queueing algorithms,” ACM SIGCOMM’96, 1996.
    [2] Bennett, J., and Zhang, H. , “WF2Q : Worst case fair weighted fair queuing,” IEEE INFOCOM’96,1996.
    [3] Cheung, S., and Pencea, C. , “BSFQ: Bin sort fair queuing,” IEEE INFOCOM’02 , pp. 1640-1649, 2002.
    [4] Chuanxiong, G. , “SRR: an O(1) time complexity packet scheduler for flows in multi-service packet networks,” ACM SIGCOMM’01 , pp. 211-222, 2001.
    [5] Demers, A., Keshav, S., and Shenker, S. , “Analysis and simulation of a fair queuing algorithm,” ACM SIGCOMM’89 , vol. 19, no. 4, pp. 3-12, 1989.
    [6] Golestani, S. , “A self-clocked fair queueing scheme for broadband applications,” IEEE INFOCOM’94 , pp. 636-646, 1994.
    [7] Lenzini, L., Mingozzi, E., and Stea, G. , “Aliquem: a novel DRR implementation to achieve better latency and fairness at O(1) complexity,” IWQoS’02 , 2002.
    [8] Parekh, A., and Gallager, R. , “A generalized processor sharing approach to flow control in integrated services networks: The single node case,” IEEE/ACM Transactions on Networking , vol.1, no. 3, pp. 344-357, 1993.
    [9] Pan, D., and Yang, Y. , “Credit Based Fair Scheduling for Packet Switched Networks” , IEEE INFOCOM’05, vol. 2, pp. 843-854, 2005.
    [10] Ramabhadran, S., and Pasquale, J. , “Stratified round robin: a low complexity packet scheduler with bandwidth fairness and bounded delay,” ACM SIGCOMM’03, pp. 239-250, 2003.
    [11] Shreedhar, M., and Varghese, G. , “Efficient fair queuing using deficit round robin,” IEEE/ACM Transaction on Networking , vol. 4, no.3, pp. 375-385, 1995.
    [12] Stiliadis, D., and Varma, A. , “Efficient fair queueing algorithms for packet switched networks,” IEEE/ACM Transactions on Networking 6 , April 1998.
    [13] Stiliadis, D., and Varma, A. , “Rate proportional servers: A design methodology for fair queueing algorithms,” IEEE/ACM Transactions on Networking 6 , April 1998.
    [14] Tsao S.-C. , and Lin Y.-D., “Pre-Order Deficit Round Robin : a new scheduling algorithm for packet switched networks,” Computer Network, vol. 35, pp. 287-305, February 2001.
    [15] www.cisco.com. Cisco GSR.
    [16] Xu, J., and Lipton, R. , “On fundamental tradeoffs between delay bounds and computational complexity in packet scheduling algorithms,” ACM SIGCOMM ’02 2002.
    [17] Mckenney, P. , “Stochastic fair queueing,” Internetworking: Research and Experience, vol. 2, pp. 113--131, Jan. 1991.

    下載圖示 校內:2008-08-09公開
    校外:2009-08-09公開
    QR CODE