mirror of
https://github.com/sched-ext/scx.git
synced 2026-12-03 15:20:51 +00:00
Upstream carries cake 1.4.1 with a trimmed doc set. The nightly keeps the dated research folders that STATE and the later nightly commits link to. No source file changes.
Cake documentation map
Source and STATE come first; dated documents describe the builds they examined. Paths stay stable for existing citations.
flowchart LR
S[STATE<br/>now · ledger · owed] --> D[DESIGN<br/>behaviour]
S --> R["research/<br/>investigations"]
R --> B[("scx_cake_bench/runs<br/>raw data")]
S -. settled .-> A["archive/"]
U[README<br/>build · flags · kernels] --> D
🚩 Start here
| Need | Document |
|---|---|
| 🚀 Build, flags, stock vs patched kernel, limits | README |
| ⚙️ Scheduling policy | DESIGN |
| 📌 Status, pattern ledger, owed work | STATE |
| 📜 Rules | repository-root CLAUDE.md (local) |
| 📏 Measurement method | PERFORMANCE |
| 💲 Instruction and kernel-call costs | cost audit |
| 🧩 Kernel patch research | research index |
| 🎮 Sep 28 nightly game evidence | KovaaK's A/B |
| 🛠️ Tools | bench · TOOLING |
| 🗂️ Folders and local-only files | STRUCTURE |
| 📊 Meeting page | meeting/index.html |
| 🗄️ History, rejected ideas | archive · archive/STATE_ARCHIVE.md |
📅 Dated references
| Document | Role |
|---|---|
| Kernel tool inventory | kernel capability survey; verify against the target kernel |
| RT placement | placement rationale |
| Predict/verify audit | cost and design reasoning |
| ADPF/LLF · new constructs · construct theory | candidate mechanisms, not defaults |
| Signals audit | signal inventory |
| G21/G23 review · Diablo analysis | construct review, workload diagnosis |
🧹 Keeping it tidy
| Rule |
|---|
New investigation → docs/research/<topic>/README.md: verdict row, question, patch, evidence table, kernel need, open gates |
Bulk measurement output stays in scx_cake_bench/runs/: link it, don't copy it |
| STATE carries conclusions; README and DESIGN change only with behaviour |
| Archive a finished investigation after fixing inbound links |
Style: tables, status symbols (✅ ❌ ➖ 🧪 ⏳ · 🐧 🧩), mermaid flows, <details> for evidence; prose only for what a table cannot hold |
♻️ Older bulk scratch: scx_cake_bench/history/imported_from_scx_repo/ (restore with
zstd -dc <tarball> | tar -xf -) · deleted docs: git log --diff-filter=D --name-only -- scheds/rust/scx_cake/docs/.