logo separator

[mkgmap-dev] [PATCH v1] Experimental support for multi-threading

From Paul news at pointdee.co.uk on Sat May 9 20:21:15 BST 2009

Mark Burton wrote:
> Hi Folks,
> 
> I have recently gained access to a monster box containing 16 3GHz
> cores and 32 G of memory so I thought it would make an ideal machine to
> test a multi-threaded version of mkgmap.
> 

> The patch has received some testing using mapsource and I think I have
> removed the worst of the bugs but I would very much appreciate it if
> people could try it out and see if it causes any breakage.
> 
> Obviously, I would also like to know how well it performs.
> 
> As it has only been tested under Linux any reports from other platforms
> would be especially useful.
> 

Using a patched r1033 on openSUSE_11.1 64bit with 4GB RAM I successfully
compiled a map from todays great_britain.osm from Geofabrik. Command
line is:-

java -Xmx2048M -jar mkgmap.jar --latin1 --gmapsupp --route
--region-name="Great Britain" --region-abbr="GBR" --net --code-page=1252
--country-name="UNITED KINGDOM" --country-abbr=UK --tdbfile --tdb-v4
--stylefile=./mystylefiles --description="Map of GB" 700000??.osm

I have no actual timings for run time but system monitor showed both
cores extensively used throughout.

Cheers

Paul




More information about the mkgmap-dev mailing list