Question

Need help to answer this question with explanation please. A program is made of 40% arithmetic...

Need help to answer this question with explanation please.

A program is made of 40% arithmetic instructions (each takes 5 clock cycles), 30% branch instructions (each takes 2 clock cycles) and 30% data transfer instructions (each takes 12 clock cycles). The program has 20,000 instructions and is running on a CPU with a 3 GHz clock. Find the execution time.

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Need help to answer this question with explanation please. A program is made of 40% arithmetic...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Suppose a program (or a program task) takes 1 billion instructions to execute on a processor...

    Suppose a program (or a program task) takes 1 billion instructions to execute on a processor running at 2 GHz. Suppose also that 50% of the instructions execute in 3 clock cycles, 30% execute in 4 clock cycles, and 20% execute in 5 clock cycles. What is the execution time for the program or task?

  • A program (or a program task) takes 150 million instructions to execute on a processor running...

    A program (or a program task) takes 150 million instructions to execute on a processor running at 2.7 GHz. Suppose that 50% of the instructions execute in 3 clock cycles, 30% execute in 4 clock cycles, and 20% execute in 5 clock cycles. What is the execution time for the program or task? Suppose the processor in the previous question part is redesigned so that all instructions that initially executed in 5 cycles and all instructions executed in 4 cycles...

  • A processor is designed such that the clock of the processor runs at 1 GHz. The following table gives the instruction frequencies for the benchmark and how many cycles each instruction takes. Inst...

    A processor is designed such that the clock of the processor runs at 1 GHz. The following table gives the instruction frequencies for the benchmark and how many cycles each instruction takes. Instruction Type Frequency Cycles Load & Stores 25% 10 cycles Arithmetic Instructions 65% 6 cycles Branch instructions 10% 4 cycles (a) Calculate the CPI for the above benchmark. (b) Suppose the amount of registers are doubled, such that clock cycle time increases by 40%. What is the new...

  • Assume that a processor has the following CPIs, arithmetic ops(1), load/store(12), branch instructions(5). Consider a program...

    Assume that a processor has the following CPIs, arithmetic ops(1), load/store(12), branch instructions(5). Consider a program that requires 10^6 arithmetic ops, .5 ∗ 10^6 load/stores and .3 ∗ 10^6 branch instructions. Each processors has a clock frequency of 2Ghz. Assume that the program is parallelized to run over multiple cores, the number of arithmetic and load/store instructions is divided by .6*p, where p is the number of processors. The number of branch instructions remains the same in each processor. (2*5=10)...

  • Q.4 [10 points] A processor is designed such that the clock of the processor runs at...

    Q.4 [10 points] A processor is designed such that the clock of the processor runs at 2.0 GHz. The following table gives the instruction frequencies for the benchmark and how many cycles each instruction takes. Instruction Type Frequency Cycles Load & Stores 25% 8 cycles Arithmetic Instructions 60% 6 cycles Branch instructions 15% 4 cycles (a) (2 points) Calculate the CPI for the above benchmark. (b) (4 points) Suppose the amount of registers are doubled, such that clock cycle time...

  • Assume for arithmetic, load/store, and branch instructions, a processor has CPls of 3, 15, and 7, respectively. Also as...

    Assume for arithmetic, load/store, and branch instructions, a processor has CPls of 3, 15, and 7, respectively. Also assume that on a single processor a program requires the execution of 3.12E9 arithmetic instructions, 1.75E9 load/store instructions, and 512Million branch instructions. Assume that each processor has a 2.5GHz clock frequency. Assume that, as the program is parallelized to run over multiple cores, the number of arithmetic and load/store instructions per processor divided by 0.8xp ( where p is the number of...

  • c. Performance: Company A's processor and Company B's processor are benchmarked on the same program. The...

    c. Performance: Company A's processor and Company B's processor are benchmarked on the same program. The CPI of the component instructions that are executed in the program are shown above for each processor. Additionally, the number of instructions of each type is provided. Company A 5 Branch CPI Load/Store CPI Arithmetic CPI 7 1 Company B 4 Branch CPI Load/Store CPI Arithmetic CPI 9 1 Program Instruction Count Branch Load/Store Arithmetic CPL 1.2x109 1.67x1010 1.5x1011 i. Assume Company A has...

  • I need help solving both the questions below and it is 109 instructions. 1. On machine...

    I need help solving both the questions below and it is 109 instructions. 1. On machine X with a 4GHz CPU, there is a mix of four types of instruction: Operation Type Frequency CPI Arithmetic 50% 1 Load 20% 5 Store 10% 3 Branch 20% 2 Suppose your program has 109 instructions, what is the total execution time? 2. On machine Y with a 1GHz CPU, a benchmark program consists of the following four types of instructions: Instruction Type Number...

  • Please i need a good answer and a perfect answer.. i need unique answer use your own words. pleas...

    please i need a good answer and a perfect answer.. i need unique answer use your own words. please i need a good answer and a perfect answer.. i need unique answer use your own words. please i need a good answer and a perfect answer.. i need unique answer use your own words. don't use handwriting Q3: a) Specify the two factors used to determine the capacity of memory. Find out the memory capacity, if the number of bits...

  • Suppose this program is executed in a computer in which the clock rate for the processor is 1.6 MHz

    Figure 1: each block gives the number of different types of instructionsConsider a program with the execution flow shown in Figure 1. There are in total 3 types of instructions used in this program: Type 1 (in-processor calculation): execution rate as 1 per clock cycle; Type 2 (memory access): each instruction takes 2 clock cycles for execution; Type 3 (loop control): each instruction takes 2 clock cycles for jump into the loop block or 3 clock cycles for jump to the block after...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT