Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/39087
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor雷欽隆(Chin-Laung Lei)
dc.contributor.authorYun-Yin Huangen
dc.contributor.author黃韻穎zh_TW
dc.date.accessioned2021-06-13T17:01:21Z-
dc.date.available2006-02-16
dc.date.copyright2005-02-16
dc.date.issued2005
dc.date.submitted2005-01-31
dc.identifier.citation[1] “Linux netfilter/iptables project,” http://www.netfilter.org/
[2] Rusty Russell and Harald Welte, “Linux netfilter Hacking HOWTO,” http://www.netfilter.org/documentation/HOWTO//netfilter-hacking-HOWTO.html
[3] “The Click Modular Router Project (MIT),” http://www.pdos.lcs.mit.edu/click/
[4] Eddie Kohler, Robert Morris, Benjie Chen, John Jannotti, and M. Frans Kaashoek, “The Click modular router,” ACM Transactions on Computer Systems (TOCS), Volume 18 Issue 3, August 2000, pages 263-297.
[5] Eddie Kohler, Robert Morris, and Massimiliano Poletto, “Modular components for network address translation,” Proceedings of Open Architectures and Network Programming (OPENARCH), New York, June 2002, pages 39-50.
[6] “Extensible Router Project (Princeton University),” http://www.cs.princeton.edu/nsg/router/
[7] Fred Baker, “Requirement for IP version 4 Routers,” RFC 1812, June 1995.
[8] Yitzchak Gottlieb and Larry Peterson, “A comparative study of Extensible Routers,” Proceedings of Open Architectures and Network Programming (OPENARCH), New York, June 2002, pages 51-62.
[9] Scott Karlin and Larry Peterson, “VERA: An Extensible Router Architecture,” Proceedings of Open Architectures and Network Programming (OPENARCH), April 2001, pages 3-14.
[10] “The Virtual Server Project - Linux Server Cluster for Load Balancing,” http://www.linuxvirtualserver.org/
[11] Wensong Zhang, “Linux Virtual Server for Scalable Network Services,” Ottawa Linux Symposium, 2000.
[12] Wensong Zhang, Wenzhuo Zhang, “Linux virtual server clusters: build highly-scalable and highly-available network service at low cost,” Linux Magazine, November 2003.
[13] Pyda Srisuresh, and Kjeld Borch Egevang, “Traditional IP Network Address Translator (Traditional NAT),” RFC 3022, January 2001.
[14] William Allen Simpson, “IP in IP Tunneling,” RFC 1853, October 1995.
[15] David C. Plummer, “An Ethernet Address Resolution Protocol,” RFC826, November 1982.
[16] Douglas Comer, “Internetworking with TCP/IP, Volume 1: Principles Protocols, and Architecture,” ISBN 0-13-018380-6, 4th edition, Prentice Hall, 2000.
[17] W. Richard Stevens, “TCP/IP Illustrated, Volume 1: The Protocols,” ISBN 0-201-63346-9, Addison-Wesley, 2000.
[18] Rich Seifert, “The Switch Book: The Complete Guide to LAN Switching Technology,” ISBN 0-471-34586-5, John Wiley & Sons, June 2000.
[19] Peter Jay Salzman, and Ori Pomerantz, “The Linux Kernel Module Programming Guide,” http://www.faqs.org/docs/kernel/
[20] “The Linux Kernel API,” http://kernelnewbies.org/documents/kdoc/kernel-api/linuxkernelapi.html
[21] Paul Rusty Russel, “Unreliable Guide to Hacking the Linux Kernel,” http://people.netfilter.org/~rusty/unreliable-guides/kernel-hacking/lk-hacking-guide.html.
[22] Michael Beck, Harald Bohme, Mirko Dziadzka, Ulrich Kunitz, Robert Magnus, and Dirk Verworner, “Linux Kernel Internals,” ISBN 0-201-33143-8, Addison-Wesley, 1999.
[23] “Linux Kernel Procfs Guide,” http://www.kernelnewbies.org/documents/kdoc/procfs-guide/lkprocfsguide.html
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/39087-
dc.description.abstract由於Internet不斷的擴張與發展,網路路由器不再只需做單純的封包傳遞,而逐漸需要支援更上層的網路服務。因此路由器功能的延展也漸漸成為一個重要的課題。一般來說,路由器的延展可以分為兩個方向:scale-up與scale-out。前者主要是利用改變路由器的軟硬體架構來提升路由器的效能;而後者則是利用分散式的路由架構來達到提升的目的。
在這篇論文中,將提供一個可以調節與擴充的叢集式封包處理架構。我們利用透明式橋接器的第二層MAC位址自動學習機制來達到分流的目標。每一個路由器在收到原來的ARP request後,由一個預先定義的雜湊函式決定該由何者進一步的回應。為了進一步的流量平衡,路由器在回應的同時利用雜湊值計算出對應的虛擬MAC。
然而,很難找到一個雜湊函數可以適當地分配任何的網路狀況。因此,為了解決此類不公平的情形,我們利用路由器間的訊息傳遞來達到進一步的流量平衡。路由器藉由分析本身及周遭兩個路由器的統計資訊來重新分配流量,並利用交換機的自動學習機制來達到流量平衡。
在論文的最後我們利用Smartbits來產生特定的網路流量,並評估我們的演算法是否可以平均分配流量到此叢集式路由架構中。由實驗的結果可以了解,我們的架構對於任意的網路流量均可以達到相當好的流量平衡。在之後的實驗我們也分析了架構中可調節的幾個參數對於系統平衡的影響結果。
zh_TW
dc.description.abstractSeveral novel network services are proposed in these years. Routers are expected to perform more works than before to face the trend. The speeding network transmission aggregates the performance requirement problem of the router. A traditional router no longer affords to these expectations, so router enhancement becomes an important issue today. Methods used to extend router performance can be separated into two dimensions: scale-up which improves the hardware architecture of the router; and scale-out which uses cluster-based architecture.
In this thesis, we provide an adaptive and scalable scheme for packet processing based on clustered-router architecture. We use MAC address automatic learning feature on the bridge to dispatch network traffics to the routers. Each router receives the original ARP requests, and processes the broadcast frame with same hashing function. Only one and exactly one router would response the request and then sends the corresponding MAC address back to the sender.
However, it is difficult to find a hash function that can fairly separate all kinds of traffic patterns. To solve the unfairness, we use interconnection mechanism between each router to adjust the traffic distribution. Router can shape the traffic distribution based on the statistics from its neighbors and itself. It then updates its responsible area by sending specific frames for switch learning to achieve load balancing.
We use Smartbits to generate specific traffic pattern, and measure how fair our dispatching algorithm is. The results show that our packet-processing scheme provides good load balance. We then do some experiment to measure the control factors of our scheme. The experiment reveals that the interval for how long to justify traffic load is one of the major factors for the performance of our dispatching scheme.
en
dc.description.provenanceMade available in DSpace on 2021-06-13T17:01:21Z (GMT). No. of bitstreams: 1
ntu-94-R91921117-1.pdf: 1075069 bytes, checksum: 492e469d67d2b5d93121792c61391f16 (MD5)
Previous issue date: 2005
en
dc.description.tableofcontentsAbstract II
Tables of Content III
List of Tables VII
List of Figures VIII
1. Introduction 1
1.1. Motivation and Objectives 1
1.2. System Design Overview 2
1.3. Thesis Architecture 3
2. Related Works 4
2.1. Linux Netfilter/Iptables Project 4
2.1.1. Introduction 4
2.1.2. Netfilter Architecture 6
2.1.3. Packet filtering in Netfilter 7
2.1.4. NAT in Netfitler 8
2.2. MIT Click Modular Router Project 9
2.2.1. Click Router Architecture 9
2.2.1.1. Push and Pull Connections 10
2.2.1.2. Flow-Based Router Context 11
2.2.2. Click IP Router 12
2.3. Princeton Extensible Router Project 16
2.3.1. Extensible Router Architecture 16
2.3.2. Router Abstraction 17
2.3.3. Distributed Router Operating System 19
2.3.3.1. Internal Packet Routing 19
2.4. Linux Virtual Server Project (LVS) 20
2.4.1. Architecture of LVS 21
2.4.2. LVS/NAT 22
2.4.3. LVS/TUN 24
2.4.4. LVS/DR 26
2.4.5. Constraints of LVS 28
3. Load Balancing in Clustered-Router Architecture 30
3.1. Overview 30
3.2. Local Processing 31
3.2.1. Packet Processing 31
3.2.2. Statistics 32
3.3. Interconnection Scheme 32
3.3.1. Load Balancing Scheme 33
3.3.2. Traffic Pattern Analysis 35
4. Implementation 38
4.1. Dispatch Algorithm Using ARP Protocol 38
4.1.1. ARP Protocol 38
4.1.2. Address Table Generation in Transparent Bridge 40
4.1.3. Traffic Dispatching Scheme 40
4.2. System Implementation 42
4.2.1. Statistic Module/Daemon 43
4.2.2. Decision Making Daemon 43
4.2.3. Execution Daemon 43
4.2.4. Regular Updating Daemon 43
4.3. Implementation Details of Kernel Modules 44
4.3.1. Building Standard Linux Kernel Module 44
4.3.2. ARP Request/Reply Parsing 45
4.3.3. Netfilter/ Iptables Modules 46
4.3.3.1. Iptables Match Modules 47
4.3.3.2. Arptables Target Modules 50
4.3.4. Statistic Modules 52
4.4. Implementation Details of User-space Daemons 53
4.4.1. Statistic Daemon 53
4.4.2. Decision Making Daemon 53
4.4.3. Execution Daemon 54
4.4.4. Regular Daemon 55
4.5. Implementation Details of Procfs (/proc File System) 56
5. Performance Analysis 58
5.1. Testing Environment 58
5.1.1. Blade Server 58
5.1.2. Performance Metrics 59
5.1.3. Control Factors for Load Balancing 60
5.2. Performance Analysis 61
5.2.1. Performance Analysis with Random Traffic Pattern 61
5.2.2. Performance Analysis with Static Traffic Pattern 63
5.2.3. Performance Analysis of Traffic Differentiation Threshold 65
5.2.4. Performance Analysis of Decision Making Interval 66
5.2.5. Performance Analysis of Statistic Collection Interval 69
6. Discussion and Conclusion 72
6.1. Discussion and Enhancement 72
6.2. Future Works 74
Reference 75
dc.language.isoen
dc.subject叢集式路由架構zh_TW
dc.subject流量分配zh_TW
dc.subject可擴充zh_TW
dc.subject封包處理架構zh_TW
dc.subject可調節zh_TW
dc.subject流量平衡zh_TW
dc.subjectARPzh_TW
dc.subjectadaptiveen
dc.subjectscalableen
dc.subjectclustered-router architectureen
dc.subjectARPen
dc.subjectload balancingen
dc.subjectpacket processingen
dc.subjecttraffic dispatchingen
dc.title可擴充及調適封包處理架構之設計與評估zh_TW
dc.titleDesign and Evaluation of an Adaptive and Scalable Packet Processing Architectureen
dc.typeThesis
dc.date.schoolyear93-1
dc.description.degree碩士
dc.contributor.oralexamcommittee黃秋煌(Chua-Huang Huang),顏嗣鈞(Hsu-Chun Yen)
dc.subject.keyword可擴充,叢集式路由架構,封包處理架構,流量平衡,流量分配,ARP,可調節,zh_TW
dc.subject.keywordpacket processing,adaptive,traffic dispatching,load balancing,ARP,clustered-router architecture,scalable,en
dc.relation.page76
dc.rights.note有償授權
dc.date.accepted2005-02-01
dc.contributor.author-college電機資訊學院zh_TW
dc.contributor.author-dept電機工程學研究所zh_TW
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-94-1.pdf
  未授權公開取用
1.05 MBAdobe PDF
顯示文件簡單紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved