CXL Native · 全双工流量

ACTUAL TUI CAPTURE · XPVKIT 0.5.5

比较 M2S/S2M 消息、双向带宽与事务关联。 以下内容由同一份 CSV 经 release 工具实际打印,网页仅回放终端输出。

XPVKIT  ·  PV SUMMARY
traffic                                                                                 CXL Native / CSV cxl-native-1.0
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
940.00 ns  ·  6,412 rows  ·  integrity OK

ACTIVITY                      BANDWIDTH                     OUTSTANDING                   CREDIT EMPTY                 
─────────                     ─────────                     ───────────                   ────────────                 
89.36%                        total 243.81 GB/s             avg 136.17                    worst 0.00%                  
idle 100.00 ns                R 121.90  ·  W 121.90 GB/s    peak 160                      no exhaustion recorded       
                              peak 256.00 GB/s                                                                         
Partial write: 0.00% (0 / 1,600 known messages; 0 unknown) [partial-write opcode]

 TRAFFIC
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Write     transactions    1,600  /  102,400 B useful payload
Read      transactions    1,600  /  102,400 B useful payload
          partial BE                      0 / 1,600  (0.00%)

CHANNEL        MESSAGES           RATE  TOP OPCODES  
M2S_REQ           1,600  1702.13 Mmsg…  MemRd 1,600  
M2S_RWD           1,600  1702.13 Mmsg…  MemWr 1,600  
S2M_NDR           1,600  1702.13 Mmsg…  Cmp 1,600    
S2M_DRC           1,600  1702.13 Mmsg…  MemData 1,600

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

 INITIALIZATION
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
mem_mst     IDLE 0.00 ps → 2.00 ns  ·  INIT 2.00 ns → 4.00 ns  ·  RUN 4.00 ns → 900.00 ns  ·  DEINIT 900.00 ns → 920.00
            ns  ·  IDLE 920.00 ns → 940.00 ns                                                                          
mem_slv     IDLE 0.00 ps → 2.00 ns  ·  INIT 2.00 ns → 4.00 ns  ·  RUN 4.00 ns → 900.00 ns  ·  DEINIT 900.00 ns → 920.00
            ns  ·  IDLE 920.00 ns → 940.00 ns                                                                          

 MESSAGE SLOT USAGE
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Channel            Messages             Used / configured                       Peak simultaneous                     
 M2S_REQ            1,600                2 / 4                                   2                                     
 M2S_RWD            1,600                2 / 2                                   2                                     
 S2M_NDR            1,600                6 / 6                                   2                                     
 S2M_DRC            1,600                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 121.90 GB/s
                                                                                                   
Write BW  ████████████████████████████████████████████████████████████████████▆▁▁▁  avg 121.90 GB/s
                                                                                                   
Read OS   ▂▅▇██████████████████████████████████████████████████████████████████▆▅▂  avg 68.09      
                                                                                                   
Write OS  ▂▅▇██████████████████████████████████████████████████████████████████▆▅▂  avg 68.09      

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

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

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

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

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