Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi guys, I need your help with this questions: its for parallel computing in C programming language please! I am stuck and my mind just

Hi guys, I need your help with this questions:

its for parallel computing in C programming language please!

I am stuck and my mind just stopped working! "metaphoracally".

please guys explain to me the main steps, its in C language only.

thank you so much and appreciate the help in advance!!

______________________________________________________________________________________

image text in transcribed

NOTE: Write your results up to 4 decimals only (1) Run the parallel Sieve program with 1 core only. You MUST run the program 5 times! Use the following data. Remove all print statement (exce t the 'elapsed time ') Run #1 Run #2 Run # 3 Run #4 Average run time Run #5 0,000,000 Take the average run time to determine the value of (chi). Use the formula given in class! Question: What is ? Explain (2) Redo problem #1 with 2 cores. Run #1 Run #2 Run # 3 Run #4 Run #5 Average run time 10,000,000 Use the average run time, with the value of c from problem #1 to determine the value of (lambda). Use the formula in class Question: What is ? Explain (3) Run the following data using 4 and 8 cores. Calculate their average run time (from your data) and the theoretical run time using the formula given in class (with the values of and from problems 1 and 2 above) 4 cores: Run #1 Run #2 | Run #3 Run #4 Run #5 | Average nin Theoretical time (fromrun time data 50 million 100 million NOTE: Write your results up to 4 decimals only (1) Run the parallel Sieve program with 1 core only. You MUST run the program 5 times! Use the following data. Remove all print statement (exce t the 'elapsed time ') Run #1 Run #2 Run # 3 Run #4 Average run time Run #5 0,000,000 Take the average run time to determine the value of (chi). Use the formula given in class! Question: What is ? Explain (2) Redo problem #1 with 2 cores. Run #1 Run #2 Run # 3 Run #4 Run #5 Average run time 10,000,000 Use the average run time, with the value of c from problem #1 to determine the value of (lambda). Use the formula in class Question: What is ? Explain (3) Run the following data using 4 and 8 cores. Calculate their average run time (from your data) and the theoretical run time using the formula given in class (with the values of and from problems 1 and 2 above) 4 cores: Run #1 Run #2 | Run #3 Run #4 Run #5 | Average nin Theoretical time (fromrun time data 50 million 100 million

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

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books