-
Notifications
You must be signed in to change notification settings - Fork 17
Add thread multiplier configurations to worker/config_native.properties #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -28,6 +28,33 @@ system-mem-pushback-enabled=true | |||||||||||||||||||||
| system-mem-limit-gb={{ sub .ContainerMemoryGb .GeneratorParameters.MemoryPushBackStartBelowLimitGb }} | ||||||||||||||||||||||
| system-mem-shrink-gb=20 | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # Each multiplier value affects number of threads used for each module. | ||||||||||||||||||||||
| # hw_concurrency x multiplier. | ||||||||||||||||||||||
| # 1.0 is default for each multiplier config. | ||||||||||||||||||||||
| # Number of threads for HTTP IO executor | ||||||||||||||||||||||
| http-server.num-io-threads-hw-multiplier=0.01 | ||||||||||||||||||||||
| # Number of threads for HTTP CPU executor | ||||||||||||||||||||||
| http-server.num-cpu-threads-hw-multiplier=0.01 | ||||||||||||||||||||||
| # Number of threads for CPU executor for connectors mainly for async operators | ||||||||||||||||||||||
| # If 0.0 then connector CPU executor would not be created. | ||||||||||||||||||||||
| # 0.0 is default. | ||||||||||||||||||||||
| #connector.num-cpu-threads-hw-multiplier=0.0 | ||||||||||||||||||||||
| # Number of threads for IO executor for connectors mainly to do preload/prefetch: | ||||||||||||||||||||||
| # If 0.0 then connector preload/prefetch is disabled. | ||||||||||||||||||||||
| # 0.0 is default. | ||||||||||||||||||||||
| connector.num-io-threads-hw-multiplier=0.01 | ||||||||||||||||||||||
| # Number of threeads for Driver CPU executor | ||||||||||||||||||||||
|
||||||||||||||||||||||
| # Number of threeads for Driver CPU executor | |
| # Number of threads for Driver CPU executor |
Copilot
AI
Feb 6, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commented-out examples for driver/spiller multipliers omit an '=' and example/default value (unlike the connector example above). This makes it harder to discover the intended configuration value and increases the chance of misconfiguration; consider adding the explicit default/example values (e.g., "...=4.0" / "...=1.0") or otherwise standardizing how these properties are documented.
| #driver.num-cpu-threads-hw-multiplier | |
| # Number of threads for Spiller CPU executor | |
| # If 0.0 then spilling is disabled. | |
| # 1.0 is default. | |
| #spiller.num-cpu-threads-hw-multiplier | |
| #driver.num-cpu-threads-hw-multiplier=4.0 | |
| # Number of threads for Spiller CPU executor | |
| # If 0.0 then spilling is disabled. | |
| # 1.0 is default. | |
| #spiller.num-cpu-threads-hw-multiplier=1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment says "1.0 is default for each multiplier config", but later comments list different defaults (e.g., connector defaults to 0.0, driver to 4.0, spiller to 1.0). Please correct this line to reflect that defaults vary per setting (or update the per-setting default comments to match reality).