Definition · MTBF, MTTR and steady-state availabilityFor a component that alternates between working and being repaired, MTBF is the mean length of a working interval and MTTR the mean length of a repair. Over many cycles the fraction of time spent working tends to A = MTBF/(MTBF + MTTR), which is the steady-state availability.
This course takes the failure rate as constant: a component that has run for a year is no likelier to fail in the next hour than one installed this morning. That is a modelling assumption and it is wrong for anything with a wear-out mode, but it is the assumption under which MTBF is a single number rather than a curve.
Theorem · The two levers are worth exactly the sameFor any M > 0 and R > 0, A(2M, R) = A(M, R/2).
A(2M, R) = 2M/(2M + R). Divide numerator and denominator by 2: = M/(M + R/2) = A(M, R/2).
Nothing about the sizes of M and R was used, so the equality holds everywhere, not merely for small R. The lab computes both fractions and compares them exactly; if they ever failed to agree the page would say so on its face.
□
Example · One thousand hours and one hourM = 1000 h, R = 60 min gives A = 3 600 000/3 603 600 = 1000/1001 = 99.90010%, which is three nines and 8 h 45 min 4.50 s of downtime a year across 8.75 cycles. Halve the repair to 30 minutes and A becomes 2000/2001 = 99.95002%, cutting the annual downtime to 4 h 22 min 40.12 s. Double the time between failures instead and A is 2000/2001 again, to the digit.
What a target demands of the repair process
Rearranging gives the two questions a target actually asks. MTTR = M(1 − A)/A is the repair time a target allows at the current reliability, and MTBF = R·A/(1 − A) is the reliability it would demand at the current repair time. Both are printed by the lab, and they are usually the moment a target stops being an aspiration.
target A = 99.99%, M = 1000 h
MTTR = M(1 − A)/A = 3 600 000 × (1/10000) / (9999/10000)
= 3 600 000/9999 = 360.036 s = 6 min 0.04 s
the same target at the current one-hour repair
MTBF = R·A/(1 − A) = 3600 × 9999 = 35 996 400 s = 9999 h
Four nines on a component that fails every thousand hours means detecting, diagnosing and fixing inside six minutes, every time. Stated that way the target is a claim about paging, automation and rollback rather than about hardware, which is the useful form of it. The alternative is running 9999 hours between failures, which is a different and generally slower project.
Why the unreliable machine wins
The misconception this lesson exists to break is that a machine which rarely fails is the available one. Availability does not count failures, it counts seconds, and a rare failure that lasts a day costs more seconds than eighty-seven failures that last six minutes each. Both machines are in the lab's reach: set 8760 hours against a 1440-minute repair and then 100 hours against a six-minute one.
Example · Two machines, one preferenceMachine A fails once a year and is repaired in a day: A = 365/366 = 99.72678%, 23 h 56 min 3.93 s down a year, two nines. Machine B fails every 100 hours — 87.51 times a year — and is repaired in six minutes: A = 1000/1001 = 99.90010%, 8 h 45 min 4.50 s down a year, three nines. Machine B breaks eighty-seven times as often and is down for a third as long.