[Tile-serving] [osm2pgsql] Remove the lockfree queue option (#364)

Paul Norman notifications at github.com
Wed Jul 1 18:42:39 UTC 2015


The boost::lockfree::queue implementation was far less memory efficient than the stack based implementation used with older versions of boost where the lockfree queue was not available.

The decreased memory usage allows for more node cache, resulting in faster import times. For the full planet and a 32GB RAM SSD-based server, this is a decrease from 10h45m runtime to 9h6m.

Fixes #351

cc @kevinkreiser 
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/364

-- Commit Summary --

  * Remove the lockfree queue option

-- File Changes --

    M Makefile.am (2)
    M configure.ac (19)
    D m4/ax_boost_atomic.m4 (119)
    M osmdata.cpp (33)
    M output.hpp (8)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/364.patch
https://github.com/openstreetmap/osm2pgsql/pull/364.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/364
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150701/fb2e25ad/attachment.html>


More information about the Tile-serving mailing list