透過您的圖書館登入
IP:18.190.152.38
  • 學位論文

基於繪圖晶片處理器之k-ary變異偵測優化與探討

An OpenCL Implementation of Sketch-based Network Change Detection Application

指導教授 : 賴裕昆
若您是本文的作者,可授權文章由華藝線上圖書館中協助推廣。

摘要


近年來,繪圖晶片處理器(GPU, Graphics Processing Unit)被應用在網路的封包處理上,利用封包間資料互相獨立的特性,有效的使用GPU大量且平行的運算能力進行更快速的運算,本論文以速寫演算法(K-ary sketch)為主要之演算法,並且在AMD Radeon HD 5870上進行優化。 本論文將分成以下三個部分:第一個部分將會分析Theophilus Wellem的碩士論文所撰寫的OpenCL程式架構,第二部分將會蒐集並探討目前CPU以及GPU在OpenCL中可以實現之優化方式,第三部分將把適用於K-ary sketch的優化方式實現並探討其結果,並且著重於減少傳輸資料時間、準備運算核心(kernel)的時間以及優化運算的時間,也探討並實現如何有效的同時利用CPU以及GPU同時進行運算以重疊並隱藏所必須花費的傳輸及準備時間,在結果中顯示,利用本論文所提到之優化方式,可以將速寫演算法之查詢(Query)的速度提高21.836倍,處理封包的吞吐量(throughput)將可以達到11.85Gbps,以達到更快速的查詢異常流量的目的。

關鍵字

GPU CPU 速寫演算法 OpenCL

並列摘要


This dissertation explores several schemes to optimize a set of OpenCL kernels designed for network traffic change detection on AMD Radeon HD 5870 GPU. Utilizing the techniques such as zero copy, kernel combining, vector instructions, and hiding memory access with kernel execution, the original performance of query process is increased substantially. The throughput can achieve up to 11.85Gbps for minimum-sized Ethernet frame.

並列關鍵字

OpenCL CPU GPU k-ary sketch

參考文獻


[6] NVIDIA, "Optimization OpenCL Best Practices Guide".
[12] "OpenCL - The open standard for parallel programming of heterogeneous systems". http://www.khronos.org/opencl/
[16] W. Ma and G. Agrawal, "A translation system for enabling data mining applications on GPUs", in Proceedings of the 23rd international conference on Supercomputing, 2009.
[18] Sangjin Han, Keon Jang, KyoungSoo Park, KyoungSoo Park., "PacketShader: a GPU-Accelerated Software Router", in Proceedings of the 2010 ACM SIGMOD international conference on Management of data, 2010, pp. 195–206.
[23] Ryoji Tsuchiyama, Takashi Nakamura, Takuro Iizuka, Akihiro Asahara, Satoshi Miki, "The OpenCL Programming Book".

延伸閱讀