[ML] Fix incorrect assumption about minimum ML node size#91694
Merged
droberts195 merged 1 commit intoelastic:mainfrom Nov 18, 2022
Merged
[ML] Fix incorrect assumption about minimum ML node size#91694droberts195 merged 1 commit intoelastic:mainfrom
droberts195 merged 1 commit intoelastic:mainfrom
Conversation
The ML autoscaling code was making an assumption that all ML nodes in Cloud will be at least 1GB. This is not correct. After allowing for logging and metrics collection it is possible for ML nodes to be smaller. This PR updates the assumption to 0.5GB.
Collaborator
|
Pinging @elastic/ml-core (Team:ML) |
Author
|
Marked as |
droberts195
added a commit
to droberts195/elasticsearch
that referenced
this pull request
Nov 18, 2022
The ML autoscaling code was making an assumption that all ML nodes in Cloud will be at least 1GB. This is not correct. After allowing for logging and metrics collection it is possible for ML nodes to be smaller. This PR updates the assumption to 0.5GB.
Collaborator
💔 Backport failed
You can use sqren/backport to manually backport by running |
droberts195
added a commit
to droberts195/elasticsearch
that referenced
this pull request
Nov 18, 2022
The ML autoscaling code was making an assumption that all ML nodes in Cloud will be at least 1GB. This is not correct. After allowing for logging and metrics collection it is possible for ML nodes to be smaller. This PR updates the assumption to 0.5GB.
Author
|
On closer inspection the code changed quite radically in 8.3, so I think it would be best not to backport this change to 7.x. Doing so might aggravate some of the other ML autoscaling discrepancies that were fixed in 8.3. |
elasticsearchmachine
pushed a commit
that referenced
this pull request
Nov 18, 2022
…1696) The ML autoscaling code was making an assumption that all ML nodes in Cloud will be at least 1GB. This is not correct. After allowing for logging and metrics collection it is possible for ML nodes to be smaller. This PR updates the assumption to 0.5GB.
elasticsearchmachine
pushed a commit
that referenced
this pull request
Nov 18, 2022
…1697) The ML autoscaling code was making an assumption that all ML nodes in Cloud will be at least 1GB. This is not correct. After allowing for logging and metrics collection it is possible for ML nodes to be smaller. This PR updates the assumption to 0.5GB.
droberts195
added a commit
to droberts195/elasticsearch
that referenced
this pull request
Nov 19, 2022
This change fixes a discrepancy that has existed for a long time but was revealed by elastic#91694. The ML automatic node/JVM sizing code contained a minimum node size but did not restrict the minimum JVM size to the size that would be chosen on that minimum node size. This could throw off calculations at small scale. Fixes elastic#91728
droberts195
added a commit
that referenced
this pull request
Nov 21, 2022
This change fixes a discrepancy that has existed for a long time but was revealed by #91694. The ML automatic node/JVM sizing code contained a minimum node size but did not restrict the minimum JVM size to the size that would be chosen on that minimum node size. This could throw off calculations at small scale. Fixes #91728
droberts195
added a commit
to droberts195/elasticsearch
that referenced
this pull request
Nov 21, 2022
…ic#91732) This change fixes a discrepancy that has existed for a long time but was revealed by elastic#91694. The ML automatic node/JVM sizing code contained a minimum node size but did not restrict the minimum JVM size to the size that would be chosen on that minimum node size. This could throw off calculations at small scale. Fixes elastic#91728
droberts195
added a commit
to droberts195/elasticsearch
that referenced
this pull request
Nov 21, 2022
…ic#91732) This change fixes a discrepancy that has existed for a long time but was revealed by elastic#91694. The ML automatic node/JVM sizing code contained a minimum node size but did not restrict the minimum JVM size to the size that would be chosen on that minimum node size. This could throw off calculations at small scale. Fixes elastic#91728
elasticsearchmachine
pushed a commit
that referenced
this pull request
Nov 21, 2022
… (#91742) This change fixes a discrepancy that has existed for a long time but was revealed by #91694. The ML automatic node/JVM sizing code contained a minimum node size but did not restrict the minimum JVM size to the size that would be chosen on that minimum node size. This could throw off calculations at small scale. Fixes #91728
elasticsearchmachine
pushed a commit
that referenced
this pull request
Nov 21, 2022
… (#91741) This change fixes a discrepancy that has existed for a long time but was revealed by #91694. The ML automatic node/JVM sizing code contained a minimum node size but did not restrict the minimum JVM size to the size that would be chosen on that minimum node size. This could throw off calculations at small scale. Fixes #91728
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ML autoscaling code was making an assumption that all ML nodes in Cloud will be at least 1GB. This is not correct. After allowing for logging and metrics collection it is possible for ML nodes to be smaller.
This PR updates the assumption to 0.5GB.