網路流量變異偵測被用來探測網路異常行為的發生,然而隨著網路系統越趨複雜,單一觀測點的系統已無法提供完整的網路資訊。藉由增加觀測點的數量能使偵測系統取得較完整的網路概觀,但單位時間所需處理的資料量也隨之增加。為了能在相同的時間內處理倍數增加的資料量,本論文採用多核心繪圖處理晶片作為網路流量變異偵測系統之運算加速器。 Storm-1川流處理器提供單一指令同步處理多組資料(Single Instruction Multiple Data, SIMD)的處理架構與超長指令字組(Very Large Instruction Word, VLIW)的執行方式。這樣的處理器架構相當適合用來處理經由網路觀測器所統整出來的資料陣列,利用其平行運算的特性與多階層式的記憶體架構,能提供更充裕的運算資源,藉以分析大規模網路環境下的資料。 本論文提出川流式流量變異偵測系統,藉由改變Krishnamarthy等人所實現的K-ary Sketch流量變異偵測系統的執行順序,以降低非必要性資料傳輸所耗費的記憶體存取時間,以及取出變異數過程中對同一筆資料多次運算的問題。川流式流量變異偵測系統能以低功耗的Storm-1川流處理器快速完成複雜的雜湊函數值計算,並在數毫秒內完成對異常封包流的判斷。相較於原本K-arySketch流量變異偵測系統,本系統能有相當顯著的效能提升。
In this dissertation, we implement a sketch-based network traffic change detection system for IP networks in a low-power SIMD stream processor. The design is based on the K-ary sketch proposed by Krishnamarthy. Leverage on special three-tier memory architecture, the sketch data structure is organized internally in a form of data stream to hide the memory access latency with kernel processing time. We explore the design on stream architecture and conduct cycle-based simulation with real-world Internet traffic traces. The system is capable of processing sketch data sent from many observation points in a large scale of network. It can also identify the flow ID exceeding the predefined threshold very efficiently in real time.