Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assignment will consist of the following parts: The multi - threaded sieve of the Eratosthenes program MPI benchmarks Answer these questions ( you can

This assignment will consist of the following parts:
The multi-threaded sieve of the Eratosthenes program
MPI benchmarks
Answer these questions (you can be as short or as detailed as you like):
a. Where do you think the "sweet spot" is for thread count? Alternatively, at what point
does the addition of more threads result in diminishing returns?
b. Where do you think the "sweet spot" is for workload size? Alternatively, at what
maximum value (max value to search for prime numbers) does it become beneficial to
run the sieve in parallel?
Answer this additional question with a few sentences: Between this and the OpenMP-based
sieve from the midterm, what can you say are the advantages and disadvantages of both
OpenMP and MPI? You may consider the following:
a. Which was easiest to program?
b. Which one requires (or benefits from) specific hardware?
You will be benchmarking the sieve made using MPI. Start with the following table, consisting of
12 entries. You may expand the table to include different thread counts or maximum values.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 International Workshops Gdm Benchmarx Mcis Snsmw Diew Udm Tsukuba Japan April 2010 Revised Selected Papers Lncs 6193

Authors: Masatoshi Yoshikawa ,Xiaofeng Meng ,Takayuki Yumoto ,Qiang Ma ,Lifeng Sun ,Chiemi Watanabe

2010th Edition

3642145884, 978-3642145889

More Books

Students also viewed these Databases questions