-
Notifications
You must be signed in to change notification settings - Fork 11
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
Also consider memory usage in adaptive parallelism #1759
Conversation
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.
LGTM, with minor comments.
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.
Any of the metadata scripts are not modified so the tar should remain unchanged.
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.
Got committed because of the commit hook :) I've merged main and re-generated the tar, so should be fine
memAvailable1 int | ||
memTotal1 int | ||
tserverRootMemConsumption1 int | ||
tserverRootMemSoftLimit1 int | ||
|
||
memAvailable2 int | ||
memTotal2 int | ||
tserverRootMemConsumption2 int | ||
tserverRootMemSoftLimit2 int |
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.
Q. Is all this info also available in the dbside function you have implemented?
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.
Yes, yugabyte/yugabyte-db@872b59e .
Also added a comment in code with this sample output
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.
LGTM
@makalaaneesh please make the final commit message descriptive enough, before merging. |
Also consider memory load while adapting parallelism.
Memory load is considered to be high in the following scenarios
When memory load is high, we decrease the parallelism by 1 (similar to when cpu load is high)