CXL Native · 独立 channel 反复 EMPTY

ACTUAL TUI CAPTURE · XPVKIT 0.5.5

检查四条读写 channel 的独立耗尽模式。 以下内容由同一份 CSV 经 release 工具实际打印,网页仅回放终端输出。

XPVKIT  ·  PV SUMMARY
traffic                                                                                 CXL Native / CSV cxl-native-1.0
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
2.40 µs  ·  4,162 rows  ·  integrity OK

ACTIVITY                      BANDWIDTH                     OUTSTANDING                   CREDIT EMPTY                 
─────────                     ─────────                     ───────────                   ────────────                 
90.42%                        total 60.46 GB/s              avg 34.42                     worst 10.00%                 
idle 230.00 ns                R 30.79  ·  W 29.67 GB/s      peak 46                       S2M_DRC[1] · 6 interval(s)   
                              peak 78.22 GB/s                                                                          
Partial write: 0.00% (0 / 1,006 known messages; 0 unknown) [partial-write opcode]

 TRAFFIC
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Write     transactions    1,006  /  64,384 B useful payload
Read      transactions    1,044  /  66,816 B useful payload
          partial BE                     0 / 1,006  (0.00%)

CHANNEL        MESSAGES           RATE  TOP OPCODES  
M2S_REQ           1,044  435.00 Mmsg/s  MemRd 1,044  
M2S_RWD           1,006  419.17 Mmsg/s  MemWr 1,006  
S2M_NDR           1,006  419.17 Mmsg/s  Cmp 1,006    
S2M_DRC           1,044  435.00 Mmsg/s  MemData 1,044

 LATENCY
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Write    avg 40.00 ns  p50 40.00 ns  p95 40.00 ns  max 40.00 ns
Read     avg 40.58 ns  p50 41.00 ns  p95 41.00 ns  max 43.00 ns

 INITIALIZATION
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
mem_mst     IDLE 0.00 ps → 2.00 ns  ·  INIT 2.00 ns → 4.00 ns  ·  RUN 4.00 ns → 2.36 µs  ·  DEINIT 2.36 µs → 2.38 µs  ·
            IDLE 2.38 µs → 2.40 µs                                                                                     
mem_slv     IDLE 0.00 ps → 2.00 ns  ·  INIT 2.00 ns → 4.00 ns  ·  RUN 4.00 ns → 2.36 µs  ·  DEINIT 2.36 µs → 2.38 µs  ·
            IDLE 2.38 µs → 2.40 µs                                                                                     

 MESSAGE SLOT USAGE
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Channel            Messages             Used / configured                       Peak simultaneous                     
 M2S_REQ            1,044                4 / 4                                   4                                     
 M2S_RWD            1,006                2 / 2                                   2                                     
 S2M_NDR            1,006                6 / 6                                   2                                     
 S2M_DRC            1,044                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 30.79 GB/s
                                                                                                  
Write BW  ▇▆▆▆▆▆▇▄▆▆▆▆▇▆▆▆▆▆▆▄▆▆▆▆▆▇▆▆▆▆▄▆▆▆▆▆▆▇▆▆▆▆▄▇▆▆▆▆▆▆▇▆▆▃▅▆▇▆▆▆▆▆▇▆▅▃▅▆▇▆▄▁  avg 29.67 GB/s
                                                                                                  
Read OS   ▅▇█▆█▇▇█▇█▇█▇▇▇▆█▇▇█▇█▇█▇▇▇▇█▇█▇▇█▇█▇▇▇▇█▇█▇▇█▇█▇▆▆▇█▇█▇▇█▇█▇▆▆▇█▇█▇▇█▇▃  avg 17.65     
                                                                                                  
Write OS  ▄▇▇▇▇▇▇▆▆▇▇▇▇▇▇▇▇▇▆▅▇▇▇▇▇▇▇▇▇▇▆▅▇▇▇▇▇▇▇▇▇▇▅▆▇▇▇▇▇▇▇▇▇▅▆▇▇▇▇▇▇▇▇▇▇▅▆▇▇▇▇▂  avg 16.77     

 CREDIT EMPTY
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
M2S_REQ[2]     ···▓·········▒▒·········█░········▒░·········▓·········▒▒···············    7.50%
M2S_RWD[0]     ······▒▓·········▓░········▒▓·········▓░········▒▓·········▓░···········   10.00%
S2M_NDR[4]     ·······▓▒········░▓·········▓▒········░▓·········▓▒········░▓···········    8.75%
S2M_DRC[1]     ····░▓·········▓░········░▓·········▓░········░▓·········▓░·············   10.00%
density        low ░▒▓█ high                                                                    

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

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

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

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

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