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

Optimize rendering concurrency #3

Closed
petrsloup opened this issue Mar 3, 2016 · 3 comments
Closed

Optimize rendering concurrency #3

petrsloup opened this issue Mar 3, 2016 · 3 comments
Assignees

Comments

@petrsloup
Copy link
Member

Have more mbgl.Map instances ready to be able to process more requests simultaneously.

@petrsloup petrsloup self-assigned this Mar 3, 2016
@petrsloup petrsloup changed the title Optimize concurrency Optimize rendering concurrency Mar 3, 2016
@petrsloup
Copy link
Member Author

Dynamic pool of map instances (creating and releasing instances as needed) is implemented in mappool branch, but there are probably some issues in mbgl.Map itself, causing segfaults.

@petrsloup
Copy link
Member Author

This is now in master.

There are some issues with the mesa3d graphics library and concurrent rendering.
The Dockerfile is now based on debian:stretch (testing) to get libgl1-mesa-dri 11.1.2 which does seem to be stable (as opposed to 10.3.2 in jessie).
Concurrent rendering (via multiple instances) is fully supported by mapbox-gl-native (see mapbox/mapbox-gl-native#4215).

The tileserver-gl server now has dynamic pool of instances with 4-16 instances for scale 1; 2-8 for @2x; 2-4 for @3x. (for each style)
It might be useful to make this somehow configurable in the config file (together with the available scales? -- we can easily go higher than @3x).

@klokan
Copy link
Member

klokan commented Mar 9, 2016

BTW our dedicated servers have hardware accelerated GPU with available X.org driver.
Before production deploy it would be worth to check performance if these are turned on vs. emulated on CPU.
Related ticket: https://github.com/klokan/internal/issues/39

mnutt pushed a commit to mnutt/tileserver-gl that referenced this issue Oct 2, 2022
Added a couple more error fixes to troubleshooting doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants