[Tile-serving] [openstreetmap/mod_tile] Improve lock contention in render_list etc (PR #335)

Tom Hughes notifications at github.com
Thu Sep 21 07:31:33 UTC 2023


This attempts to minimise the time that the lock is help when taking a job from the queue and scales the queue size with the number of threads to try and ensure it stays full enough to keep all threads busy.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/mod_tile/pull/335

-- Commit Summary --

  * Minimise the time we hold the lock when dequeuing a request
  * Add missing static to global variables
  * Scale the queue length with the number of threads

-- File Changes --

    M src/render_submit_queue.c (48)

-- Patch Links --

https://github.com/openstreetmap/mod_tile/pull/335.patch
https://github.com/openstreetmap/mod_tile/pull/335.diff

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

Message ID: <openstreetmap/mod_tile/pull/335 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230921/88ab5ae9/attachment.htm>


More information about the Tile-serving mailing list