一個有效率的封包過濾衝突偵測之平行演算法
顯示簡易詮釋資料 統計資料| 欄位 | 內容 | 語言 |
|---|---|---|
dc.contributor.advisor |
陳耀宗 | |
dc.contributor.advisor |
Chen, Yaw-Chung | |
dc.contributor.author |
邱依帆 | |
dc.contributor.author |
Chiu, Yi-Fan | |
dc.contributor.college |
資訊學院 | |
dc.contributor.committee |
王丕中 | |
dc.contributor.committee |
李春良 | |
dc.contributor.committee |
Wang, Pi-Chung | |
dc.contributor.committee |
Lee, Chun-Liang | |
dc.contributor.department |
資訊科學與工程研究所 | |
dc.contributor.studentid |
0356073 | |
dc.date.NCLavailable |
2021/09/08 | |
dc.date.USTavailable |
2021/09/08 | |
dc.date.issued |
2016 | |
dc.date.issuedROC |
105 | |
dc.date.schoolyear |
105 | |
dc.description.abstract |
隨著網際網路迅速發展,網路服務愈趨多元,為滿足進階網路服務的需求,網路中的路由器必須具備封包分類的功能。而在對封包進行分類的過程中,若封包同時符合多個分類規則便會產生衝突,衝突會導致錯誤的封包分類行為,使得網路服務出現問題,例如:網路漏洞、使用者經驗、網路可靠性。現有的衝突偵測演算法皆是執行在中央處理器,而圖形處理器擁有優異的平行計算能力,適合用以處理偵測過程中的比對行為。 本論文中,我們提出在圖形處理器上執行適用多維度分類規則的衝突偵測演算法,透過分析偵測比對的過程,減少衝突偵測時分類規則需要比對的次數,並設計一平均分配工作量的方法使圖形處理器上的執行緒達到平衡的工作量,藉以提升效能。我們所提出的衝突偵測演算法在圖形處理器上執行3,0000個分類規則比對與中央處理器相比,可達2.8至11.6倍的加速,而在經過最佳化後設計的演算法則可增加4.2至21.8倍的效能。 | |
dc.description.abstract |
Packet classification plays an important role in network security. Routers, firewalls and intrusion detection systems classify incoming packets into different flows according to predefined rules, which are also called packet filters, to implement security functions. If two or more filters overlap, a conflict may occur and lead to ambiguity in packet classification. Packet classification has attracted a lot of attention due to its importance. However, few studies have been done on conflict detection. In the literature, most conflict detection algorithms were designed based on central processing unit (CPU). Graphical processing unit (GPU), which has parallel processing power superior to that of CPU, is a considerable candidate to provide high detection speed. In this paper, we propose a parallel conflict detection algorithm using GPU. By analyzing the critical steps in conflict detection and the workload of each step, our proposed algorithm can reduce the number of comparisons for each filter and balance workload between GPU threads, resulting in significant performance improvement. Experimental results show that for a filter database with 30,000 filters, the detection speed of our proposed algorithm is 4 to 9.8 times higher than that of the algorithm using CPU. | |
dc.description.abstractopendate |
||
dc.description.degree |
碩士 | |
dc.description.tableofcontents |
摘要 iAbstract ii誌謝 iiiContents ivFigure List viTable List viiChapter 1 Introduction 11.1 Background 11.2 Objective 41.3 Overview 4Chapter 2 Related Work 52.1 Existing Conflict Detection Algorithm 52.2 CUDA Programing Model 62.1.1 GPU Architecture 72.1.2 Programing Model 7Chapter 3 Proposed Algorithm 93.1 Conflict Detection for 5-D Filters 93.1.1 Definition of Conflict Detection for 5-D Filters 93.1.2 Algorithm of Conflict Detection for 5-D Filters 103.2 General Parallel Conflict Detection Algorithm 123.3 Advanced Parallel Conflict Detection Algorithm 14Chapter 4 Performance Evaluations 194.1 Comparing Speed Performance 204.2 Analysis of Parallelism Efficiency 214.3 Performance on Large Database 254.3 The Limitation of Parallel Computing 264.3 Performance against Cost 29Chapter 5 Conclusion and Future Work 31Reference 33 | |
dc.identifier.citation |
[1] A. Hari, S.Suri, and G. Parulkar, "Detecting and resolving packet lter conflicts,"in Proceedings of IEEE INFOCOM, pp. 1203-1212, 2000.[2] Yanbiao Li, Dafang Zhang, Alex X. Liu and Jintao Zheng, "GAMT: a fast and scalable IP lookup engine for GPU-based software routers," in ACM ANCS, pp.1-12, 2013[3] Shijie Zhou, Shreyas G. Singapura and Viktor K. Prasanna, "High-Performance Packet Classi cation on GPU," in IEEE HPEC, pp. 1-6, 2014[4] C. L. Hung, Y. L. Lin, K. C. Li, H. H. Wang, and S. W, Guo, "Efficient GPGPU-based parallel packet classi cation," in Proceedings of IEEE TrustCom, pp. 1367-1374, 2011.[5] A. Nottingham and B. Irwin, "Parallel packet classifi cation using GPU co-processors," in SAICSIT Conf.ACM, pp. 231-241, 2010.[6] NVIDIA Corporation. "CUDA C Programming Guide, Version7.5 "[7] F. Baboescu and G. Varghese, "Fast and scalable conflict detection for packet classfi er," Computer Networks, vol. 42, no. 6, pp. 717-735, 2003.[8] V. Srinivasan, G. Varghese, S. Suri, and M.Waldvogel, "Fast and scalable layer four switching," ACM SIGCOMM., vol. 28, no. 4, pp. 191-202, Oct. 1998.[9] F. Baboescu and G. Varghese, "Scalable packet classifi cation," in Proceedings of ACM SIGCOMM, pp. 199-210, 2001.[10] C. Y. Lai and P. C. Wang, "Fast and Complete Conflict Detection for Packet Classifiers," IEEE Systems Journal, vol. 99, pp. 1-12, 2014.[11] H. Lu and S. Sahni, "Conflict detection and resolution in two-dimensional pre fix router tables," IEEE/ACM Transactions on Networking, vol. 13, no. 6, pp. 1353-1363, 2005.[12] NVIDIA GeForce GTX 970. Available online:http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-970/specifi cations.[13] C.-L. Lee, G.-Y. Lin, and Y.-C. Chen, "An efficient conflict detection algorithm for packet filters," IEICE Transactions on Information and Systems, vol. 95-D, no. 2, pp. 472-479, 2012.[14] D.E. Taylor and J.S. Turner, "Classbench: a packet classification benchmark," IEEE/ACM Transactions on Networking, vol 15, no. 3, pp. 499-511, 2007.[15] NVIDIA Corporation. "CUDA Pro ler User Guide" | |
dc.identifier.uri |
https://hdl.handle.net/20.500.14371/64458 | |
dc.language.iso |
英文 | |
dc.relation.alma |
990055617830206772 | |
dc.relation.page |
34 | |
dc.subject.keyword |
統一計算架構 | |
dc.subject.keyword |
圖形處理器 | |
dc.subject.keyword |
封包過濾 | |
dc.subject.keyword |
衝突偵測 | |
dc.subject.keyword |
CUDA | |
dc.subject.keyword |
CPU | |
dc.subject.keyword |
Packet filtering | |
dc.subject.keyword |
Conflict detection | |
dc.title |
一個有效率的封包過濾衝突偵測之平行演算法 | zh-TW |
dc.title |
An Efficient Parallel Algorithm for Conflict Detection in Packet Filtering | en |
dc.type |
Thesis | zh-TW |
檔案
- 01.pdf (1,016.2 KB, Adobe PDF)
所屬典藏: 資訊科學與工程研究所