- Case ID: mixed_file_to_blackhole
- Category: file
- Capability: parse_trans
- Topology: file -> blackhole
- Platforms: Mac M4 Mini / Linux (AWS EC2)
- 日志类型: Mixed Log (平均日志大小:886B)
- 平均大小: 平均日志大小:886B
- 能力: parse_trans
- 输入/输出: File -> BlackHole
- 说明: Mixed Log 场景,File 输入到 BlackHole 输出,执行 日志解析+转换 能力。
- 输入数据: benchmark/case_file/parse_to_blackhole/data/in_dat/gen.dat(数据文件) / benchmark/case_file/parse_to_blackhole/conf/wpgen.toml(生成器配置)
- 事件数: 支持
-m(中等规模)与 -c(指定条数),事件含义与生成器配置保持一致
- 编码/分隔: UTF-8 / LF
- 混合比例: 3:2:1:1(nginx:aws:firewall:apt)
- WarpParse: benchmark/case_file/parse_to_blackhole/conf/wparse.toml(规则目录:benchmark/models/wpl/mixed;解析+转换使用 benchmark/models/oml)
- Vector-VRL: benchmark/vector/vector-vrl_transform/mixed_file_to_blackhole.toml
- Vector-Fixed: benchmark/vector/vector-fixed_transform/mixed_file_to_blackhole.toml
- Logstash: benchmark/logstash/logstash_trans/mixed_file_to_blackhole.conf
- 结束条件: 消费完等量事件(或按数据集规模),如需按时间结束请补充
- 并发/Worker: 默认配置(wparse 的 parse_workers 以配置为准)
- 重复次数: 默认单次;建议 N=3 取 median
- EPS: Events Per Second
- MPS: MiB/s,公式:
MPS = EPS * AvgEventSize / 1024 / 1024
- CPU: 多核累计百分比(例如 800% ≈ 8 个逻辑核满载)
- MEM: 进程内存占用(Avg/Peak)
- Rule Size: 规则配置体积
| 引擎 | EPS | MPS | CPU (Avg/Peak) | MEM (Avg/Peak) | 性能倍数 |
| WarpParse | 204,400 | 172.71 | 566% / 663% | 196 MB / 265 MB | 4.45x |
| Vector-VRL | 45,909 | 38.79 | 469% / 683% | 204 MB / 225 MB | 1.00x |
| Vector-Fixed | 48,484 | 40.97 | 541% / 714% | 178 MB / 209 MB | 1.06x |
| Logstash | 32,967 | 27.86 | 573% / 685% | 1150 MB / 1172 MB | 0.72x |
| 引擎 | EPS | MPS | CPU (Avg/Peak) | MEM (Avg/Peak) | 性能倍数 |
| WarpParse | 659,700 | 557.42 | 889% / 940% | 170 MB / 184 MB | 3.80x |
| Vector-VRL | 173,750 | 146.81 | 784% / 860% | 278 MB / 299 MB | 1.0x |
| Vector-Fixed | 178,261 | 150.62 | 772% / 836% | 273 MB / 298 MB | 1.03x |
| Logstash | 50,505 | 42.67 | 911% / 939% | 1249 MB / 1276 MB | 0.29x |
- 对齐说明: 参见
benchmark/report/test_sample.md
- 抽样方式: 运行 file 输出链路进行抽样对比,检查关键字段与 Golden 输出一致
- 输出路径约定:
benchmark/case_file/parse_to_file/data/out_dat/(如需校验可切换到 file 输出)
- 实例规格: 若为 TBD,不影响 file 场景口径,但建议补齐以便复现
- 限制: 单机测试,未覆盖分布式/HA
- Mac 报告: benchmark/report/report_mac.md#325-mixed-log-平均日志大小886b(章节 3.2.5)
- Linux 报告: benchmark/report/report_linux.md#325-mixed-log-平均日志大小886b(章节 3.2.5)
- 规则说明: benchmark/report/test_rule.md
- 样本对齐: benchmark/report/test_sample.md