-
Notifications
You must be signed in to change notification settings - Fork 240
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
Spill framework refactor for better performance and extensibility [databricks] #11747
Merged
Merged
Changes from 3 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
ed170dc
Spill framework refactor for better performance and extensibility
abellina 4cde905
code review comment changes
abellina 2619cab
private[spill]
abellina b48b801
remove extra sync, and make sure copyNext is always synchronous with …
abellina 8c42a01
private getHostBuffer
abellina a53f10b
bring back comment on ownership
abellina 433746b
remove comment, as metrics are being fixed in a different pr
abellina fd863f1
Merge remote-tracking branch 'nvidia/branch-25.02' into spill_refacto…
abellina 116478f
Upmerge
abellina 513d084
ChunkedPacker as a true iterator using a pool
abellina d9490ee
approxSizeInBytes
abellina 50e6b21
add note to spill method
abellina d9dbf36
bring parens back
abellina d1117e8
make sure we return from spill non zero only when we actually spill
abellina 91006c5
make ShuffleInfo a type alias
abellina 455e99c
catch Exception not all of Throwable
abellina 16a1685
rework comments around locking and cuda synchronization
abellina 6b692df
add a comment around how host objects are behaving with this change, …
abellina 301a163
Add columnar batch spill to host/disk and reconstitute tests
abellina a882fb2
Add more tests in shuffle catalog suite
abellina 82fdff6
Check number of host store handles in order to decide whether to retr…
abellina 4d46511
scala 2.13 fixes
abellina 0f1f031
more scala 2.13 changes, and fix bug in host spill tracking
abellina 3682434
scala 2.13 fixes in rapids shuffle iterator suite
abellina 6434057
Check that the dev/host optional is defined when we are spilling it
abellina 1990c27
A direct-added host handle doesnt trigger spill
abellina ec8a267
Make sure we dont try to close a TableMeta only RapidsShuffleHandle
abellina 418bfe4
Update copyright
abellina 8e8aefc
Break down spill into a two-step process, so we can inject a device s…
abellina a7db69b
Remove unintened change in TimeZonePerfSuite
abellina 03b75d5
Fix comment in ShuffleBufferCatalog
abellina 2919030
Code review comments
abellina 754a2f9
SpillFramework.remove should be private[spill]
abellina 5bea81b
Remove whitespace changes
abellina 0702bd4
storesInternal cant be private[spill] due to HostAllocSuite
abellina 5aacedb
fix require condition
abellina 88c18b7
Split SpillFramework.remove
abellina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1110,7 +1110,7 @@ class CudfSpillableHostConcatResult( | |
val hmb: HostMemoryBuffer) extends SpillableHostConcatResult { | ||
|
||
override def toBatch: ColumnarBatch = { | ||
closeOnExcept(buffer.getHostBuffer()) { hostBuf => | ||
closeOnExcept(buffer.getHostBuffer) { hostBuf => | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: why change this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will fix |
||
SerializedTableColumn.from(header, hostBuf) | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nit: why is this shouldRetry change in there? I assume it was for debugging at some point.
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.
undoing