Question: [8] Our favorite program runs in 10 seconds on computer A, which has a 2GHz clock. We are trying to help a computer designer build
[8] Our favorite program runs in 10 seconds on computer A, which has a 2GHz 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 500MHz 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
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
