Question: Exercise 4. (30 Marks] The following tables summarizes the instructions present in some program (Table 1) as well as two different processors (Table 2). Operation

 Exercise 4. (30 Marks] The following tables summarizes the instructions presentin some program (Table 1) as well as two different processors (Table

Exercise 4. (30 Marks] The following tables summarizes the instructions present in some program (Table 1) as well as two different processors (Table 2). Operation ALU Load Store Branch Instruction Count 2000 1000 600 400 | Operation ALU Load Store Branch Processor 1 3 4 3 2 Processor 2 1 6 3 2 Tohlo 1. Program Instructions Tohlo ). Pracoccer Instruction Cvelos (c) (5 Marks] Assuming that Processor 1 operates at 2.8 GHz and Processor 2 operates at 2.4 GHz calculate the CPU time for the program when run on each processor. On which processor is the program faster? (Hint: for easy calculations, 1GHz = 1 x 10H2) (d) (5 Marks) In terms of the three factors calculating CPU time instruction count, CPI, clock frequency) explain why the processor from part (c) is the faster one. How could a programmer change the program described in Table 1 so that it would run faster on the other processor? (e) (10 Marks] Calculate the CPU time of the program described in Table 1 running on Processor 1 (at 2.8 GHz) when also considering memory stall cycles and thus have CPU time calculated using CPIstall). Assume this processor has one level of cache, an instruction miss rate of 2%, a data miss rate of 5% and a miss penalty of 100 cycles. Exercise 4. (30 Marks] The following tables summarizes the instructions present in some program (Table 1) as well as two different processors (Table 2). Operation ALU Load Store Branch Instruction Count 2000 1000 600 400 | Operation ALU Load Store Branch Processor 1 3 4 3 2 Processor 2 1 6 T 3 2 Tohle 1. Program Instructions Tohle ). Pracoccar Instruction Cvelos (d) [5 Marks] In terms of the three factors calculating CPU time (instruction count, CPI, clock frequency) explain why the processor from part (c) is the faster one. How could a programmer change the program described in Table 1 so that it would run faster on the other processor? (e) (10 Marks Calculate the CPU time of the program described in Table 1 running on Processor 1 (at 2.8 GHz) when also considering memory stall cycles and thus have CPU time calculated using CPIstall). Assume this processor has one level of cache, an instruction miss rate of 2%, a data miss rate of 5% and a miss penalty of 100 cycles. Exercise 4. (30 Marks] The following tables summarizes the instructions present in some program (Table 1) as well as two different processors (Table 2). Operation ALU Load Store Branch Instruction Count 2000 1000 600 400 | Operation ALU Load Store Branch Processor 1 3 4 3 2 Processor 2 1 6 3 2 Tohlo 1. Program Instructions Tohlo ). Pracoccer Instruction Cvelos (c) (5 Marks] Assuming that Processor 1 operates at 2.8 GHz and Processor 2 operates at 2.4 GHz calculate the CPU time for the program when run on each processor. On which processor is the program faster? (Hint: for easy calculations, 1GHz = 1 x 10H2) (d) (5 Marks) In terms of the three factors calculating CPU time instruction count, CPI, clock frequency) explain why the processor from part (c) is the faster one. How could a programmer change the program described in Table 1 so that it would run faster on the other processor? (e) (10 Marks] Calculate the CPU time of the program described in Table 1 running on Processor 1 (at 2.8 GHz) when also considering memory stall cycles and thus have CPU time calculated using CPIstall). Assume this processor has one level of cache, an instruction miss rate of 2%, a data miss rate of 5% and a miss penalty of 100 cycles. Exercise 4. (30 Marks] The following tables summarizes the instructions present in some program (Table 1) as well as two different processors (Table 2). Operation ALU Load Store Branch Instruction Count 2000 1000 600 400 | Operation ALU Load Store Branch Processor 1 3 4 3 2 Processor 2 1 6 T 3 2 Tohle 1. Program Instructions Tohle ). Pracoccar Instruction Cvelos (d) [5 Marks] In terms of the three factors calculating CPU time (instruction count, CPI, clock frequency) explain why the processor from part (c) is the faster one. How could a programmer change the program described in Table 1 so that it would run faster on the other processor? (e) (10 Marks Calculate the CPU time of the program described in Table 1 running on Processor 1 (at 2.8 GHz) when also considering memory stall cycles and thus have CPU time calculated using CPIstall). Assume this processor has one level of cache, an instruction miss rate of 2%, a data miss rate of 5% and a miss penalty of 100 cycles

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!