S4 Computer architecture · Practice
Multithreading
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
A thread runs 30 cycles, then waits 100 cycles for memory. What fraction of the time does it keep the core busy alone?
Check
Each thread runs 16 cycles between misses of 120 cycles. How many threads does fine-grained multithreading need to keep the core busy?
Check
A coarse-grained multithreaded core loses 3 cycles at each switch, and threads run 15 cycles between misses. What's the highest utilization it can reach?
Check
3 threads each run 20 cycles and wait 250, with fine-grained switching. What's the core's utilization?
Check
Two threads each reach IPC 1.2 alone; together on an SMT core they reach a total of 1.8. What fraction of its solo speed does each thread keep?
Check
A core holds 8 hardware threads, each with 32 architectural registers of 64 bits. How much register state is that?
Check
Each thread runs 10 cycles and then waits 100 cycles; the core has 8 threads.
(a)
What utilization does fine-grained multithreading reach?
(b)
How many threads would saturate it?
(c)
What is coarse-grained multithreading's ceiling with 16 cycles lost per switch?
Check
Threads to saturate: run 12, wait 180?
Check
Coarse-grained ceiling: run 20, switch 4?
Check
Utilization of 2 threads, run 15, wait 300?
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