Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Our favorite program runs in 10 seconds on computer A, which has a 2 GHz clock. We are trying to help a computer designer

Our favorite program runs in 10 seconds on computer A, which has a 2 GHz clock. We are trying to help a

Our favorite program runs in 10 seconds on computer A, which has a 2 GHz clock. We are trying to help a computer designer build a computer, B, which will run this program in 6 seconds. The designer has determined that a substantial increase in the clock rate is possible, but this increase will affect the rest of the CPU design, causing computer B to require 1.2 times as many clock cycles as computer A for this program. What clock rate should we tell the designer to target? [9] Two different compilers are being tested for a 500 MHz machine with three different classes of instructions: Class A, Class B, and Class C, which require 1, 2 and 3 cycles (respectively). Both compilers are used to produce code for a large piece of software. " Compiler 1 generates code with 5 billion Class A instructions, 1 billion Class B instructions, and 1 billion Class C instructions. Compiler 2 generates code with 10 billion Class A instructions, 1 billion Class B instructions, and 1 billion Class C instructions. (a) Which sequence will be faster according to MIPS? (b) Which sequence will be faster according to execution time?

Step by Step Solution

3.38 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

1 Optimal Clock Rate for Program B Relationship between clock rate and execution time Execution time T is inversely proportional to clock rate f for a ... 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

Design And Analysis Of Experiments

Authors: Douglas C., Montgomery

5th Edition

978-0471316497, 0471316490

More Books

Students also viewed these Programming questions