# A zero wear counter needs an exposure denominator

## Source and scope

Maneas, Mahdaviani, Emami and Schroeder, *Operational Characteristics of SSDs
in Enterprise Storage Systems: A Large-Scale Field Study*, FAST 2022,
pp. 165-180. Section 3.1.2, equation 1 and footnote 1 on printed p. 169
(PDF page 6):
https://www.usenix.org/system/files/fast22-maneas.pdf
Accessed 2026-11-25 UTC.

The paper divides cumulative percentage of the P/E limit used by power-on
years. Its footnote identifies the cumulative percentage as a truncated
integer. It also discusses a zero-valued group and very long extrapolated
wear-out times. The calculation below examines what that measurement
contract alone identifies. We did not obtain per-drive records, reconstruct
the paper's CDF, or estimate how many drives violate any proposed rate bound.
This is an original arithmetic interpretation, not a replicated field result.

## Derivation

Let u be the unrounded cumulative usage, in percentage points of a specified
P/E limit, and q = floor(u) its reported integer. Assume a nonnegative,
unsaturated counter with no reset and known floor truncation, not rounding
to nearest. Let h > 0 be the exact matched power-on exposure in hours.
For the examples only, one year is 365 days = 8,760 hours.

From q <= u < q + 1, multiplying by the positive factor 8,760/h gives:

    q * 8760 / h <= annualized usage < (q + 1) * 8760 / h

The unit is percentage points of the reference P/E limit per power-on year.
The lower endpoint is included and the upper endpoint is excluded.
These are deterministic quantization bounds, not confidence intervals.
They concern a cumulative average, not the most recent interval's rate.

For q = 0, the upper endpoint is 1/t where t is power-on years. An upper
bound below or equal to 1 requires at least one power-on year. A zero
reading without exposure therefore does not establish a sub-1-percent
annualized rate. For example, u = 0.9 over t = 0.25 is reported as zero,
although its cumulative annualized rate is 3.6.

## Constructed examples

| Reported cumulative percent | Power-on hours | Annualized feasible interval |
| --- | ---: | --- |
| 0 | 2190 | [0, 4) |
| 0 | 8760 | [0, 1) |
| 0 | 43800 | [0, 1/5) |
| 7 | 17520 | [7/2, 4) |

Every interval uses the units above. These inputs are invented for
illustration, not sampled from NetApp or measured on hardware. The module
returns reduced rational strings and explicit endpoint semantics; it does
not silently round a small bound to zero.

## Reproduce and limits

Place usage-rate.mjs and usage-rate.test.mjs together, then run:

    node --test usage-rate.test.mjs

The tests include literal examples, invalid/missing input rejection,
cross-product checks for 12,060 exact rational points, and values whose
intermediate products exceed safe Number precision.

Do not apply this contract to an unknown vendor SMART field or NVMe
Percentage Used without checking that field's definition and rounding rule.
A saturated, reset, missing or asynchronously updated counter requires
different handling. Rounded power-on exposure would add another interval.
Power-on years are not necessarily calendar years.

Even a correctly bounded historical rate is not a remaining-life forecast.
Changing workloads, other failure mechanisms, retention requirements,
block retirement and the meaning of the reference limit remain outside
this arithmetic. No replacement deadline or safe write budget is inferred.


## Two matched snapshots: a zero increment is not no wear

Follow-up source review: 2026-11-26 UTC. The same FAST 2022 measurement
contract motivates the following new derivation. This is not an assertion
that the authors estimated recent-interval rates by subtracting counters.

Let q0 = floor(u0) and q1 = floor(u1) be fresh readings of the same
nondecreasing cumulative quantity. Require the same physical identity,
reference P/E limit, block population and accounting scope, with no reset,
wrap, saturation, missing reading or retrospective recalibration. The exact
matched power-on interval h must be positive. These preconditions are not
established merely by passing integers to the calculation.

Write u0 = q0 + a and u1 = q1 + b, with a and b in [0, 1).
For d = q1 - q0:

- If d = 0, monotonicity gives u1 - u0 in [0, 1).
- If d >= 1, u1 - u0 is in (d - 1, d + 1), with both endpoints excluded.
- If d < 0, this model is inconsistent; do not clamp the increment to zero.

These bounds are sharp. For positive d, choosing a close to one and b = 0
approaches the lower endpoint; a = 0 and b close to one approaches the
upper endpoint. Neither endpoint is reached. When d = 0, a = b attains
zero. Every interior increment has compatible fractional offsets.

Multiply these intervals by 8760/h to obtain the interval-average usage
in percentage points of the reference P/E limit per power-on year.
It is a historical interval average, not instantaneous or forecast wear.

### Constructed comparisons

For two readings 24 power-on hours apart:

- 7 -> 7 gives [0, 365), not an exact zero annualized rate.
- 7 -> 8 gives (0, 730), not an exact 365 annualized rate.
- Hidden readings 7.99 -> 8.00 and 7.00 -> 8.99 both give 7 -> 8,
  but their true increments are 0.01 and 1.99 percentage points.

These deliberately broad bounds are a consequence of limited measurement
resolution, not evidence of rapid physical wear. The positive-step interval
width is 2 * 8760/h. A longer matched interval reduces this quantization
width but can average over workload changes. Do not add adjacent pairwise
widths as if independent: the shared intermediate reading cancels when
summing true increments, so recompute a total from its outer endpoints.

### Counter freshness is a separate limitation

Microsoft's official NVME_HEALTH_INFO_LOG documentation describes
PercentageUsed as a vendor-specific life estimate refreshed each power-on
hour outside sleep, with values above 254 represented by 255:
https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_health_info_log
Accessed 2026-11-26 UTC. This does not supply a universal floor-truncation
rule. Frequent polling cannot manufacture finer underlying updates.
Do not apply the floor-based intervals above directly to this NVMe field,
a capped value or stale/asynchronously sampled telemetry.

The existing usage-rate.mjs now exports intervalUsageBounds, with exact
rational strings and an explicit lowerInclusive flag; the upper endpoint
is always excluded. The original annualizedUsageBounds API is unchanged.
The interval tests enumerate 54,810 nondecreasing rational endpoint pairs,
check open/closed boundaries and large integers, and reject invalid inputs.
No raw fleet data, new device experiment, confidence interval or remaining
life estimate is claimed.
