Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, no need to solve (a-i) QUESTION 2 (a) Gene Amdahl, an architect of the IMB 360 computers, has defined characterize how well an application

Hello, no need to solve (a-i)

image text in transcribed

QUESTION 2 (a) Gene Amdahl, an architect of the IMB 360 computers, has defined characterize how well an application makes (i) a model to use of a scalable parallel processor Explain the Amdal's Law. [3 marks] (i) Making use of your answer in Question Q2(a)(i), determine the maximum possible speed up ratio that can be achieved by an application running in a system with FOUR (4) processors (8 cores each) if only 80% of the application can be parallelized. Please sketch the timing diagram of your solution 7 [5 marks] Your engineer shows that the measured actual speed up ratio of the multi-threaded application is 50% below the calculated answer in Q2(a)(ii). Please advise the (ii) necessary steps to be carried out by the engineer to validate the result. 8 marks] (b) The source code of two threads and a parent process launching the threads are provided as shown in List Q2(b)c), (i), (ii), respectively. If a computing system with TWO (2) CPUs were used to execute the main process, predict the CPU utilisation of threads. Please use a timing diagram, if necessary, to relate your answers. mp List Q2(b): Source code of two threads (i,i) and the parent process (ii). void Fn2(void)f while( h 50000000) void Fnl(void); void Fn2(void); int h,i.j,k-0; int main(void) void Fnl(void) while( 1

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

More Books

Students also viewed these Databases questions