Skip to main content

The Ops Zoo

Operational Thresholds and Training-Run Profiles

The Ops Zoo provides operational anchors for fleet operations: PSI drift thresholds, KS-test coefficients, memory bit-error rates, and reusable training-run goodput-loss profiles used in MLOps, robust-AI, and distributed-training chapters.

Monitoring & Drift Thresholds (Ops.Monitoring)

Entry Value Description
Evidently K-S reference-row limit 1000 Evidently runs the two-sample K-S test at this many reference rows or fewer, the normed Wasserstein distance above.
Evidently K-S p-value threshold 0.05 Drift when the K-S p-value is at most this value.
Evidently normed Wasserstein threshold 0.1 Drift when the Wasserstein distance divided by the reference standard deviation is at least this value.
KS-test coefficient 1.36 Asymptotic two-sample Kolmogorov-Smirnov 5% threshold coefficient.
Memory soft-error rate per bit 1e-17 Order-of-magnitude bit-error rate used for reliability and monitoring examples.
PSI critical threshold 0.25 Population Stability Index threshold for critical drift.
PSI review threshold 0.2 Population Stability Index threshold for manual review.
PSI warning threshold 0.1 Population Stability Index threshold for drift warning.
Error-budget period (days) 30 The SLO is measured over a rolling 30-day window.
Fast-burn paging rate 14.4 Page when the budget burns 14.4 times too fast over the long window.
Fast-burn long window (hours) 1 Long window of the fast-burn page; its short window is 5 minutes.
SLO target in the burn-rate alerting example 0.999 A 99.9 percent success objective; the error budget is the remaining 0.1 percent.
Slow-burn paging rate 6 Page when the budget burns 6 times too fast over the long window.
Slow-burn long window (hours) 6 Long window of the slow-burn page; its short window is 30 minutes.
Ticket burn rate 1 Open a ticket when the budget burns at the sustainable rate over the long window.
Ticket long window (days) 3 Long window of the ticket alert; its short window is 6 hours.

Training Run Overheads (Ops.TrainingRunOverheads)

Entry Value Description
Checkpoint overhead 0.03 Asynchronous checkpointing overhead fraction.
Failure recovery overhead 0.1 Failure and restart overhead fraction at 10k+ GPU scale.
Maintenance overhead 0.05 Rolling upgrade and maintenance-window overhead fraction.
Pipeline bubble overhead 0.05 Pipeline-parallel bubble overhead fraction for a well-tuned training run.
Scheduler and preemption overhead 0.17 Goodput-loss fraction from scheduling delays and preemption on a shared fleet.

Runtime Dispatch Overheads (Ops.RuntimeOverheads)

Entry Value Description
Kernel launch overhead 5 µs Reference accelerator kernel-launch overhead for tiny operations.
Python dispatch overhead 10 µs Reference Python-to-runtime dispatch overhead for tiny eager operations.
Tiny memory access overhead 1 µs Reference memory-access overhead term used in small-operation fusion models.

Memory Protection & ECC (Ops.MemoryProtection)

Entry Value Description
ECC parity overhead 0.125 Reference SECDED-style ECC parity fraction for protected memory.
No-ECC bandwidth overhead 0 Reference overhead for memory configurations without ECC protection.

Preemption & Recovery (Ops.Preemption)

Entry Value Description
AWS Spot interruption notice 120 s Warning time AWS gives before reclaiming a Spot instance (two minutes).
Google Cloud preemptible/Spot VM notice 30 s Warning time Google Cloud gives before preempting a preemptible or Spot VM.

Python Access

import mlsysim

psi_warn = mlsysim.Ops.Monitoring.PsiWarnThreshold
psi_critical = mlsysim.Ops.Monitoring.PsiCriticalThreshold
checkpoint_overhead = mlsysim.Ops.TrainingRunOverheads.Checkpoint

These are assumption tables for teaching and appendix lineage, not live alerting defaults for production systems.

Back to top