CXL Native · 同一 slot 反复 EMPTY

ACTUAL TUI CAPTURE · XPVKIT 0.5.5

观察同一个物理 slot 多次耗尽与恢复。 以下内容由同一份 CSV 经 release 工具实际打印,网页仅回放终端输出。

XPVKIT  ·  PV SUMMARY
traffic                                                                                 CXL Native / CSV cxl-native-1.0
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1.50 µs  ·  3,560 rows  ·  integrity OK

ACTIVITY                      BANDWIDTH                     OUTSTANDING                   CREDIT EMPTY                 
─────────                     ─────────                     ───────────                   ────────────                 
87.60%                        total 85.87 GB/s              avg 47.23                     worst 20.67%                 
idle 186.00 ns                R 31.17  ·  W 54.70 GB/s      peak 66                       M2S_RWD[0] · 10 interval(s)  
                              peak 116.36 GB/s                                                                         
Partial write: 0.00% (0 / 1,123 known messages; 0 unknown) [partial-write opcode]

 TRAFFIC
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Write     transactions    1,123  /  71,872 B useful payload
Read      transactions      640  /  40,960 B useful payload
          partial BE                     0 / 1,123  (0.00%)

CHANNEL        MESSAGES           RATE  TOP OPCODES
M2S_REQ             640  426.67 Mmsg/s  MemRd 640  
M2S_RWD           1,123  748.67 Mmsg/s  MemWr 1,123
S2M_NDR           1,123  748.67 Mmsg/s  Cmp 1,123  
S2M_DRC             640  426.67 Mmsg/s  MemData 640

 LATENCY
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Write    avg 40.00 ns  p50 40.00 ns  p95 40.00 ns  max 40.00 ns
Read     avg 40.50 ns  p50 40.50 ns  p95 41.00 ns  max 41.00 ns

 INITIALIZATION
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
mem_mst     IDLE 0.00 ps → 2.00 ns  ·  INIT 2.00 ns → 4.00 ns  ·  RUN 4.00 ns → 1.46 µs  ·  DEINIT 1.46 µs → 1.48 µs  ·
            IDLE 1.48 µs → 1.50 µs                                                                                     
mem_slv     IDLE 0.00 ps → 2.00 ns  ·  INIT 2.00 ns → 4.00 ns  ·  RUN 4.00 ns → 1.46 µs  ·  DEINIT 1.46 µs → 1.48 µs  ·
            IDLE 1.48 µs → 1.50 µs                                                                                     

 MESSAGE SLOT USAGE
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Channel            Messages             Used / configured                       Peak simultaneous                     
 M2S_REQ            640                  4 / 4                                   4                                     
 M2S_RWD            1,123                2 / 2                                   2                                     
 S2M_NDR            1,119                6 / 6                                   2                                     
 S2M_DRC            640                  2 / 2                                   2                                     
Issued messages in the statistics window; peak counts distinct slots at one timestamp. These are message slots, not 
inferred buffer lifetimes.

 PV TREND
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Read BW   ▁▁▃▆▃▅▅▄▅▃▅▅▃▅▅▃▅▅▃▅▄▅▅▃▆▄▄▆▃▅▅▄▅▃▅▅▃▅▅▃▅▅▃▅▄▅▅▃▆▄▄▆▃▅▅▄▅▃▅▅▃▅▅▃▅▅▃▅▄▅▅▃  avg 31.17 GB/s
                                                                                                  
Write BW  █▇▇▇▆▅█▇▇▇▆▄█▇▇▇▇▅█▇▇▇▇▅▅▆▇▇▇▇▅▅▇▇▇▇▇▄▄▇▇▇█▇▅▆▇▇█▇▅▄▆▇█▇▇▇▅▆█▇▇▇▆▄▅▇▇▇▂▁  avg 54.70 GB/s
                                                                                                  
Read OS   ▂▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▄▂  avg 17.28     
                                                                                                  
Write OS  ▃▇███▆▆████▆▆▇███▇▆▇███▇▅▆████▇▆▇████▇▅▆▇███▇▆▇███▇▆▆█████▇▆▇████▆▅▇██▇▃  avg 29.95     

 CREDIT EMPTY
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
M2S_RWD[0]     ····░█····▓▒···░▓····▓█░···▒▓····▓█░···░▓····▓▓····░█░···▒█▒············   20.67%
density        low ░▒▓█ high                                                                    

 INTEGRITY
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Protocol checks  OK  no structural or transaction-matching issues detected

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Active window  20.00 ns → 1.33 µs  ·  auto-active  ·  1 region
Bandwidth: accepted-data; transactions / latency / outstanding / backpressure: capture
HTML report           pvkit/examples/cxl_native/repeated_empty/traffic.pv.html                                         
Tracker log           pvkit/examples/cxl_native/repeated_empty/traffic.tracker.log                                     
Analyze log           pvkit/examples/cxl_native/repeated_empty/traffic.analyze.log                                     

使用已有的 xpvkit 0.5.5 工具,从仓库根目录复现(Rich 为彩色 TUI 的可选依赖):

python xpv.pyz analyze pvkit/examples/cxl_native/repeated_empty/traffic.csv --report-mode standard --trend all

默认带宽按实际数据活动窗口计算;事务、延迟与诊断保留完整 capture 范围。TUI 是输出式报告,鼠标选窗与事务查询请打开交互 HTML。