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
{{ message }}
Repository navigation
Commit 30fdd01
Browse filesBrowse the repository at this point in the historyBrowse files
block_on_stream_thread_safe: increase channel size to number of cores (#9116)
Duckdb uses CurrentThreadRuntime which in turn uses smol executor.
`block_on_stream_thread_safe` is what allows it to drive scan from
multiple
threads. However, this method currently blocks on a channel of size 1
which
becomes a bottleneck if we run on a system with many cores, say 128-core
AWS c6id.metal.
Changing it to an item-per-core allows to save some time on large core
systems.
Signed-off-by: Mikhail Kot <mikhail@spiraldb.com>
0 commit comments