[Tile-serving] [openstreetmap/osm2pgsql] Using LuaJIT to speed up lua code (#801)
sav123
notifications at github.com
Thu Feb 15 22:05:07 UTC 2018
@mmd-osm : I updated the version and reinstalled your patchs. ldd reports links to Luajit and not lua. It was the same before the update ...
still running :
Node(105645k 84.3k/s) Way(468155k 53.35k/s) Relation(2091470 55.53/s)
I got the same rate for the planet, about 55 kways/s with the same server. Nodes ratio is meaningless because it uses only dense nodes, other nodes being pre-processed ( to produce the flat nodes file which is not initialized by my patched version ). The result is a prog running with less than 400 Mb of ram in slim mode. When not running in slim mode, it hangs with a bad alloc error while the server has 100 gb ready for osm2pgsql.
If you are the developper of luajit ( or not ), I can open to you a ssh account to try it yourself with big files.
You must admit than an enhancement may impact differently different data. The planet is not so homogeneous. Parts are dense of ways with a few nodes and tags, other are dense of ways nodes and tags. It's worst for relations. If luajit earns speed with tags, I don't filter them at all. My lua bad tags lists are empty. I filter also relations on the tri-criteria but the other lua jobs are still too opaque for me to be pre computed.
--
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/issues/801#issuecomment-366077030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180215/89148a59/attachment.html>
More information about the Tile-serving
mailing list