[OSM-dev] Tirex Bucket Configuration
Frederik Ramm
frederik at remote.org
Wed Jun 15 08:19:41 BST 2011
Adam,
Adam Ratcliffe wrote:
> I'm wondering if anybody is able to provide me with any guidelines on
> how to configure the buckets. Is there a relationship between the
> maxproc setting and the number of CPUs available on the host for
> instance?
The ideal setting depends on a number of factors. If the server is used
for anything else in addition to serving tiles, you'd probably want the
maxproc setting in the highest priority class to be a little lower than
the number of cores, so you still have a "spare core" to do other things
even if the server is under full load rendering tiles.
The lower priority classes depend on what mechanism you want to use to
update your tiles. I don't normally bother doing tile expiry; I just
have a cronjob running that stuffs the oldes 10k tiles into the queue
for re-rendering once per hour. This means that my low-priority queue is
*always* full, so tirex will *always* keep "maxproc" CPUs of the lowest
priority queue busy. This means that I don't usually set that to
anything more than 4 even on a 16-core machine.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev
mailing list