[Tile-serving] [openstreetmap/osm2pgsql] Use libosmium for geometry building (#684)
Paul Norman
notifications at github.com
Tue Feb 14 23:19:48 UTC 2017
Numbers from a test with master (b9d7fcc162aabda0e972fba4a6a616cb0da5eaa0) and this PR (0333e11adff2a7e09fb3ae00a0de69ae5dc87ad6)
pr
```
Node stats: total(3706912087), max(4630874436) in 548s
Way stats: total(389670834), max(468563887) in 2308s
Relation stats: total(4734167), max(6908001) in 3582s
Finished processing 267057024 ways in 4428 s
All indexes on planet_osm_roads created in 903s
All indexes on planet_osm_point created in 2347s
All indexes on planet_osm_line created in 5859s
All indexes on planet_osm_polygon created in 9432s
Osm2pgsql took 20310s overall
User time (seconds): 11826.25
Maximum resident set size (kbytes): 40146944
Involuntary context switches: 69054
```
master
```
Node stats: total(3706912087), max(4630874436) in 639s
Way stats: total(389670834), max(468563887) in 2864s
Relation stats: total(4734167), max(6908001) in 4775s
Finished processing 267057051 ways in 6517 s
All indexes on planet_osm_roads created in 916s
All indexes on planet_osm_point created in 2468s
All indexes on planet_osm_line created in 5876s
All indexes on planet_osm_polygon created in 9605s
Osm2pgsql took 24412s overall
User time (seconds): 29804.55
Maximum resident set size (kbytes): 39976848
Involuntary context switches: 2654796
```
This is saving over an *hour* on a 6 hour import. Interestingly, master is more parallel, probably because it has more work to do.
--
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/684#issuecomment-279868320
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170214/b12d3dc1/attachment.html>
More information about the Tile-serving
mailing list