Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Recipes

Task-oriented walkthroughs. Each recipe is self-contained: pick the one that matches your problem and follow it top to bottom. For the model behind the commands, read Core Concepts; for flag-by-flag detail, the Running Tests chapters.

Note

Two binaries appear below. cargo ktstr <subcommand> is the host-side cargo wrapper for test workflows; bare ktstr is the guest-init binary that doubles as a host CLI for a few tools (ctprof, topo, locks). Both install with cargo install ktstr. See cargo ktstr and ktstr (standalone).

Which recipe do I want?

SymptomRecipe
I have a scheduler binary and no testsTest a New Scheduler
A test failed and the scheduler diedInvestigate a Crash
Default checks don’t fit my scheduler — or nothing is checked at allCustomize Checking
I want gates that catch performance regressions — and proof they fireBenchmark Gates and Negative Tests
Is my scheduler at least as good as the kernel default?Compare a Scheduler vs EEVDF

Three recipes compare two runs. They answer different questions:

Two runs differ because…Recipe
…the scheduler source changed (branch vs baseline commit)A/B Compare Branches
…a workload got slower even though tests still passDiagnose a Slow Scheduler with ctprof
…the host changed (machine, reboot, sysctl drift)Capture and Compare Host State

All recipes

In rough lifecycle order: