kv_bench/plan_exec.md

21 lines
930 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# kv_bench 执行记录benchmark_refactor
## Phase 0已完成
- 日期2026-03-03
- 范围:
- 重构 `src/main.rs``rocksdb/main.cpp`,完成 v2 方法学最小清单:
- workload preset`W1..W6`
- mixed/read/scan 的 prefill + shared keyspace
- 时长模式:`--warmup-secs` / `--measure-secs`
- 显式 read path parity`--read-path snapshot|rw_txn`
- 统一 schema 结果落盘CSV并自动附带机器/环境元数据
- 更新脚本:`scripts/mace.sh`、`scripts/rocksdb.sh`、`scripts/plot.py`、`scripts/init.sh`
- 默认数据目录切换为 `/nvme` 体系(脚本强制 db_root 在 `/nvme` 下)
- 编译验证:
- `cargo check -q` 通过
- `cargo build --release -q` 通过
- `cmake --build --preset release -j` 通过
- 运行烟测:
- `mace``rocksdb` 均可按新参数运行并写入统一 schema 结果文件
- 提交:待本阶段 commit