vxpu/engine: read n-gram tables straight from checkpoint files with io_uring #469
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 252 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.331
Real PR Conversation Timeline
1 comments
"Review active on #469"
general
weight: 0.35
justinsb
When checkpoint files are local (from a local blob directory or an
attached weights disk) and the step graph is off, read n-gram table rows
straight from the checkpoint files at their byte offsets using io_uring
instead of copying them to external_dir and memory-mapping them.
Why:
Measurements on c3d-standard-30-lssd (2,000 tokens, 96 reads/token):
Page cache dropped first (cold miss):
| method | local SSD mean (p99) | weights disk mean (p99) |
|---|---|---|
| mmap, 24 threads | 1.04 ms (1.56) | 8.79 ms (17.4) |
| pread, 24 threads | 0.92 ms (1.31) | 6.71 ms (11.5) |
| io_uring, 96 reads submit | 0.68 ms (0.83) | 4.05 ms (5.46) |
Cached rows: mmap 0.022 ms, pread 0.012 ms, io_uring 0.085 ms.
Table copy cost at load time:
Changes:
Fixes #452