S4 Computer architecture · Practice
Near-data and in-memory computing
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 7 kinds solid
Check
An n × n crossbar (n = 128) performs one matrix-vector product per 50 ns, using 10 nJ per product, converters included.
(a)
How many multiply-accumulates does it perform per second?
(b)
What energy does each multiply-accumulate cost?
Write units the way you normally would: 1.5 fJ and 0.0015 pJ are the same answer.
Check
A processing-in-memory system has 2560 banks, each feeding its unit 0.5 GB/s; the host has 8 channels of 38.4 GB/s.
(a)
What aggregate bandwidth do the in-memory units see?
(b)
How many times the host's bandwidth is that?
Check
A fraction 0.7 of a kernel's time is data movement that offloading speeds up 5 times, at an overhead of 0.1 of the original time.
(a)
What speedup results?
(b)
What is the most any speedup of data movement could give?
Check
Reading a bit from DRAM costs 15 pJ; moving a bit across a logic die costs 0.05 pJ per mm, and near-memory logic sits 5 mm from its data.
(a)
What does fetching a 64-bit word off-chip cost?
Write units the way you normally would: 1.5 pJ and 0.0015 nJ are the same answer.
(b)
How many times cheaper is delivering it to the near-memory logic?
Check
MAC rate of a 128 × 128 crossbar at one product per 100 ns?
Check
Offload speedup, movement fraction 0.6, 8 times faster, 5% overhead?
Check
Aggregate PIM bandwidth, 2048 banks at 0.5 GB/s?
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