Repository navigation
Conversation
|
🤖 Starting review — findings will be posted here when done. |
| params->super.max_outstanding = 0; | ||
| params->super.warmup_iter = 10000; | ||
| params->super.warmup_time = 100e-3; | ||
| params->super.warmup_time = 0; |
There was a problem hiding this comment.
Making warmup_time = 0 the default removes the only bound on warmup wall time in ucx_perftest: warmup_time has no CLI option and max_time is also always 0. With no time limit the default warmup always runs ~16K iterations (1+2+...+8192), so for large messages (e.g. -b msg_pow2_large, where 2GB runs with -n 10) warmup becomes much longer than the test itself. CI jobs that omit -w (device-cuda config with -n 10000, cuda_compatible.yml) also get a much longer warmup. Why not increase the default limit instead of removing it?
| unsigned max_outstanding; /* Maximal number of outstanding sends */ | ||
| ucx_perf_counter_t warmup_iter; /* Number of warm-up iterations */ | ||
| double warmup_time; /* Approximately how long to warm-up */ | ||
| /* Approximately how long to warm-up, 0 - unlimited */ |
There was a problem hiding this comment.
Minor: the new comment omits the units, unlike the neighboring max_time which says (seconds).
| /* Approximately how long to warm-up, 0 - unlimited */ | |
| /* Approximately how long to warm-up (seconds), 0 - unlimited */ |
|
Residual coverage gap: no test exercises the new unlimited default — |
6cc5ecb to
822e2b8
Compare
|
🤖 Starting review — findings will be posted here when done. |
| return UCS_OK; | ||
| case 'w': | ||
| params->super.warmup_iter = atol(opt_arg); | ||
| params->super.warmup_time = 0; |
There was a problem hiding this comment.
pls also update the -w help text in usage() to say that passing -w drops the default warm-up time limit, otherwise this implicit change of warmup_time is invisible to the user.
| return UCS_OK; | ||
| case 'w': | ||
| params->super.warmup_iter = atol(opt_arg); | ||
| params->super.warmup_time = 0; |
There was a problem hiding this comment.
minor: use a double literal, like the max_time = 0.0 default in perftest.c, and the warmup_time == 0.0 check in libperf.c.
| params->super.warmup_time = 0; | |
| params->super.warmup_time = 0.0; |
| unsigned max_outstanding; /* Maximal number of outstanding sends */ | ||
| ucx_perf_counter_t warmup_iter; /* Number of warm-up iterations */ | ||
| double warmup_time; /* Approximately how long to warm-up */ | ||
| /* Approximately how long to warm-up (seconds), 0 - unlimited */ |
There was a problem hiding this comment.
minor: can we keep the aligned trailing comment like the other fields in this struct?
| /* Approximately how long to warm-up (seconds), 0 - unlimited */ | |
| double warmup_time; /* Warm-up time (sec), 0 - unlimited */ |
ucx_perftest stopped the warm-up after 100 ms whatever -w says, so with large messages or a slow start it warmed up for a fraction of the requested iterations, and lazy initialization (protocol selection, memory-pool growth and registration) fell into the measured run. When -w is set, warm up for all the requested iterations; warmup_time 0 means no limit. Without -w, keep the 100 ms limit so that the default 10000 iterations stay short with large messages.
822e2b8 to
26989d1
Compare
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: The Full analysisSummary: Blossom-CI run 45177633278 failed in the "Run blossom action" step of the Root cause: Pure infrastructure/network failure, not a code failure. The container image pulled fine, then
The action retried with backoff ("Transient BlackDuck failure detected (attempt 1/3 … 2/3)") and the third attempt timed out identically, so the step exited 255. The timeouts happen on the very first HTTP call ( Implicated commit: none — commit [REDACTED:Hex High Entropy String] (branch File: Suggested fix:
Related: none found — searches for prior BlackDuck/Blossom scan timeout reports in openucx/ucx returned only unrelated PRs (#12420, #12423, #12424).
|
| return UCS_OK; | ||
| case 'w': | ||
| params->super.warmup_iter = atol(opt_arg); | ||
| params->super.warmup_time = 0; |
There was a problem hiding this comment.
minor: -w now silently clears the warm-up time limit, but usage() (-w <iters> number of warm-up iterations) does not mention it, and there is no comment at the assignment explaining the coupling. A user cannot discover from --help that passing -w makes warm-up run for the full iteration count regardless of elapsed time, which on slow links/large messages can noticeably extend the run.
| params->super.warmup_time = 0; | |
| /* Explicit warm-up iterations count disables the time limit */ | |
| params->super.warmup_time = 0; |
Pls also mention in the -w help text in usage() that it removes the warm-up time limit, otherwise this behavior is not discoverable.
|
🤖 CI Triage Agent — TL;DR: The ASAN gtest run passed 9241/9242 tests and failed only Full analysisSummary: Root cause: Evidence from the log: 9242 tests ran, 9241 passed, and the single failure is the token-failover ( Implicated commit: Not the PR commit. Most likely candidates are the FT/failover changes landed 1-2 days before this run: File: Suggested fix: Do not block PR #12421 on this — re-run the roce ASAN job to confirm it is not caused by the perftest change. For the real fix, pull the full job log to get the failing assertion, then either (a) complete PUT token-failover support (per WIP #12379) in the UCP RMA/failover path, or (b) temporarily restrict the Related: PR #12421 (triggering PR, perftest-only), PR #12379 "[WIP-DNM] UCP/RMA: Support token failover for PUT short", PR #12372, PR #12371, PR #12274 |
What?
Do not cap the
ucx_perftestwarm-up at 100 ms; run the-witerations requested.Why?
The warm-up stopped after 100 ms whatever
-wsaid. With large messages or a slow start, only part of the requested iterations ran, so lazy initialization (protocol selection, memory-pool growth, registration) fell into the measured run.How?
ucx_perftestsetswarmup_timeto 0 by default.warmup_time == 0means no time limit: the deadline isUINT64_MAX, the same waymax_time == 0is handled.