Skip to content
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

CopyScanCache pool size #4859

Merged
merged 1 commit into from
Mar 2, 2020
Merged

CopyScanCache pool size #4859

merged 1 commit into from
Mar 2, 2020

Conversation

amicic
Copy link
Contributor

@amicic amicic commented Feb 24, 2020

Reduce max and increment size of the pool by factor of 3.4x

This is effectively fixing a regression where this pool increased due to
decrease of minimum copy cache size from 32K to 8K about a couple of
years ago.

The heuristic for the size of the pool is now based on both min and max
size of copy cache. Relying on just min size was too conservative. If GC
dynamically decided to use small copy caches it means that parallelism
is low, what in turn means that scan queue is mostly empty, hence the
need for the caches is low.

Signed-off-by: Aleksandar Micic amicic@ca.ibm.com

Reduce max and increment size of the pool by factor of 3.4x

This is effectively fixing a regression where this pool increased due to
decrease of minimum copy cache size from 32K to 8K about a couple of
years ago.

The heuristic for the size of the pool is now based on both min and max
size of copy cache. Relying on just min size was too conservative. If GC
dynamically decided to use small copy caches it means that parallelism
is low, what in turn means that scan queue is mostly empty, hence the
need for the caches is low.

Signed-off-by: Aleksandar Micic <amicic@ca.ibm.com>
@amicic
Copy link
Contributor Author

amicic commented Feb 25, 2020

The commit when we reduced min copy cache size (hence increased the size of the pool of copy caches): 198efe0#diff-be9812f14d8aa163e623256c7db995aa

@amicic
Copy link
Contributor Author

amicic commented Feb 25, 2020

@youngar or @rwy0717 please proceed with further review

@rwy7
Copy link
Contributor

rwy7 commented Feb 25, 2020

@genie-omr build all

@rwy7 rwy7 self-assigned this Feb 25, 2020
@rwy7
Copy link
Contributor

rwy7 commented Feb 25, 2020

infrastructure error.
@genie-omr build aix

@rwy7 rwy7 merged commit d63c47e into eclipse-omr:master Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants