Skip to content

Use separate tokio runtime for IO in datafusion-cli#21138

Draft
alamb wants to merge 2 commits intoapache:mainfrom
alamb:alamb/use_separate_io_pool
Draft

Use separate tokio runtime for IO in datafusion-cli#21138
alamb wants to merge 2 commits intoapache:mainfrom
alamb:alamb/use_separate_io_pool

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Mar 24, 2026

Which issue does this PR close?

Rationale for this change

While profiling #20820 I noticed that datafusion-cli is still not keeping its CPU entirely busy for unclear reasons

One interesting thing I noted is that there is no separate IO threads, even though there should be.

I want to test and see if using a separate IO runtime makes a difference

What changes are included in this PR?

Add a separate IO runtime to datafusion-cli and ensure that all IO happens on that stream

Are these changes tested?

Are there any user-facing changes?

@alamb alamb marked this pull request as draft March 24, 2026 15:21
@alamb
Copy link
Contributor Author

alamb commented Mar 24, 2026

This didn't seem to make a meaningful difference in performance -- I need to look more carefully at the io pattern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant