hi Mr Jeff, can you teach how to solved this question. I cannot understand how to calculate. I just start learning Computer Architecture Performance and i really not use to this subject. can you explain it very detail on how to calculate this. Q 1 - " Suppose a computer spends frac used=90 of its time handling a computation when running a given program, and its manufacturers make a change that improves its performance on that type of computation by a factor of 10. If the program originally took 100 s, what will its execution time be after the change? " Q 2 - " When run on a given system, a program takes 1,000,000 cycles. If the system achieves a CPI of 40, how many instructions were executed in running the program? " THANKS MR JEFF
For Q2 you're given CPI which means cycle per instruction. You're given the cycle as a million and CPI as 40 . 40= 1,000,000/ instruction count therefore instruction is 25000
@@hearvie we have two implementations of 1000 instruction set. machine A has a CPI of 3.5 for some program, and machine B has a clock cycle of 35 nano seconds and a CPI of 4.5 for the same program. calculate the CPU time in nano seconds for each machine. here clock cycle for machine A is not given ...please help
Thank you so much for taking the time to do this!! This helps a lot and your explanations are very clear too :D
hi Mr Jeff, can you teach how to solved this question. I cannot understand how to calculate. I just start learning Computer Architecture Performance and i really not use to this subject. can you explain it very detail on how to calculate this.
Q 1 - " Suppose a computer spends frac used=90 of its time handling a computation when running a given program, and its manufacturers make a change that improves its performance on that type of computation by a factor of 10. If the program originally took 100 s, what will its execution time be after the change? "
Q 2 - " When run on a given system, a program takes 1,000,000 cycles. If the system achieves a CPI of 40, how many instructions were executed in running the program? "
THANKS MR JEFF
For Q2 you're given CPI which means cycle per instruction. You're given the cycle as a million and CPI as 40 .
40= 1,000,000/ instruction count
therefore instruction is 25000
@@hearvie we have two implementations of 1000 instruction set.
machine A has a CPI of 3.5 for some program, and machine B has a clock cycle of 35 nano seconds and a CPI of 4.5 for the same program.
calculate the CPU time in nano seconds for each machine.
here clock cycle for machine A is not given ...please help