[Geocoding] Local Mirror of OSM Data...

Peter Childs pchilds at bcs.org
Fri Oct 23 11:40:56 BST 2009


2009/10/23 Emilie Laffray <emilie.laffray at gmail.com>

>
>
> 2009/10/23 Peter Childs <pchilds at bcs.org>
>
>>
>> No I'm using...
>>
>> bzcat planet-latest.osm.bz2 | osmosis-0.31/bin/osmosis --read-xml
>> file=/dev/stdin --write-pgsql database=map
>>
>> and apparently CPU usage, (according to TOP, (Give or take))
>>
>> osmosis 55%, postgres 15%, bzcat 12%
>>
>> Can't believe it takes 4 times the resources to convert XML that it takes
>> to decompress a file.....
>>
>>
> One of the thing that I do is to use the write-pgsql-dump task that is
> faster. Then importing data with the copy command is pretty fast. If you
> have a multicore machine, can you check the load for each processor? What is
> the percentage value for wa?
>
> Emilie Laffray
>

Annoyingly its the slowest single core pile of rubbish in the office, Its
just got loads of Hard Disk space..... (1Gb of Memory, Duron 1200) but then
most of my machines are not much better, some are actually worse, I even
have one that running on hmm Pentium 3, 800MHz and that's my hmm remote
access machine.....)

 I was speculating at restarting with, --fast-read-xml and -wpd

But I think I might be better starting with a clean sheet of paper, I only
really wanted to know what I was up against.

Peter

Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/geocoding/attachments/20091023/f055d478/attachment.html>


More information about the Geocoding mailing list