You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A proposal for reformulating the parallelism story within DataFusion to use a morsel-driven approach based on rayon. More details, background, and discussion can be found in the proposal document here, please feel free to comment there.
The keys highlights are:
Decouples parallelism from the partitioning expressed in the physical plan, allowing for:
Better handling of imbalanced partitions
Adaptive parallelism based on compute availability at execution time
Parallelism within a partition, such as decoding parquet columns in parallel, parallel sort, etc...
The first step to reducing the complexity associated with the current futures-based concurrency model
Improvements to thread-locality, observability and performance
Yes that is expected, I've had to park working on this for a bit in favour of some other things. See #2504 for the follow on work
Ok, thanks!
By the way, do you know the difference between ClickHouse's Query Execution Pipeline and Datafusion's Execution model(likes vectorized volcano model)? And what are the advantages of ClickHouse?
Activity
Morsel-driven Parallelism using rayon (apache#2199)
Morsel-driven Parallelism using rayon (apache#2199)
Morsel-driven Parallelism using rayon (apache#2199)
Morsel-driven Parallelism using rayon (apache#2199)
Morsel-driven Parallelism using rayon (apache#2199)
Morsel-driven Parallelism using rayon (apache#2199)
Morsel-driven Parallelism using rayon (apache#2199)
Morsel-driven Parallelism using rayon (apache#2199)
Introduce new optional scheduler, using Morsel-driven Parallelism + r…
JasonLi-cn commentedon Sep 30, 2022
SQLs:
The performance is similar with and without the Scheduler! Is there a problem with where I use it?
@tustvold
tustvold commentedon Sep 30, 2022
Yes that is expected, I've had to park working on this for a bit in favour of some other things. See #2504 for the follow on work
JasonLi-cn commentedon Sep 30, 2022
Ok, thanks!
By the way, do you know the difference between ClickHouse's Query Execution Pipeline and Datafusion's Execution model(likes vectorized volcano model)? And what are the advantages of ClickHouse?
alamb commentedon Jun 19, 2024
Updated description of this ticket to note DF doesn't use morsel driven parallelism, and added link to the paper https://dl.acm.org/doi/10.1145/3626246.3653368