S4 Computer architecture · Practice
Storage and I/O
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.
Check
What's the average rotational latency of a 7200 RPM disk?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A disk has an 8 ms average seek, spins at 7200 RPM and transfers 250 MB/s. How long does a random 64 KB read take, ignoring controller overhead?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
Requests arrive at random, 20 per second, at a device whose mean service time is 5 ms. What's the mean response time by the M/M/1 model?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
Requests arrive at 200 per second and each spends 5 ms in the system on average. How many are in the system on average?
Check
A device's mean service time is 4 ms. What's the highest arrival rate, per second, that keeps the M/M/1 mean response time at 10 ms?
Check
An SSD of 2 TB has cells rated for 600 program/erase cycles and a write amplification of 4. The host writes 200 GB a day. How many years does it last?
Check
A disk spins at 7200 RPM, seeks in 4 ms on average and transfers at 250 MB/s.
(a)
How long does a random 4 KB read take?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(b)
How many can it do per second?
Check
A server takes 5 ms per request, and requests arrive at 20 per second (M/M/1).
(a)
What is its utilization?
(b)
What is the mean response time?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(c)
How many requests are in the system on average?
Check
Rotational latency at 7200 RPM?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
M/M/1 response: service 3 ms, 60 per second?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
Little's law: 100 per second, 8 ms each?
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