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

fix(ChunkProcessingPipeline): base thread pool size on available processors #5014

Merged
merged 3 commits into from
May 15, 2022

Conversation

keturn
Copy link
Member

@keturn keturn commented May 12, 2022

This is the sort of thing I wanted to fix by moving everything to consistent use of a reactor Scheduler. But it's causing test failures now: the test runner with 1.9 CPUs can't handle running 4 chunk generation threads plus the main loop and the overhead of having them all report to the jacoco monitor.

(it was managing about 2 chunks/second, blocking #5010)

How to test

Play game, see if chunk generation is at least as fast as it was.

@keturn keturn added Category: Performance Requests, Issues and Changes targeting performance Blocker Issue reporting or PR addressing a critical problem that blocks other efforts Size: S Small effort likely only affecting a single area and requiring little to no research labels May 12, 2022
@github-actions github-actions bot added the Type: Bug Issues reporting and PRs fixing problems label May 12, 2022
@keturn
Copy link
Member Author

keturn commented May 13, 2022

@keturn keturn merged commit 5498b63 into develop May 15, 2022
@keturn keturn deleted the fix/availableProcessors branch May 15, 2022 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocker Issue reporting or PR addressing a critical problem that blocks other efforts Category: Performance Requests, Issues and Changes targeting performance Size: S Small effort likely only affecting a single area and requiring little to no research Type: Bug Issues reporting and PRs fixing problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants