-
Notifications
You must be signed in to change notification settings - Fork 198
Description
Hi Team,
Its rather asking for help, presumably not a bug (not sure).
I have followed this page to configure postgres with OSM planet data and configured mod_tile and renderd.
I have a cloud VM with 350GB RAM and 46 threads to use for this exercise. Hence, I have updated the postgres configure parameters as mentioned below to take most out of available resources.
shared_buffers = 200GB
work_mem = 10GB
maintenance_work_mem = 40GB
effective_cache_size = 40GB
max_connections = 100
I was able to render the tiles successfully, however, my goal is to pre-generate all zoom level tiles and hence executed below command
render_list -m default -a -z 0 -Z 19 --num-threads=40
Till zoom level 13, it was too fast but later started getting slow, I know the number of tiles to be generated gets exponential as zoom level goes up.
So tried with just zoom level only 15 with setup, surprisingly, no major consumption of RAM and the process is too slow even with 40 threads.
render_list -m default -a -z 15 -Z 15 --num-threads=40
Just wondering if this threads usage is working fine or am I missing anything to make most out of available resources to generate tiles quickly? Any suggestions would be greatly appreciated.
-Prem