Commit: r1057: Add --max-jobs option to request concurrent processing of maps.

Version 1057 was commited by markb on 2009-06-03 11:26:34 +0100 (Wed, 03 Jun 2009) Add --max-jobs option to request concurrent processing of maps. Processing of the maps is handled concurrently by a pool of top-level threads. The number of threads in the pool can be specified explicitly with the --max-jobs=N option. Specifying just --max-jobs will set the number of threads equal to the number of CPUs available.

svn commit wrote:
Version 1057 was commited by markb on 2009-06-03 11:26:34 +0100 (Wed, 03 Jun 2009)
Add --max-jobs option to request concurrent processing of maps.
Processing of the maps is handled concurrently by a pool of top-level threads. The number of threads in the pool can be specified explicitly with the --max-jobs=N option.
Specifying just --max-jobs will set the number of threads equal to the number of CPUs available.
Specifying or specifically not specifying? I'm confused: What should be done to get one thread on a single core machine, or two threads on a dual core? _______________________________________________
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Lambertus,
Specifying or specifically not specifying? I'm confused: What should be done to get one thread on a single core machine, or two threads on a dual core?
Use --max-jobs. To summarise: If --max-jobs is not specified, you get 1 thread no matter how many cores you have. If --max-jobs is specified, you get as many threads as you have cores. If --max-jobs=N is specified, you get N threads. The help blurb says this in another way. Cheers, Mark

Thanks a lot! Mark Burton wrote:
Hi Lambertus,
Specifying or specifically not specifying? I'm confused: What should be done to get one thread on a single core machine, or two threads on a dual core?
Use --max-jobs.
To summarise:
If --max-jobs is not specified, you get 1 thread no matter how many cores you have.
If --max-jobs is specified, you get as many threads as you have cores.
If --max-jobs=N is specified, you get N threads.
The help blurb says this in another way.
Cheers,
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Lambertus
-
Mark Burton
-
svn commit