Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1: Consider the case where a program consists of 30% integer instructio

ID: 3837781 • Letter: Q

Question

Question 1: Consider the case where a program consists of 30% integer instructions, 50% floating-point instructions and 20% memory access operations and executes 41 billion instructions.

Let a machine take 200 ps to execute an integer instruction, 515 ps to execute a floating-point instruction and 1 ns to complete a memory access operation.

Assume that we can overclock the processor arbitrarily, thus speeding up the integer and floating-point performance by an arbitrary factor.

How much faster would the processor have to run to complete the task in 30 s?

Question 2:

Consider the case where a program consists of 30% integer instructions, 50% floating-point instructions and 20% memory access operations and executes 41 billion instructions.

Let a machine take 200 ps to execute an integer instruction, 515 ps to execute a floating-point instruction and 1 ns to complete a memory access operation.

Assume that we can overclock the processor arbitrarily, thus speeding up the integer and floating-point performance by an arbitrary factor.

What is the fastest we could finish computing this program just by overclocking the processor?

Explanation / Answer

Let's see how much time currently the processor is taking:

((0.3*41*10^9)*200*10^-12)+((0.5*41*10^9)*515*10^-12)+((0.2*41*10^9)*1*10^-9)= 21.2175 s

Actually currently the system is running faster. In order to run in 30 s the system needs to be slower. Let's see how much = 21.275/30= 0.7092.

The system needs to be run in 0.70920 times in order to run on 30s.

2)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote