Question

In: Computer Science

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 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 a different program with 20 instructions. P3 is running a program with 15 instructions.

Which processor has the highest performance? By how much does the fastest processor faster than the slowest processor? What are the CPU execution times for the three processors running their assigned programs? Please be sure to show and explain the detailed steps of how you arrived at your answer in your submission.

-Note: I have seen several instances of this question, however there seems to be confusion as to why the answers are being given in Seconds - and not Pico-Seconds. This is where my confusion lies.

Thanks

Solutions

Expert Solution


Related Solutions

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 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. Find execution time for each processor for a program with 2 x 10 9 instructions. Which one is the fastest? b. If the processors each execute a program in...
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 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. If the processors each execute a program in 10 seconds, find the number of cycles and the...
Consider three different processors P1, P2 and P3 executing the same instruction set with clock rates...
Consider three different processors P1, P2 and P3 executing the same instruction set with clock rates and CPI given in the following table: Processor Clock Rate CPI P1 2 GHz 1.5 P2 1.5 GHz 1.0 P3 3 GHz 2.5 c) We are trying to reduce the execution time by 30% but this leads an increase of 20% in the CPI. What clock rate should we have to get this time reduction? b) If the processors each execute a program in...
Suppose that there are three different populations we want to compare, say P1, P2, and P3....
Suppose that there are three different populations we want to compare, say P1, P2, and P3. Each of these populations is normal. A random sample from each population is taken, and the results are given below. P1 P2 P3 10 6 5 12 8 9 9 3 12 15 0 8 13 2 4 a) Find the sample means and sample variance for each sample. Use Statistical Software and record the results in your Word document. b) Combine all samples...
Suppose that there are three different populations we want to compare, say P1, P2 and P3....
Suppose that there are three different populations we want to compare, say P1, P2 and P3. Each of these populations are normal. A random sample from each population is taken and the results are given below. P1 P2 P3 10 6 5 12 8 9 9 3 12 15 0 8 13 2 4 a) Find the sample means and sample variance for each sample. Use Excel and record the results in your Word document. b) Combine all samples and...
6. Consider the following set of processes P1, P2, P3, P4. Process Burst Time Arrival Time...
6. Consider the following set of processes P1, P2, P3, P4. Process Burst Time Arrival Time Priority P1 3 0 1 P2 5 1 2 P3 8 3 3 P4 4 4 2 a) Draw Gantt charts that illustrate the execution of these processes using the following scheduling algorithms: first-come, first-served (FCFS), priority scheduling (larger number=high priority), and Round-Bobin (RR, quantum=2). b) Compute the average waiting time, turnaround time for the three algorithms. Turnaround time – amount of time to...
Rosie’s Company has three products, P1, P2, and P3. The maximum Rosie’s can sell is 76,000...
Rosie’s Company has three products, P1, P2, and P3. The maximum Rosie’s can sell is 76,000 units of P1, 57,000 units of P2, and 45,000 units of P3. Rosie’s has limited production capacity of 42,000 hours. It can produce 12 units of P1, 6 units of P2, and 3 units of P3 per hour. Contribution margin per unit is $5 for the P1, $15 for the P2, and $25 for the P3. What is the most profitable sales mix for...
Consider two different implementations of the same instruction set architecture. The instructions can be divided into...
Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (classes A, B, C, and D). P1 with a clock rate of 2.5 GHz and CPIs of 1, 2, 3, and 3, and P2 with a clock rate of 3 GHz and CPIs of 2, 2, 2, and 2. Given a program with a dynamic instruction count of 1.0E6 instructions divided into classes as follows: 10% class A,...
If |G| = p1* p2* p3 (distinct primes) Then G has a normal subgroup.
If |G| = p1* p2* p3 (distinct primes) Then G has a normal subgroup.
Consider following four processes arriving in the order of P1, P2, P3 and P4. Process   Arrival...
Consider following four processes arriving in the order of P1, P2, P3 and P4. Process   Arrival Time CPU burst Time P1             0.0     6 P2    0.0                              8 P3              0.0                                7 P4              0.0                                 3 What is the average waiting time for RR scheduling (time quantum = 5)? What is the average waiting time for SJF scheduling? What is the average waiting time for FCFS scheduling?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT