schelk
Fast block-device rollback for repeatable large-dataset benchmarking
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install schelk?โผ
Run `npx skills add tempoxyz/schelk --all -g -y` in your terminal to install the skill globally. The schelk binary itself is built from source on a Linux host with `cargo install --path .`.
What problem does schelk solve?โผ
It restores large benchmark datasets, like database or reth datadirs, to a clean baseline in seconds instead of hours. It does this without the measurement distortion caused by ZFS, btrfs, or LVM overlays.
How does schelk make rollback fast?โผ
It tracks exactly which blocks were written using dm-era metadata on a ramdisk, then copies only those changed blocks back from the pristine virgin volume. Recovery time depends on how much was written, not the total volume size.
What hardware does schelk require?โผ
You need a Linux machine with two equal-size block devices (one virgin, one scratch) plus a ramdisk for metadata, typically 4 GiB for a 1.7 TiB drive. All operations require root privileges.
What happens if the machine reboots during a benchmark?โผ
Ramdisk metadata is lost on reboot, so incremental recovery is no longer safe. Run `schelk full-recover` to copy the entire virgin volume back to scratch before continuing.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core