Repository navigation
Recycle test runners more aggressively - #8751
Conversation
This changes the multiprocess pool to use a single long-lived pool with short-lived workers that are automatically restarted by the pool rather than operating in batches. This is to reduce idle time between tests.
|
gpuci run tests |
gmarkall
left a comment
There was a problem hiding this comment.
I tried this with the CUDA testsuite (python runtests.py numba.cuda.tests -m) and it didn't speed things up, but it didn't slow them down either. So it's OK from the CUDA side of things.
|
Okay. I assume the CUDA suite is smaller and bottlenecks on different resources, so I guess that isn't surprising. |
|
I had hoped it would at least shave a couple of seconds off, because there are some tests that just compile a lot of things in parallel without touching the GPU. Never mind :-) |
|
I also didn't observe much speed difference, but the simplification of the code is nice. |
|
I tested this again on a 160 core power8 machine and the result is so much more interesting. The command that i used: On main c12bbf4: On this PR branch: There's a 1.3x improvement. Reduction in |
I'm not sure how to interpret this either. The tests that ran in Either way, the code simplification is worthwhile. |
* main: (2743 commits) Upgrade stale GitHub action Changed wording of the escape error Correct documentation for CAS Revert "Merge pull request numba#8751 from apmasell/mulitprocess_recycling" CUDA driver.py: PR numba#8180 feedback CUDA Docs: Refine MVC docs based on PR numba#8180 feedback revert build_ext change add empty line back revert some changes fix compiler arg, revert build script add build_doc back, fix compiler arg Correct grammar in comment fix import Stale bot: Use `abandoned - stale` label for closed PRs refactor build_ext BLD: remove distutils CUDA tidy-up: remove some unneeded methods Update numba/tests/support.py Update .github/workflows/stale.yml Fix line length error from flake8 ...
This changes the multiprocess pool to use a single long-lived pool with short-lived workers that are automatically restarted by the pool rather than operating in batches. This is to reduce idle time between tests.