Re: [mkgmap-dev] Re: [PATCH v10] make maps in parallel

2009-05-19 Thread Mark Burton

Hi Toby,

> And some performance numbers for you.  First, the baseline run:
> 
> /
> | real14m57.309s
> | user16m40.606s
> | sys 0m9.813s
> \
> 
> Then with --max-jobs:
> 
> /
> | real6m54.229s
> | user18m14.016s
> | sys 0m13.125s
> \
> 
> This is on an Intel Q6600 (a Core2 Quad) @ 2.4GHz with 6GB of RAM.

Thanks for the numbers.

They are similar to what I see on my mega machine (i.e. the realtime
speedup is around x2) with some increase in the user time.

I have plotted real time versus number of cores (aka --max-jobs) and
for the v10 patch the time diminishes as expected as the number of cores
increases. Going from 1 to 4 cores provides a worthwhile speedup but 4-8
doesn't help very much and above 8 makes no difference.

It's interesting to note how machines differ. I have an AMD dual core
job that is only clocked at 1G and it outperforms (when running
parallel mkgmap) a machine that uses a dual core 3GHz Intel pentium 4.
In terms of raw CPU power the Intel machine (a very cheap Acer job) is
actually quite fast but as soon as you try and do anything useful with
it that involves accessing memory it slows right down to a crawl.

Cheers,

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Re: [PATCH v10] make maps in parallel

2009-05-19 Thread Toby Speight
And some performance numbers for you.  First, the baseline run:

/
| real14m57.309s
| user16m40.606s
| sys 0m9.813s
\

Then with --max-jobs:

/
| real6m54.229s
| user18m14.016s
| sys 0m13.125s
\

This is on an Intel Q6600 (a Core2 Quad) @ 2.4GHz with 6GB of RAM.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Re: [PATCH v10] make maps in parallel

2009-05-19 Thread Toby Speight
I've been using this patch, and I've not seen any problems - although
I've not travelled far from home recently, so I can't say I've really
stressed it.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev