S4 · Problem set 8
Problem set 8: warehouse-scale computing, accelerators, dependability, storage and evaluation
These problems cover lessons 37 to 46: side channels, near-data computing, PUE, energy proportionality and electricity cost, tail latency and failure rates, systolic arrays and accelerator rooflines, availability, redundancy and RAID, disk access, PCIe links, DMA and interrupt coalescing, queueing, SSD lifetime, sampling and CPI stacks.
Check
20000 servers peak at 250 W, idle at 0.6 of peak and run at 0.4 utilization, with PUE 1.1 and electricity at 60 dollars per MWh.
(a)
Average power per server?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
Monthly electricity cost (730 hours), in dollars?
Check
A server idles at 0.25 of peak and runs at 0.15; requests fan out to 300 servers, each slow with probability 0.01.
(a)
Energy efficiency relative to full load?
(b)
Fraction of requests that are slow?
Check
30000 servers with an MTTF of 4 years; the facility draws 25 MW in total for 20 MW of IT load.
(a)
Failures per day?
(b)
PUE?
Check
A 128 × 128 systolic array at 0.9 GHz runs passes of 1000 input vectors.
(a)
Peak rate?
(b)
Utilization of a pass?
Check
A layer of width 600 on an array of width 128; separately, an accelerator of 250 TOPS and 600 GB/s running a layer that reuses each 8-bit weight across a batch of 8.
(a)
Tiling efficiency?
(b)
Attainable rate?
Check
A component with MTTF 30000 hours and MTTR 8 hours; and a service of 3 independent replicas each available 0.999.
(a)
The component's unavailability?
(b)
The service's nines?
Check
A server needs parts with MTTFs of 150000, 80000 and 1000000 hours; a RAID 5 array has 10 disks of MTTF 1000000 hours and a 72-hour rebuild.
(a)
Server MTTF?
(b)
RAID 5 MTTDL in years?
Check
A disk with a 5 ms seek, 7200 RPM and 280 MB/s transfer reads 128 KB at random.
(a)
Rotational latency?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(b)
Random reads per second?
Check
A device with a 2 ms service time gets 50 random requests per second.
(a)
Mean response time (M/M/1)?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(b)
Average number in the system?
(c)
Highest rate for a 30 ms mean response?
Check
An SSD of 1 TB, 1000 P/E cycles, write amplification 3.5, with 400 GB of host writes a day; a service available 0.995 of the time.
(a)
SSD lifetime?
(b)
Service downtime per year?
Check
Sampling a CPI with coefficient of variation 0.4 at z = 1.96; separately, 200 billion instructions on a 50 thousand instruction per second simulator.
(a)
Samples for ±0.03?
(b)
Full detailed simulation time?
Check
A CPI stack of base 0.55, branches 0.08, L2 0.25, memory 1.4; and two equal-work programs at 60 and 300 MFLOPS.
(a)
Speedup if memory stalls shrink to 0.5 of their size?
(b)
Overall rate of the two programs?
Check
A cache timing channel sends one symbol per 1000 cycles at 2 GHz and misreads 0.15 of them.
(a)
What information rate can it reach?
Check
A kernel spends 0.6 of its time moving data; offloading makes that 8 times faster at an overhead of 0.06.
(a)
What speedup results?
Check
A crossbar of 64 × 64 resistive cells completes one matrix-vector product every 100 ns.
(a)
What multiply-accumulate rate is that?
Check
An SSD on a PCIe link of 4 lanes at 16 GT/s (128b/130b) has 100 µs of read latency.
(a)
What is the link's per-direction bandwidth?
(b)
How many reads must be in flight for 1 million reads per second?
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
16 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.