Professional Documents
Culture Documents
Computer Organization Exercises Lab 1 1
Computer Organization Exercises Lab 1 1
Lab 1
Soufiane berouel
Formulas to Remember
• CPU Time = CPU Clock Cycles x Clock Cycle Time
• Amdahl’s Law
– Overall Speedup = 1 / [(1 – ∑ FEi) + ∑ (FEi / SEi)]
– FE is the proportion affected, SE is the speed up for the
specific proportion
Exercise 1
• For a color display using 8 bits for each
primary color (R, G, B) per pixel and with a
resolution of 1280 x 800 pixels, what should
be the size (in bytes) of the frame buffer to
store a frame?
Exercise 1 (sol)
• Each frame requires 1280 x 800 x 3 = 3072000
~ 3 Mbytes
Exercise 2
• Consider 3 processors P1, P2 and P3 with clock
rates and CPI given below, are running the same
program:
clock rate CPI
P1 2 GHz 1.5
P2 1.5 GHz 1.0
P3 3 GHz 2.5
P1 2 GHz 1.5
P2 1.5 GHz 1.0
P3 3 GHz 2.5