Parallel programming has been implemented in many areas to solve various computational problem with the aim, to improve the performance and scalability of the software application. There are a few… Click to show full abstract
Parallel programming has been implemented in many areas to solve various computational problem with the aim, to improve the performance and scalability of the software application. There are a few parallel programming models commonly used, namely, threads, and message passing (distributed) models. Furthermore, various APIs have been proposed to implement these models based on two popular languages, notably, C/C++ and Java. A few studies have been done to compare the performance of parallel programming models, specifically, pure versus hybrid model. However, most of existing comparisons targeted on MPI/OpenMP based on C/C++ language. In this paper, our aim is to explore the performance comparison between threads, message passing and hybrid model in Java, specifically using Java multithreading and MPJ Express. For this reason, we have chosen a problem called word count occurrence which is significant in Natural Language Processing and use it to design and implement the parallel programs. We then present their performance and discuss the results.
               
Click one of the above tabs to view related content.