<br><br><div class="gmail_quote">2009/10/23 Emilie Laffray <span dir="ltr"><<a href="mailto:emilie.laffray@gmail.com">emilie.laffray@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote">2009/10/23 Peter Childs <span dir="ltr"><<a href="mailto:pchilds@bcs.org" target="_blank">pchilds@bcs.org</a>></span><div class="im"><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

<div class="gmail_quote"><br><div>No I'm using...</div><div><br></div><div>bzcat planet-latest.osm.bz2 | osmosis-0.31/bin/osmosis --read-xml file=/dev/stdin --write-pgsql database=map</div><div><br>
</div><div>and apparently CPU usage, (according to TOP, (Give or take))</div><div><br></div><div>osmosis 55%, postgres 15%, bzcat 12%</div><div><br></div><div>Can't believe it takes 4 times the resources to convert XML that it takes to decompress a file.....</div>

<br></div></blockquote></div></div><br>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?<br>
<font color="#888888">
<br>Emilie Laffray<br>
</font></blockquote></div><br><div>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.....)</div>
<div><br></div><div> I was speculating at restarting with, --fast-read-xml and -wpd </div><div><br></div><div>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.</div>
<div><br></div><div>Peter</div><div><br></div><div>Peter.</div>