跳到主要內容

簡易檢索 / 詳目顯示

研究生: 韋地亞
Widhi Yahya
論文名稱: 軟體定義網路負載平衡演算法效能比較
Performance Comparisons of Load Balancing Algorithms for Software Defined Networking
指導教授: 江振瑞
Jehn-Ruey Jiang
-
Achmad Basuki
口試委員:
學位類別: 碩士
Master
系所名稱: 資訊電機學院 - 資訊工程學系
Department of Computer Science & Information Engineering
論文出版年: 2014
畢業學年度: 102
語文別: 英文
論文頁數: 39
中文關鍵詞: 軟體定義網路(SDN)負載平衡循環演算法隨機演算法Dijkstra最短路徑演算法
外文關鍵詞: Software Defined Networking (SDN), Load Balancing, Round Robin Algorithm, Randomized Algorithm, Dijkstra’s Shortest Path Algorithm
相關次數: 點閱:9下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 軟體定義網路(Software Defined Networking, SDN) 的概念是將網路設備中的控制層(control plane)與資料層(data plane)分開。在SDN中,有一個集中管理的控制器(controller)可以設置交換器上的封包轉送表(forwarding table)(也稱為流表(flow table)),負責各種通訊間的封包轉發。SDN的使用者可以在控制器上撰寫應用程式來監控和維護整個網路。負載平衡(load balancing)就是其中一個應用的例子,可以用SDN的概念來達到廣域網路中,分散各處伺服器(server)間負載量的平衡。本論文提出一個負載平衡演算法,利用延伸Dijkstra最短路徑演算法(extended Dijkstra’s shortest path algorithm), 考慮節點權重與邊權重的好處,來找到離客戶端(client)最近的伺服器。我們使用Pyretic 語言來實作演算法,並使用Mininet 模擬工具在Abilene 拓樸下來評估演算法的效能。我們也比較了循環演算法(round-robin algorithm)和隨機演算法(randomized algoithm)的模擬結果。實驗結果顯示本論文提出的演算法比起其他演算法,在控制器上多花費一點點的計算負擔和記憶體使用量,即可達到更短的端到端的延遲(end-to-end latency),更大的網路吞吐量(throughput)以及更短的反應時間(response time)。

    關鍵字: 軟體定義網路(SDN), 負載平衡, 循環演算法, 隨機演算法, Dijkstra最短路徑演算法


    Software Defined Networking (SDN) is a concept that is used to decouple the control plane and data plane of network devices. In SDN, a logically centralized controller configures the forwarding tables (also called flow tables) of switches that are responsible for forwarding the packets of communication flows. SDN users can composite application programs run on top of the controller to monitor and manage the whole network. Load balancing is an example of applications that can be achieved by using the SDN concept for balancing the loads of servers that are located and spread in wide area networks. In this thesis, we propose a load balancing algorithm that takes advantage of the extended Dijkstra’s shortest path algorithm considering both the edge weights and node weights to find the nearest server for a requesting client. We implement the proposed algorithm in Pyretic and simulate it under the Abilene topology with Mininet tools. We also compare the simulation results with those of the naive load balancing schemes, namely the round-robin algorithm and the randomized algorithm. As shown by the comparisons, the proposed algorithm outperforms the others in term of the network end-to-end latency, throughput and response time at the expense of a little heavier computation load and more memory usage of the SDN controller.

    Keywords: Software Defined Networking (SDN), Load Balancing, Round Robin Algorithm, Randomized Algorithm, Dijkstra’s Shortest Path Algorithm

    TABLE OF CONTENTS 中文摘要 i ABSTRACT ii ACKNOWLEDGEMENT iii TABLE OF CONTENTS iv LIST OF FIGURES vi LIST OF TABLES viii 1. INTRODUCTION 1 2. PRELIMINARIES 4 2.1. Software Defined Networking 4 2.2. Pyretic 8 2.3. Extended Dijkstra’s Algorithm 11 2.5. Abilene Topology 13 2.4. Mininet 14 3. LOAD BALANCING ALGORITHMS 16 3.1. Overview 16 3.2. Round Robin Algorithm 17 3.3. Randomized Algorithm 18 4. PROPOSED ALGORITHM 20 5. SIMULATION 24 5.1. Simulation settings 24 5.2. Simulation results 25 5.2.1. Mapping 26 5.2.2. End-to-end Latency 26 5.2.3. Response time 27 5.2.4. Throughput 28 5.2.5. Variation load on server 31 5.2.6. Resource usage 32 6. CONCLUSION 34 7. FUTURE WORK 36 REFERENCES 37

    [AKL13] S. Agarwal, M. Kodialam, and T. V. Lakshman, “Traffic Engineering in Software Defined Networks”, Proceedings IEEE INFOCOM, 2013.
    [CFSV+89] Cieslak, A. Fawaz, S. Sack, P. Varaiya, J. Walrand,and A. Li, “The Programmable Network Prototyping System,” INFOCOM '89. Proceedings of the Eighth Annual Joint Conference of the IEEE Computer and Communications Societies. Technology: Emerging or Converging, 1989.
    [DTS13] S. Das, D. Talayco, and R. Sherwood, “Software-Defined Networking and OpenFlow,” 13-Handbook of Fiber Optic Data Communication a Practical Guide to Optical Networking, 4th edition, 2013.
    [FHFM+13] N. Foster, R. Harrison, M. J. Freedman, C. Monsanto, J. Rexford, A. Story, and D. WalkerFoster, “Frenetic: A Network Programming Language”, ACM, 2013.
    [FYFA12] S. Fang, Y. Yu, C. H. Foh, and K. M. Aung, “A Loss-free Multipathing Solution for Data Center Network: using Software-defined Networking Approach”, APMRC, 2012.
    [HSFM+09] N. Handigol, S. Seetharaman, M. Flajslik, N. McKeown, and R. Johari, “Plug-n-Serve: Load-balancing web traffic using OpenFlow,” Demo at ACM SIGCOMM, Aug. 2009.
    [JHLC14] J.R. Jiang, H.W. Huang, J.H. Liao, and S.Y. Chen, "Extending Dijkstra’s Shortest Path Algorithm for Software Defined Networking," Technical Report, National Central University, 2014.
    [KK12] M. Koerner and O. Kao, “Multiple Service Load-Balancing with OpenFlow”, IEEE 13th International Conference on High Performance Switching and Routing, 2012.
    [LSGT13] H. Long, Y. Shen, M. Guo, and F. Tang, “LABERIO: Dynamic load-balanced routing in OpenFlow-enabled networks,” IEEE 27th International Conference on Advanced Information Networking and Applications, 2013.
    [MABP+08] N. McKeown, T. Anderson, H. Balakrishnan, G. Parulkar, L. Peterson, J. Rexford, S. Shenker, and J. Turner, “OpenFlow: Enabling Innovation in Campus Networks,” ACM SIGCOMM Computer Communication, 2008.
    [NMNO+14] B. A. Nunes, M. Mendonça, X. N. Nguyen, K. Obraczk, and T. Turletti, "A survey of software-defined networking: Past, present, and future of programmable networks," To appear in IEEE Communications Surveys & Tutorials, 2014.
    [R89] Ross, F.L. Ross, “An Architecture for Programmable Network Elements.” IEEE Global Telecommunications Conference and Exhibition 'Communications Technology for the 1990s and Beyond' (GLOBECOM), 1989.
    [RMFR+13] J. Reich, C. Monsanto, N. Foster, J. Rexford, and D. WalkerReich, “Modular SDN Programming with Pyretic”, www.usenix.org. 2013
    [S04] A. Stone, “Internet2’s Breakthroughs for Academic Research”, IEEE Distributed Systems Online 1541-4922, 2004.
    [AN14] Abilene Network. http://en.wikipedia.org/wiki/Abilene_Network-#cite_note-line-1, last accessed on March 4, 2014.
    [DOW14] Doc Oracle Website, http://docs.oracle.com/cd/E11035_01/wls100/cluster/load_balancing.html, last accessed on June 2014.
    [DWC14] Doc Wiki Cisco, http://docwiki.cisco.com/wiki/Cisco_ACE_4700_Series_Appliance_Quick_Start_Guide,_Release_A3(1.0)_--_Configuring_Server_Load_Balancing, last accessed on June 2014.
    [HPC96] Information Network Division Hewlet-Packard Company, “Netperf: A Network Performance Benchmark” , 1996.
    [Internet2] Internet2. http://cs.stanford.edu/people/eroberts/courses/soco/projects-/2003-04/internet-2/architecture.html, last accessed on March 4, 2014.
    [IW14] Iperf Website, http://iperf.fr/, last accessed on June 2014.
    [MW14] Mininet Website, http://mininet.org/, last accessed on May 2014.
    [ONF12] Open Network Foundation, “Software-Defined Networking: The New Norm for Networks,” White paper, 2012.
    [ONF13] Open Network Foundation, “OpenFlow Switch Specification”, 2013.
    [PRW14] Pyretic Website, http://frenetic-lang.org/pyretic/, last accessed on June 2014.
    [PW14] Python Website, www. docs.python.org, last accessed on June 2014.
    [RHI07] Red Hat, Inc., “Linux Virtual Server Administration: RHEL5: Linux Virtual Server (LVS)”, 2007.
    [Stryper] Historical Abilene Connection Traffic Statistics. http://stryper.uits.iu.edu/abilene/, last accessed on March 4, 2014
    [WBR13] R. Wang, D. Butnariu, and J. Rexford, “OpenFlow-Based Server Load Balancing Gone Wild”, USENIX, 2013.
    [YSW02] Yeung, K.H. Yeung, Suen, K.W. Suen, Wong, K.Y. Wong, “Least load dispatching algorithm server nodes”. IEEE Proceedings Communication. 2002.
    [YY03] Y. Li-Hui, Y. sheng-sheng. “A Variable Weighted Least-Connection Algorithm for Multimedia Transmission”. Journal of Shanghai University. 2003.
    [FW14] Fping Website, http://fping.sourceforge.net/, last accessed on June 2014.

    QR CODE
    :::