隨著電腦硬體不斷地演進,工作站及個人電腦的計算能力愈來愈強大。大規模的問題可以透過串連這些機器,聚集所需的資源來解決。而這些機器相互間的溝通,常常是利用訊息傳遞界面所實現的。不同於傳統程序為主的實作,我們在這篇論文中,提出了一個以執行緒為本的訊息傳遞界面系統,來提供所需的溝通弁遄C 爪哇語言以跨平台著稱,且擁有釵h標準的類別函式庫。此外,在大部份的情況下,被串連起來的機器平台是互不相同的;因此,我們利用爪哇語言來實作整個系統,以保持其跨平台的特性。 目前已經成它a實作出一個以執行緒為本的爪哇訊息傳遞界面系統雛形,它具有彈性且所需的資源較少。我們透過釵h的標準測試程式,來比較我們系統與其它實作。結果顯示,我們的系統在各種程式上都具有不錯的效能。
With the persistent evolution of computer hardware, workstations and personal computers are getting more and more powerful. Large-scale problems could be solved through connecting these machines to aggregate the required computation power or resources. The Message Passing Interface is pervasively used to realize the communications between connected hosts. Different from the traditional process-based implementations, we have proposed a thread-based system to provide the necessary communication facilities in this thesis. The Java programming language is famous for its portability and has a lot of standard class libraries. Moreover, the connected machines are heterogeneous in most cases. Therefore, our system was implemented in pure Java to ensure its portability. We have implemented the prototype of a thread-based Java MPI system successfully. Our system is more scalable and requires fewer resources. Many sorts of benchmarks were used to compare the performance of our implementation and other implementations. The result showed that our implementation performed well for all benchmarks.