請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/57433| 標題: | RETE網路之平行化處理 RETE Networking in Parallel |
| 作者: | Meng-Fu Shih 施孟甫 |
| 指導教授: | 李允中(Jonathan Lee) |
| 關鍵字: | production system,分散式,RETE,管線化, production system,distributed,RETE,pipeline, |
| 出版年 : | 2014 |
| 學位: | 碩士 |
| 摘要: | 本論文提出一個新的平行化方法,加速目前最有名的Production System 演算法:RETE。從 CPU 中常用的方法中,發現我們可以將Pipeline 的技術應用在 RETE 匹配演算法、Conflict Resolution、平行執行中。基本想法雖然簡單,但實作上會碰到一些問題,例如:資料互相干擾、語境管理等等問題。
在我們的方法中,首先我們把從 Drools 系統取得的 RETE 網路轉換成適合 Pipeline 演算法運行的版本。再來使用我們新設計的 runtime 以 Pipeline 的形式執行 Fact Propagation。我們使用Spark 實作此演算法。因分散式平行系統Spark能直接在記憶體中執行。在我們的實驗結果中,我們發現在 pipeline 技術的幫助下,我們可以減少運行跌代次數。 本論文敘述我們提出的方法、設計、我們如何解決碰到的問題以及實作上的細節。 This thesis purposes a novel parallel method to speed up the most famous production system algorithm: RETE. Inspired by the pipeline method commonly used in CPU, we apply the pipeline concept to the RETE matching algorithm and also the steps of conflict resolution and parallel firing. This idea is simple, but there are several problems that exist to apply the pipeline technology such as the data interference problem and the context management of each phase of the pipeline. In our approach, we convert the RETE created by Drools to the version needed by our pipeline algorithm. We also create a new runtime that perform the propagation with pipeline manner. We consider the distributed parallel programming system Spark as our platform of implementation, according to the properties: in-memory, distributed. In our experiment, we found that this method can reduce the iteration of execution. The thesis describes the methodology, the design, the problem we conquered and the implementation of our approach. |
| URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/57433 |
| 全文授權: | 有償授權 |
| 顯示於系所單位: | 資訊工程學系 |
文件中的檔案:
| 檔案 | 大小 | 格式 | |
|---|---|---|---|
| ntu-103-1.pdf 未授權公開取用 | 1.98 MB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。
