CPU time = Instruction count x CPI x Clock cycle
Clock cycle = 1 / Clock rate
GHz = 10^9 Hz
IC is not given in first case so let it be a constant IC
a) P1 exection time = IC * 3 * 1/(1 * 10^9) = IC * 3 * 10^(-9)
P2 exection time = IC * 2 * 1/(4 * 10^9) = IC * 5 * 10^(-10)
P3 exection time = IC * 1.5 * 1/(3 * 10^9) = IC * 5 * 10^(-10)
P4 exection time =IC * 2.5 * 1/(2 * 10^9) = IC * 1.25 * 10 ^ ( -9)
P2 and P3 have same and lowest exection time so they will have best performance
b)
P1 exection time = 5000 * 3 * 1/(1 * 10^9) = 15 * 10^(-6)
P2 exection time = 5000 * 2 * 1/(4 * 10^9) = 25 * 10^(-7)
P3 exection time = 5000 * 1.5 * 1/(3 * 10^9) = 25 * 10^(-7)
P4 exection time = 5000 * 2.5 * 1/(2 * 10^9) =62.5 * 10 ^(-7)
4. The below table shows four different processors P1, P2, P3, and P4 executing the same...
5. The below table shows three different processors P1, P2, and P3 running three programs with the clock rates and time given below. Answer the following. Processor Clock rateInstructions CPU Time P1 P2 P3 9 us 1.5 GHz7000 2.0 GHz 3.0 GHz5500 5000 5 us a. What is the average CPI for each of the program? (9 Points) b. What is the new clock rate that is required for processors P1, P2, and P3 so that the time spent by...
Consider three different processors P1, P2 and P3 executing the same instruction set. P3 has a 4 GHz clock rate and a CPI of 2.5. P2 has 3.5 GHz clock rate and a CPI of 2.0. P1 has a 5.0 GHz clock rate and has a CPI of 3.3. a. Which processor has the highest performance expressed in instructions per second? b. If the processor each execute a program in 5 seconds, find the number of cycles and the number...
Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 3 GHz clock rate and a CPI of 1.5. P2 has a 3 GHz clock rate and a CPI of 1.0. P3 has a 2.5 GHz clock rate and has a CPI of 2.2. a. Which processor has the highest performance expressed in instructions per second? b. If each processor executes a program in 35 seconds, find the number of cycles and the number...
Problem 0 Consider three different processors P, P2, and P3 executing the same instruction set. PI has a 3 GHz clock rate and a CPI of 1.5. P2 has a 2.5 GHz clock rate and a CPI of 1.0. P3 has a 4.0 GHz clock rate and has a CPI of 2.2. a. Which processor has the highest performance expressed in instructions per second? b. Ifthe processors ecach execute a program in 10 seconds, find the number of eycles and...
Consider three different processors Pi, P2, and P3 executing the same instruction set with the clock rates and CPIS given in the following table 1. Clock Rate Processor CPI 3.4 GHz 1.2 P2 Рэ 2.6 GHz 1.0 2.2 4 GHz Which processor has the highest performance expressed in instructions per second? If the processors each execute a program in 15 seconds, find the number of cycles and the mumber of instructions We are trying to reduce the time by 30%...
Make sure to show how you solved the problem step-by-step: Consider three different processors P1, P2, and P3, executing the same instruction set. P1 has a clock cycle time of 300 picosecond and a CPI (clock cycles per instruction) of 1.5. P2 has a clock cycle time of 400 picosecond and a CPI of 1.0. P3 has a clock cycle time of 250 picosecond and a CPI of 2.0. P1 is running a program with 10 instructions. P2 is running...
Consider the implemented of two different processors P1, and P2 with the same instruction set architecture (ISA). P1 has a 2 GHZ clock rate and P2 has a 2.5 GHz clock rate. a. what is the clock cycle for each processor? b. If the CPI for a program A is 2, which processor has the highest performance? c. if the processors P1 execute the program in 2 seconds, find the number of instructions. d. We are trying to reduce the...
3. For problems below, use the information in the following table. (1.5 point) Clock rate 1 GHz 2 GHz 2.5 GHz Processor P1 P2 P3 No. instructions 15x109 20x109 80x 109 Time 7s 1) Find the CPI for each processor.(0.5) 2) Find the clock rate for P2 that reduces its execution time to that of P1.(0.5) 3) Find the number of instructions for P2 that reduces its execution time to that of P3.(0.5)
Microprocessors : MIPS 32 3. (5 pts) add.d $f15, $fo, $fo does not work. Explain why. 4. Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 3 GHz clock rate and a CPI of 1.5. P2 has a 2.5 GHz clock rate and a CPI of 1.0. P3 has a 4.0 GHz clock rate and has a CPI of 2.2. (NEED TO SHOW YOUR DERIVATION and STEPS FOR FULL CREDIT.) a. (5 pts)...
III. Consider a process that has been allocated 5 pages of memory: P1, P2, P3, P4, and P5. The process accesses these pages in the following order: P1 P2 P3 P4 P1 P2 P5 P1 P2 P3 P4 P5 (i) Illustrate Belady’s anomaly by precisely describing the execution of the FIFO page eviction algorithm in two cases: a) where the machine has 3 pages of physical memory, and b) where the machine has 4 pages of physical memory, and by...