logo separator

[mkgmap-dev] [PATCH] Tile splitter: switch for disabling compression of output file

From Thilo Hannemann thannema at gmx.de on Sun May 10 22:10:24 BST 2009

The tile splitter always compresses its output files. It is  
unnecessary if you need the output files for some preprocessing in an  
uncompressed form anyway. Besides it is slightly faster without  
compression. The attached patch adds a switch "--compressed=false" to  
switch off the compression.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: compressionswitch.patch
Type: application/octet-stream
Size: 2656 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090510/fdfe4caa/attachment.obj 
-------------- next part --------------



Some performance comparisons on the germany.osm.bz2 file from the  
Geofabrik:
All runs are with -Xms2048m -Xmx2048m

--compressed=true

Total time 3723s

real	62m4.775s
user	34m26.067s
sys	25m55.815s

--compressed=false

Total time 3574s

real	59m34.642s
user	31m7.879s
sys	26m9.109s

Only about 5% better performance without compression. YMMV.

Best regards
Thilo


More information about the mkgmap-dev mailing list