Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A multiprocessor machine has 1024 processors. On this machine we map a computation in which N iterate values must be computed and then exchanged between

A multiprocessor machine has 1024 processors. On this machine we map a computation in which N iterate values must be computed and then exchanged between the processors. Values are broadcast on a bus after each iteration. Each iteration proceeds in two phases. In the first phase each processor computes a subset of theN iterates. Each processor is assigned the computation ofK = N/P iterates, where P is the number of processors involved. In the second, communication phase each processor broadcasts its results to all other processors, one by one. Every processor waits for the end of the communication phase before starting a new computation phase. Let Tc be the time to compute one iterate and let Tb be the time to broadcast one value on the bus.We define the computation-to-communication ratio R as Tc/Tb. Note that, when P = 1, no communication is required. At first, we use the premise of Amdahls speedup (i.e., the same workload spread across an increasing number of processors). Under these conditions: 32 Introduction

(a) Compute the speedup as a function of P and R, for K = 1, 2, . . . , 1024.

(b) Compute the maximum possible speedup as a function of P and R.

(c) Compute the minimum number of processors needed to reach a speedup greater than 1 as a function of P and R. Second, we use the premise of Gustafsons law, namely that the uniprocessor workload grows with the number of processors so that the execution time on the multiprocessor is the same as that on the uniprocessor. Assume that the uniprocessor workload computes 1024 iterates.

(d) What should the size of the workload be (as a number of iterates) when P processors are used, as a function of P and R? Pick the closest integer value for the number of iterates.

(e) Reconsider (a)(c) above in the context of growing workload sizes, according to Gustafsons law. Third, we now consider the overhead needed to broadcast values

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

Students also viewed these Databases questions

Question

Choosing Your Topic Researching the Topic

Answered: 1 week ago

Question

The Power of Public Speaking Clarifying the

Answered: 1 week ago