[OSM-dev] renderd multithreading question

Frederik Ramm frederik at remote.org
Fri Nov 13 22:42:27 GMT 2009


Hi,

     I'm running the C version of renderd on an 8-core machine with 
num_threads configured to 8. (PostGIS is on another machine so renderd 
has the CPU to itself.) I had assumed that it would somehow magically 
manage its queue and have up to 8 threads render tiles when there is 
demand, and make sure to render high priority requests first etc.

However I find that if I request a large number of tiles through 
render_list, only one CPU is used to produce them sequentially.

Would I simply have to run 8 parallel render_list processes to achieve 
the desired result? And if, during such a scenario, another 4 mod_tile 
processes connect to renderd and have high priority requests, would they 
still be given priority over the ongoing bulk rendering?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the dev mailing list