Question

Consider a processor with a 1.2GHz clock rate and a CPI of 1.7. If a program...

Consider a processor with a 1.2GHz clock rate and a CPI of 1.7. If a program runs in 10 seconds, how
many clock cycles were required and how many instructions executed?

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a...
Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 2.5 GHz clock rate and a CPI of 1.25. P2 has a 3 GHz clock rate and a CPI of 1.6. P3 has a 4.0 GHz clock rate and has unknown CPI. a. (5 points) Compare the performance of P1 and P2 in terms of number of instructions they can execute per second. b. (5 points) Program X is executed by P1 in 20...
Computer A has an overall CPI of 1.3 and can be run at a clock rate...
Computer A has an overall CPI of 1.3 and can be run at a clock rate of 600MHz. Computer B has a CPI of 2.5 and can be run at a clock rate of 750 Mhz. We have a particular program we wish to run. When compiled for computer A, this program has exactly 100,000 instructions. How many instructions would the program need to have when compiled for Computer B, in order for the two computers to have exactly the...
Two processors, P1 and P2, execute the same instructions. The clock rate and CPIs are as...
Two processors, P1 and P2, execute the same instructions. The clock rate and CPIs are as specified below: Processor                 P1             P2 Clock Rate              2 GHz        3 GHz CPI                          1.0     2.5 For processor P2, we are trying to reduce the time by 40% but this leads to an increase of 20% in CPI. What clock rate is required to achieve this time reduction?
Consider program P, which runs on a 1GHz machine in 10 seconds, An optimization is made...
Consider program P, which runs on a 1GHz machine in 10 seconds, An optimization is made to P, replacing all instances of multiplying a value by 4 (mult X, X, 4) with two instructions that set x to x + x twice (add X, X; add X, X) Call this new optimized program P’. The CPI of a multiply instruction is 4, and that of add is 1. After recompiling, the program runs in 9 seconds on machine M. How...
Consider a machine that has CPI of 1.0 and a 5 GHz processor with a 5%...
Consider a machine that has CPI of 1.0 and a 5 GHz processor with a 5% miss rate, 100ns DRAM access, adding 2nd level cache with 5ns access time decreases miss rate to .5%, what is the CPI for the improved system? How many times is the new system more efficient than the original one?
1.     The design team for a simple, single-issue processor is choosing between a pipelined or Non-pipelined...
1.     The design team for a simple, single-issue processor is choosing between a pipelined or Non-pipelined implementation. Here are some design parameters for the two possibilities: Parameter Pipelined Version Non-Pipelined Version Parameter                                        Pipelined Version             Non-Pipelined Version Clock Rate                                        500MHz                              350 MHz CPI for ALU instructions                   1                                         1 CPI for Control                                  2                                         1 instructions CPI for Memory                                2.7                                      1 instructions For a program with 80% ALU instructions, 10% control instructions and 10% memory instructions,...
Consider the following MIPS code and a 5 stages processor as discussed in class, and assume...
Consider the following MIPS code and a 5 stages processor as discussed in class, and assume the loop executes 3 times: loop: lw r1,4(r7) lw r2,8(r7) lw r3,12(r7) add r1,r1, r3 sw r1,4(r7) bne r1,r2,loop addi r1,r1,42 c. Draw the execution diagram. (10 points) d. The CPI (cycles per instruction) is obtained by computing the ratio of total cycles to number of instructions. Compute the CPI for the for the pipeline on this code. (5 points)
You have a task to improve performance of your processor on scientific applications where floating-point operations...
You have a task to improve performance of your processor on scientific applications where floating-point operations play a critical role. You know that when you are running your program on a processor in a base configuration, the fraction of floating-point instructions is 30% of the total instruction count. The CPI for floating-point instructions is 1.5, and CPI for all other instructions is 1.3. You decided to introduce new dual-op instructions (like multiply-add) and other performance improvements which will reduce the...
A certain processor consumes 1000 cycles to perform the context switch required to transfer control to...
A certain processor consumes 1000 cycles to perform the context switch required to transfer control to the interrupt handler for an I/O device that triggers an interrupt. The interrupt handler takes an additional 10,000 cycles to service the device request. Once the interrupt processing is complete, another 1000 cycles are required to perform the context switch required to return from the interrupt handler back to the program that was running. The processor’s clock rate is 3 GHz. a) (5) What...
A certain program consists of three independent parts A, B and C that can execute in...
A certain program consists of three independent parts A, B and C that can execute in parallel on separate processors within a multiprocessor system. None of the parts can be further subdivided and each part must execute on a single processor. Part A requires 78 billion cycles to complete, part B requires 40 billion cycles to complete and part C requires 62 billion cycles. The program is executed on an SMP system with 4 identical processors all running at the...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT