What problem does it solve?
schelk eliminates slow, measurement-distorting benchmark reset cycles by restoring large on-disk datasets to a pristine baseline quickly.
Core Features & Use Cases
- Fast rollback without CoW/overlay distortion: runs benchmarks directly on an ext4 scratch device while using dm-era metadata to track changed blocks, then restores only those blocks from a pristine virgin device.
- Safe, stateful workflow for benchmarking loops: supports init-new, init-from, mount, recover, restore, promote, status, and full-recover for post-crash or post-reboot safety.
- Guardrails to prevent data loss and incorrect results: includes Linux-only enforcement, root-only operation, integrity checks (e.g., superblock hash), and destructive-action confirmations for destructive commands.
Quick Start
Use the schelk skill to set up virgin and scratch block devices and then run: schedule init-new, mount, run your benchmark workload, and recover back to the baseline.