-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Description
Currently our Executor implementation is single threaded: it runs the ProgramDesc (actually ProgramDescBind, unrelated detail) sequentially.
It will have severe performance problem with the ProgramDesc that contains OPs that load data from disk or send/recv OPs that reads data from the network. The I/O will block the computation that could run in parallel.
The Executor needs to be able to analyze the dependency according to ProgramDesc (or ExecutionPlan in future if this PR passes), and schedule the OPs whose dependencies are finished to the thread-pool for parallel execution.
This issue is blocked by #6317 , since the Executor needs a reliable data structure (ProgramDesc, not ProgramDescBind) to do dependency analysis.
Metadata
Metadata
Assignees
Labels
No labels