Skip to content

Presto: Reinstate a query optimizer flag for GPU only (ALSO SEE PR #111)#103

Closed
simoneves wants to merge 2 commits intomainfrom
seves/reinstate_optimizer_config_for_gpu_only
Closed

Presto: Reinstate a query optimizer flag for GPU only (ALSO SEE PR #111)#103
simoneves wants to merge 2 commits intomainfrom
seves/reinstate_optimizer_config_for_gpu_only

Conversation

@simoneves
Copy link
Copy Markdown
Contributor

TPCH Q21 on GPU requires this flag to be on for best performance, but CPU requires it to be off.

As there is no way to pass CPU-or-GPU state through pbench genconfig, this required diverging the CPU and GPU Coordinator config files, which are otherwise identical.

@simoneves simoneves added hotfix Hotfix is a bug that affects the majority of users for which there is no reasonable workaround improvement Improves an existing functionality and removed hotfix Hotfix is a bug that affects the majority of users for which there is no reasonable workaround improvement Improves an existing functionality labels Oct 26, 2025
@simoneves simoneves force-pushed the seves/reinstate_optimizer_config_for_gpu_only branch from 7488fed to 30c036c Compare October 27, 2025 15:16

# Optimizer flags
# Use a default filter factor to estimate the selectivity of filters in queries? Good for GPU. Bad for CPU.
optimizer.default-filter-factor-enabled=false
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is identical to the GPU version other than this one flag

@simoneves simoneves changed the title Presto: Reinstate a query optimizer flag for GPU only Presto: Reinstate a query optimizer flag for GPU only (ALSO SEE PR #111) Oct 27, 2025
@simoneves simoneves added the question Further information is requested label Oct 27, 2025
@simoneves
Copy link
Copy Markdown
Contributor Author

Closing as we went with #111 instead

@simoneves simoneves closed this Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotfix Hotfix is a bug that affects the majority of users for which there is no reasonable workaround question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant