[Tile-serving] [openstreetmap/osm2pgsql] Reduce max number of default parallel threads to 4 (#959)
Sarah Hoffmann
notifications at github.com
Mon Oct 14 12:27:49 UTC 2019
Parallel processing is used only when indexes are created and
in the second processing stage of updates. In both cases the
number of parallel threads should not be too high. Indexing
requires a lot of memory and having too many in parallel running
actually slows down the process. Updates are generally run in
parallel with other load (like rendering) and should therefore
also not take up too many CPUs.
Fixes #885.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/959
-- Commit Summary --
* Reduce max number of default parallel threads to 4
-- File Changes --
M options.cpp (3)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/959.patch
https://github.com/openstreetmap/osm2pgsql/pull/959.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/959
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191014/306dc005/attachment.html>
More information about the Tile-serving
mailing list