29.01.2015 Views

Performance comparison for OpenMP, PThreads and MPI Hot Plate

Performance comparison for OpenMP, PThreads and MPI Hot Plate

Performance comparison for OpenMP, PThreads and MPI Hot Plate

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

It is clear that <strong>MPI</strong> implementation shows a rather better per<strong>for</strong>mance than <strong>OpenMP</strong> or <strong>PThreads</strong>. <strong>MPI</strong><br />

also seems to scale significantly better, with almost linear time/processors correspondence. Speedup is<br />

not superlinear because horizontal scale is logarithmic.<br />

Conclusion.<br />

The experiment clearly demonstrated that <strong>MPI</strong> implementation of hot plate per<strong>for</strong>ms much faster than<br />

<strong>OpenMP</strong> or <strong>PThreads</strong>. Apparently, thread spawning/joining overhead adversely affects overall<br />

per<strong>for</strong>mance, while <strong>MPI</strong>'s reduce <strong>and</strong> interprocess communication proceeds much faster. One thing to<br />

note is that since number of processors used (16) is negligible compared to overall problem size<br />

(768x768), amount of direct interprocess communication is not high compared to the time spent on

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!