-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[kbn/optimizer] allocate workers less aggressively #67735
[kbn/optimizer] allocate workers less aggressively #67735
Conversation
…-optimizer/worker-allocation-v2
…-optimizer/worker-allocation-v2
Pinging @elastic/kibana-operations (Team:Operations) |
Would love to collect feedback from people about how this runs on their machines before seeking review for merging. Try using different values for |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💔 Build Failed
Failed CI StepsBuild metricsHistory
To update your PR or re-run it, just comment with: |
I haven't seen any evidence that this makes the optimizer more efficient, though we might revisit it again later. |
In an attempt to avoid the optimizer overwhelming computers by launching tons of workers this update to the optimizer modifies two things:
To experiment with these parameter you can use the
--workers
and--worker-size
flags to thenode scripts/build_kibana_platform_plugins
CLI. Check--help
for more info.To customize these values with
yarn start
you can specify theKBN_OPTIMIZER_MAX_ACTIVE_WORKERS
andKBN_OPTIMIZER_SOFT_MAX_MODULES_PER_WORKER
environment variables.