Repository navigation
Conversation
Reuse the existing host pool for bounded source batches and retain buffer reservations through GPU transfer. Handle MO bitmap coverage and NULL string descriptors safely, and serialize tasks within each physical pipeline while preserving independent pipeline overlap.
…/mo-scan-bounded-batching-v7 # Conflicts: # test/cpp/pipeline/test_task_scheduler.cpp
This was referenced Sep 7, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
MO streamed scans were creating small GPU tasks and repeatedly registering fresh host buffers with CUDA. This batches up to 128 MO frames into one source representation bounded to 64 MiB of expanded data, using the existing cuCascade host pool.
Each frame is acknowledged after Sirius owns its copy. The source remains demand-driven, and buffer blocks retain their reservation through transfer or terminal cleanup. The converter supports writes/transfers across pool blocks, arbitrary frame row boundaries, short/padded MO null bitmaps, and stale descriptors in NULL string slots.
The upstream pipeline-serialization fix from #11 is merged into this branch and is not part of this PR's diff. Independent pipelines continue to use two GPU workers.
Validation
gpu_stream=2, 34.158730s total; direct TAE control 15.501565s. Q9: 3.255576s versus 0.798354s.Dependencies
Part of matrixorigin/matrixone#27599. The sidecar consumer is matrixorigin/mo-sirius-sidecar#20 and uses the updated source-result API and matching capability document. Merge this PR first, then update sidecar #20's submodule pin to the upstream merged commit.
Full timing table and profiling evidence.