Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java fork join algorithm analysis [closed]

I am doing a study (as part of a course requirement) on the new Fork-Join framework in Java 7 and analyze the performance improvement compared to the conventional threading mechanism. What are the kinds of divide and conquer algorithms that are guaranteed to run faster with the new fork join framework. Can you suggest any non-trivial algorithm I can work on to analyze the performance difference.

like image 428
Medlin Avatar asked Nov 24 '10 23:11

Medlin


2 Answers

You can try N body problem: http://en.wikipedia.org/wiki/N-body_problem
or
You can try parallel sort

like image 192
Ankur Agarwal Avatar answered Oct 16 '22 15:10

Ankur Agarwal


Maybe linear algebra problems would be a good fit: LU or QR decomposition, forward-back substitution, an eigenvalue solution method like Jacobi iteration, etc.

Finite element solution of problems in solid mechanics, heat transfer, and fluid mechanics are significant sources of these kinds of problems.

like image 2
duffymo Avatar answered Oct 16 '22 13:10

duffymo