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
Performance updates and misc. #2264
Conversation
Update from `dev`
There is also a patch for the commits table here, setting the affiliation data to |
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.
This mostly looks good although I would change the repo scheduling to be more balanced now that we have a lot more processes to use and don't have to have as many messages in the queue.
I agree with @IsaacMilarky comment. Maybe like 40 processes for core and 15 for secondary? This would about triple the number of processes each worker |
…sure adequate vacuuming. Signed-off-by: Sean Goggins <s@goggins.com>
Signed-off-by: Sean Goggins <s@goggins.com>
Signed-off-by: Sean Goggins <s@goggins.com>
Signed-off-by: Sean Goggins <s@goggins.com>
Signed-off-by: Sean Goggins <outdoors@acm.org>
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.
I would set max_repo to 30 for start_primary_collection and I would set max_repo to 30 for start_facade_collection. Otherwise LGTM :)
…need the update. If its not, which is usually the case, especially on collections 2 to n, we don't need to update it again. The update to the foreign key to defer the dependency requirement which will accelerate initial inserts.
Signed-off-by: Sean Goggins <s@goggins.com>
Signed-off-by: Sean Goggins <outdoors@acm.org>
Signed-off-by: Sean Goggins <s@goggins.com>
… spg-speed-test
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.
I still don't think we should schedule more repos than processes we have available.
Signed-off-by: Sean Goggins <s@goggins.com>
I went with 30 for primary and 20 for secondary @ABrain7710 because secondary takes so much longer and core is always waiting for it to finish. |
Description
We could also simply check the OS, and if its a linux flavor, evaluate cores.