docs: close phase174 mounted NVMe attribution

This commit is contained in:
pingqiu committed 2026-08-01 04:39:00 -07:00
1 parent 67499939d3
commit eab334eff6
2 files changed
+95 -4

No files matched your search

+15 -4
View File
@@ -1,6 +1,7 @@
# Current Plan: Phase 174 Frontend And Replication Execution Architecture
Status: active. Phase 173 closed with no storage-backend change. Phase 174 D1
Status: closing with no architecture candidate. Phase 173 closed with no
storage-backend change. Phase 174 D1
completed its local fixed-work matrix at `ed270f3`: direct WALStore was stable,
but durable-adapter RF1 remained above the unchanged `1.25x` range limit. D1 is
HOLD. D2's RF1 slice at `4034f37` reconciled all counters and attributed the
@@ -17,9 +18,11 @@ queues. Four-queue accumulated latency splits into R2T collection `30.10 us/op`,
client/wire residual `15.92 us/op`, handler `8.20 us/op`, completion send
`3.71 us/op`, and smaller receive/dispatch/queue phases. Cross-run D1 stability
remains HOLD because the prior semantically identical one-queue run reached
`1.530x`; instrumentation alone is not a stability fix. R2T is a bounded mounted
kernel-initiator diagnostic next, not yet an architecture candidate. No
architecture implementation is eligible.
`1.530x`; instrumentation alone is not a stability fix. The exact mounted
kernel gate passed at `415942e`: all 8,200 writes were inline, none used R2T,
all phase counters reconciled, the handler bucket dominated, mounted data was
verified, and cleanup was zero. The synthetic R2T shape therefore does not
represent the shipped mounted path. No architecture implementation is eligible.
## Why This Is Next
@@ -106,6 +109,11 @@ payload semantics is not a candidate.
`perf`, and network/device evidence.
- Separate accumulated concurrent wait from wall time.
Result: complete. RF1 variance followed flusher overlap, RF3 management-LAN
evidence selected no candidate, synthetic NVMe/TCP phases reconciled, and the
mounted kernel cross-check proved that the synthetic R2T-dominant shape does
not occur on the shipped mounted write path.
### D3. Architecture Controls And Selection
Run test-only controls for:
@@ -119,6 +127,9 @@ Run test-only controls for:
Select at most one direction only when the effect is stable and at least
`1.30x` on the four-writer admission shape. Otherwise select no change.
Result: no change selected. No measured frontend, adapter, or replication
direction met the stability, comparable-shape, and gain requirements together.
### D4. Selected Architecture Contract
Required only if D3 selects a candidate. Define owner, queue, admission,
@@ -0,0 +1,80 @@
# Phase 174 D2 Mounted NVMe Phase Profile QA Sign-off
Verdict: **PASS.** The shipped Linux kernel mounted path uses inline NVMe Write
capsules for this workload, not the synthetic gate's R2T shape. No frontend
architecture candidate is selected.
## Source And Evidence
```text
source_commit=415942e2796590304c255dd8b8950f4aa3c327fc
host=m02
initiator=linux_kernel_nvme_tcp
workload=mounted_ext4_sequential_write
frontend_network_class=100gbe_tcp
artifact=/mnt/smb/work/share/g15d-k8s/20260801T113154Z-phase174-mounted-nvme.tar.gz
sha256=b4ff3807416a3405e055df702d96cc67f2364be2e280909a051075754a84f9d3
```
The gate installed the normal external NVMe/TCP path, mounted an ext4 PVC from
the Linux kernel initiator, measured a 256 MiB sequential write, verified the
read data, deleted the PV before CSI teardown, and returned the lab to zero
residue.
## Counter Reconciliation
The `/status/nvme` snapshots before and after the measured write reported:
```text
mounted_nvme_write_ops=8200
mounted_nvme_inline_write_ops=8200
mounted_nvme_r2t_write_ops=0
mounted_nvme_write_bytes=268509184
mounted_nvme_phase_counter_reconciliation=true
synthetic_fixed_work_write_shape=r2t
mounted_write_shape=inline
synthetic_fixed_work_write_shape_matches_mounted=false
```
Capsule receive/parse, dispatch, handler, completion queue, and completion-send
counts each equal all 8,200 writes. R2T collection equals the zero R2T writes,
and no H2C data was reported. This is a valid inline shape, not missing work.
## Mounted Attribution
```text
seq_write_mibps=156.00
seq_read_mibps=478.50
capsule_receive_parse=57.553 us/op
r2t_collection=0.000 us/op
dispatch_wait=43.502 us/op
handler=3037.612 us/op
completion_queue_wait=26.420 us/op
completion_send=40.316 us/op
server_phase_total=3205.404 us/op
mounted_nvme_dominant_phase=handler
```
These are accumulated concurrent durations and must not be compared directly
with wall-clock latency. The mounted workload also differs from the synthetic
fixed-work operation shape, so no cross-workload throughput ratio is allowed.
## Decision
- The synthetic loopback test client's R2T collection cost is not representative
of this shipped mounted kernel path. An R2T optimization is rejected as a
Phase 174 product candidate.
- The mounted handler bucket dominates, but it includes the durable backend
call and does not isolate a new frontend ownership problem. Existing adapter
and backend evidence does not provide a stable qualifying candidate.
- `mounted_shape_comparable=false`,
`fixed_work_throughput_ratio_allowed=false`, and
`architecture_candidate_selected=false` remain required.
- `final_data_verified=true`, `pv_deleted_before_csi_uninstall=true`, and
`cleanup_status=ok` passed. Independent post-run checks found no Helm,
pod/PVC/PV, SwBlock CRD, or NVMe subsystem residue.
The failed predecessor run at `d111454` is retained as harness evidence: the
product path and cleanup passed, but the wrapper incorrectly required a
positive R2T count. Commit `415942e` fixed only that gate assumption and the
exact-commit rerun passed.