Skip to content

ub_bench Version 1 - #1

Open
Baoshan-hw wants to merge 3 commits into
LinQuickDev:mainfrom
Baoshan-hw:main
Open

Baoshan-hw wants to merge 3 commits into
LinQuickDev:mainfrom
Baoshan-hw:main

Conversation

@Baoshan-hw

Copy link
Copy Markdown

Supports multi-threaded pressure testing and can test bandwidth-delay data under different QPS.

- Core: ub_bench.c (main entry, mode dispatch)
- New features: ub_bench_run.c/h (sequential mode), ub_bench_hist.c/h (histogram)
- Inherited from urma_perftest: ub_bench_run_test/parameters/resources/mgmt
- New params: --mode, --threads, --qps, --sweep, --sweep-duration, --bw-only
- Supports all original urma_perftest commands (write_bw, write_lat, etc.)
- Pipeline latency uses user_ctx (not ring buffer) for per-WR timestamp
- Build: CMakeLists.txt
- Headers: include/ub/, include/urma/
- Feature overview and comparison with urma_perftest
- Command format and usage examples
- New parameters: --mode, --threads, --qps, --sweep, --bw-only
- Sequential vs pipeline mode comparison
- Build instructions
- Clean CMakeLists.txt (no Chinese comments)
@Baoshan-hw
Baoshan-hw force-pushed the main branch 2 times, most recently from cf83c31 to dab384b Compare September 17, 2026 02:57
- find_path searches /usr/include/ub/umdk/urma (UMDK install path)
- find_library searches standard lib paths for liburma.so
- Remove include/urma/ (6 files, now from system)
- Keep include/ub/ (ub_get_clock.h, ub_util.h not installed by UMDK)
- FATAL_ERROR if not found (consistent with find_library)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant