-
Notifications
You must be signed in to change notification settings - Fork 902
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
Add multi-threaded writing to GDS writes #9372
Add multi-threaded writing to GDS writes #9372
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.12 #9372 +/- ##
================================================
- Coverage 10.79% 10.74% -0.05%
================================================
Files 116 116
Lines 18869 19081 +212
================================================
+ Hits 2036 2051 +15
- Misses 16833 17030 +197
Continue to review full report at Codecov.
|
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.
I have a few more minor comments. Thanks!
And remove pool.submit secialization for promise<void>
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.
Nice work @devavret! LGTM. Are the CI failures related or not?
The java CI failure has been seen for a while on other PRs too. |
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.
Looks good, just one question before ✔️
for (auto const& task : write_tasks) { | ||
task.wait(); | ||
} |
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.
Can we move this out of the loop so that we only wait after all encoding is done? Hard to tell if buffers are reused between batches.
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.
Hard to tell if buffers are reused between batches.
It is indeed.
@gpucibot merge |
Closes #9260