[Tile-serving] [openstreetmap/mod_tile] render_list multi threading is not working, it seems (Issue #405)

Prem notifications at github.com
Sat Mar 9 03:40:47 UTC 2024


Hi Team,

Its rather asking for help, presumably not a bug (not sure). 

I have followed [this](https://www.linuxbabe.com/ubuntu/openstreetmap-tile-server-ubuntu-20-04-osm) 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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/405
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/405 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240308/07aecfb1/attachment.htm>


More information about the Tile-serving mailing list