How do I know which machine is faster ?
Machine A:
Fclk = 2.4Ghz; CPI = 2.5
Machine B:
Fclk = 1.8Ghz; CPI = 2.0
6 replies to this topic
#1
Posted 25 April 2011 - 05:39 AM
|
|
|
#2
Posted 25 April 2011 - 07:43 AM
You want to know how many instructions per second each CPU can perform. To get this, divide the Cycles per Second (the speed) by the Cycles per Instruction. The Cycle terms cancel out, yielding Instructions per Second. The CPU with the larger value will be faster.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#3
Posted 25 April 2011 - 07:48 AM
This should help understand the problem:
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#4
Posted 25 April 2011 - 08:01 AM
gregwarner said:
This should help understand the problem:


OK. Thank you, I find A is 6.67% more faster that B
#5
Posted 25 April 2011 - 03:19 PM
In this problem:
Consider the execution of a program P with 7.5x10^9 instructions on a machine operating at 5GHz and with a CPI of 0.8. What is the runtime?
My solution:
Tcpu = (7.5x10^9 x 0.8)/(5x10^9) = 1.2s
It's correct ?
Consider the execution of a program P with 7.5x10^9 instructions on a machine operating at 5GHz and with a CPI of 0.8. What is the runtime?
My solution:
Tcpu = (7.5x10^9 x 0.8)/(5x10^9) = 1.2s
It's correct ?
#6
Posted 25 April 2011 - 06:11 PM
Yes, you're correct.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#7
Posted 26 April 2011 - 06:58 AM
gregwarner said:
Yes, you're correct.
Thank you
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









