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

Improves Render speed of Zoom tiles by using "free" capacity of the Render Threads. #4013

Open
wants to merge 1 commit into
base: v3.0
Choose a base branch
from

Conversation

stormboomer
Copy link
Contributor

@stormboomer stormboomer commented Aug 30, 2023

Works by checking the amount of active Threads processing tiles. If the amount of Active Threads is less than parallelrendercnt we can use the "spare" capacity for zoom processing. We are using a seperate ThreadPoolExecutor to achive this. Also adds one more cancellation check to process cancellations for large zoom out renders (when many tiles needs to be processed). Additionally it will report Zoom Rendering progress.

Just some metrics for better perspective.
This change improves Total render time (Start of fullrender until zoom out rendering is completed) by 22-23%
The only drawback is that under high load situations the avg tile render speed can drop.
In Terms of usability Results the Zoom Renderer will complete faster thus providing potentially better user experience. Overall with the improvements from #4011 we are still a bit faster in overall render speed compared to before.

…ender Threads.

Works by checking the amount of active Threads processing tiles. If the amount of Active Threads is less than parallelrendercnt we can use the "spare" capacity for zoom processing.
We are using a seperate ThreadPoolExecutor to achive this.
Also adds one more cancellation check to process cancellations for large zoom out renders (when many tiles needs to be processed)
@mikeprimm
Copy link
Member

Looks promising - will review this weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants