New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmarks: Add Benchmark - Add ib validation tool source code #191
Conversation
Codecov Report
@@ Coverage Diff @@
## main #191 +/- ##
=======================================
Coverage 88.56% 88.56%
=======================================
Files 59 59
Lines 2922 2922
=======================================
Hits 2588 2588
Misses 334 334
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
superbench/benchmarks/micro_benchmarks/ib_validation_performance/ib_validation_performance.cc
Outdated
Show resolved
Hide resolved
superbench/benchmarks/micro_benchmarks/ib_validation_performance/ib_validation_performance.cc
Outdated
Show resolved
Hide resolved
superbench/benchmarks/micro_benchmarks/ib_validation_performance/ib_validation_performance.cc
Outdated
Show resolved
Hide resolved
superbench/benchmarks/micro_benchmarks/ib_validation_performance/ib_validation_performance.cc
Show resolved
Hide resolved
superbench/benchmarks/micro_benchmarks/ib_validation_performance/ib_validation_performance.cc
Outdated
Show resolved
Hide resolved
superbench/benchmarks/micro_benchmarks/ib_validation_performance/ib_validation_performance.cc
Outdated
Show resolved
Hide resolved
superbench/benchmarks/micro_benchmarks/ib_validation_performance/ib_validation_performance.cc
Outdated
Show resolved
Hide resolved
superbench/benchmarks/micro_benchmarks/ib_validation_performance/ib_validation_performance.cc
Outdated
Show resolved
Hide resolved
int size = run_pairs_in_parallel.size(); | ||
// invoke function to run cmd in multi threads mode for each rank in the pairs | ||
unordered_map<int, std::future<float>> threads; | ||
for (int index = 0; index < size; index++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we limit max number of active threads? (given that some clusters can be really large, and also with multiple NICs per node)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add limit for the max num of threads at the same time, if expired, split the line
Description
Add IB validation tool source code. IB validation tool is a tool to validate IB traffic of different pattern in multi nodes flexibly
Major Revision