S4 Computer architecture · Practice
Amdahl's and Gustafson's laws
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 10 kinds solid
Check
An enhancement speeds up 0.7 of a program's time by 2×. What's the overall speedup?
Check
A fraction 0.95 of a program can be sped up without limit. What's the most the whole program can speed up?
Check
What parallel fraction does a program need to reach a speedup of 8 on 16 processors?
Check
On 128 processors, a scaled run is 0.8 parallel. What's its Gustafson speedup?
Check
A symmetric chip of 64 base units uses cores of 16 units each, with performance . What's its speedup on code that's 0.9 parallel?
Check
One enhancement speeds up 0.3 of the time by 4×, another speeds up a separate 0.25 by 3×. What's the overall speedup?
Check
An enhancement speeds up a fraction 0.8 of a program's time by 4. Separately, a scaled workload runs on 64 processors with parallel fraction 0.99.
(a)
What is the enhancement's overall speedup?
(b)
What is its limit as S grows?
(c)
What scaled speedup does Gustafson's law give?
Check
Speedup when 0.6 is sped up 3×?
Check
Gustafson speedup: 32 processors, 0.9 parallel?
Check
Parallel fraction for a speedup of 5 on 32?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S4