Question

Computer A executes the MIPS ISA and computer B executes the x86 ISA. On average, programs...

Computer A executes the MIPS ISA and computer B executes the x86 ISA. On average, programs execute 1.5 times as many MIPS instructions as x86 instructions. Computer A has an average CPI of 1.5 and computer B an average CPI of 3. If computer B runs at a 3GHz clock frequency, what speed does computer A have to run at to be at least as fast as computer B?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

B runs at 3 GHz clock frequency means, it runs 3* 109 clock cycles per second

B has CPI(clock per instruction) 3.

hence number of instruction exectued per second by B is 3*109/3 = 109

Given, A executes 1.5 times as many instructions as B

hence A should execute 1.5*109 instructions per second.

Hence, number of clock cycles required in one second is 1.5*1.5*109 = 2.25 *109

Hence, Clock frequency of A should be 2.25 GHz

Add a comment
Know the answer?
Add Answer to:
Computer A executes the MIPS ISA and computer B executes the x86 ISA. On average, programs...
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
  • A program executes 10 billion instructions. It executes on an Intel processor that has an average...

    A program executes 10 billion instructions. It executes on an Intel processor that has an average CPI of 1.5 and a clock frequency of 2 GHz. How many seconds does the program take to execute? What is the cycle time of this Intel processor? Assume that an AMD processor takes 6 seconds to execute the program. What is the speedup provided by the Intel processor, relative to the AMD processor

  • Topics 1. MIPS instruction set architecture (ISA). 2. Performance. 3. MIPS datapath and control. Exercise 1...

    Topics 1. MIPS instruction set architecture (ISA). 2. Performance. 3. MIPS datapath and control. Exercise 1 Consider the memory and register contents shown below. Registers Ox0100 FFF8 13 ($t 5) 14 ($t6) 0x0100 FFFC 0x0101 0000 Memory 0x0000 0000 0x0001 1100 0x0A00 со00 0x1234 4321 OxBAOO OOBB 15 OXAAAA 0000 0x1111 1010 0x7FFF FFFD 0x0100 FFFO 0x0101 0008 (St7) Ox0101 0004 16 ($80) 0x0101 0008 17 ($sl) Show what changes and give the new values in hexadecimal after the following...

  • Suppose a computer M3 has an average CPI of 2.7 and a clock rate of 3.7...

    Suppose a computer M3 has an average CPI of 2.7 and a clock rate of 3.7 GHz. Please answer the following: (a) Calculate the runtime for a program P with 22,933 instructions, which uses an accelerating co-processor 45 percent of the time, and (b) determine how much faster (or slower) the accelerator needs to run for P to run 1.5 times as fast on M3 with the faster (resp. slower) accelerator.

  • Suppose a computer M3 has an average CPI of 2.7 and a clock rate of 3.7...

    Suppose a computer M3 has an average CPI of 2.7 and a clock rate of 3.7 GHz. Please answer the following: (a) Calculate the runtime for a program P with 22,933 instructions, which uses an accelerating co-processor 45 percent of the time. (b) determine how much faster (or slower) the accelerator needs to run for P to run 1.5 times (1.5X) as fast on M3 with the faster (resp. slower) accelerator. Hint: First set up your equation for Amdahl’s Law,...

  • AziTech is considering the design of a new CPU for its new model of computer systems...

    AziTech is considering the design of a new CPU for its new model of computer systems for 2021. It is considering choosing between two (2) CPU (CPUA and CPUB) implementations based on their performance. Both CPU are expected to have the same instruction set architecture. CPUA has a clock cycle time of 60 ns and CPUB has a clock cycle time of 75 ns. The same number of a particular instruction type is expected to be executed on both CPUs...

  • 15. A given application written in Java, runs 15 seconds on a desktop computer. A new...

    15. A given application written in Java, runs 15 seconds on a desktop computer. A new Java compiler is released that requires only .6 times as many instructions as the old compiler. Unfortunately, it increases the CPI by a factor of 1.1. How fast can we expect the application to run using the new compiler?! a. 15 X 0.6 = 8.2 seconds 1.1 applicatiely, it increquires only ads on a do 13x0.6 b. 15 X 1.1 = 27.5 seconds 0.6...

  • About computer architecture and organization. Please solve those questions Thank you 2. A certain program has...

    About computer architecture and organization. Please solve those questions Thank you 2. A certain program has the following instruction classes, CPIs, and mixtures: Instruction Type CPI ratio 1.5 .40 2.1 .35 3 a. What is the average CPI for this processor? b. You have the following options: • Option 1: Reduce the CPI of instruction type B to 1.8 • Option 2: Reduce the CPI of instruction type C to 2.5 Which option would you choose and why? 3. Consider...

  • a) Suppose that computer A executes 1 billion instructions per second, and computer B executes 10...

    a) Suppose that computer A executes 1 billion instructions per second, and computer B executes 10 million instructions per second, i.e, Computer A is 100 times faster than computer B in raw computing power. Suppose an expert programmer implements insertion sort in machine language for computer A, and the resulting code requires 2 * n2 instructions to sort n numbers. Suppose an average programmer implements merge sort, using a high-level language on computer B, with the resulting code taking 5...

  • Compller A Compler B Execution Ti Execution Time No. Instructions meNo. Instructions b. 1.9 s 1.60E+09 1.30E+09 2.1 s 1...

    Compller A Compler B Execution Ti Execution Time No. Instructions meNo. Instructions b. 1.9 s 1.60E+09 1.30E+09 2.1 s 1.71 [5] <1.4> For the same program, two different compilers are used. The table above shows the execution time of the two different compiled programs. Find the average CPI for each program given that the processor has a clock cycle time of 1 ns. 1.7.2 [5] <1.4> Assume the compiled programs run on two different processors If the execution times on...

  • 5. If a processor clock ticks 4 billion times in a second and has a frequency...

    5. If a processor clock ticks 4 billion times in a second and has a frequency of 1.5 GHz, with each clock tick, one or more instructions may complete, if a program runs on 3 GHz processor for 7 seconds, how many clock cycles did it run for? (10 points) If a program runs for 2 billion clock cycles on a 1.5 GHz processor, what is the execution time in seconds? (10 points)

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
ADVERTISEMENT