I have observed that typically mkgmap does not use more that 2 threads.
If the max-jobs parameter is set to a greater value than 2 the surplus
threads are blocked in the MapMaker.loadFromFile.
There is a note in the MapMaker source code:
// work around non-reentrancy of GType priority stuff
// by serialising the map reading
Is there any chance to remove this synchronization to get a gain of more
threads? What has to be done to remove the synchronization in the
MapMaker class?
WanMil
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev