<div dir="ltr">Ok, thanks for the info.<div><br></div><div>Mathias</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 27, 2015 at 10:13 AM, Sarah Hoffmann <span dir="ltr"><<a href="mailto:lonvia@denofr.de" target="_blank">lonvia@denofr.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Mar 27, 2015 at 09:29:57AM +0100, Mathias Versichele wrote:<br>
> I see. Judging by the graphs, the server handles around 1000 successful<br>
> results per minute or almost 17 per second. Which is lower than what I am<br>
> seeing right now. Does that mean that I shouldn't expect any more gains?<br>
<br>
</span>Not necessarily. The server is serving up to 8k reverse queries<br>
per minute at the same time. They are cheaper but still take time to process.<br>
Also, you need to add the search queries that yield 0 results. They are listed<br>
extra because in most cases they are more expensive (Nominatim needs to try<br>
more interpretations of the search query).<br>
<br>
If you look at it the other way around, a search query takes 250ms on average<br>
when the server is under full load. With 12 real CPUs and given that IO has<br>
very little influence because of the SSDs, I'd expect it can do easily<br>
50 search queries per second. Naturally, that's all just back-of-the-envelope<br>
computation. And it's only a factor of 2. I suspect you can gain more by<br>
making sure your queries are well formed (adding commas between address<br>
parts, for example) and by reducing the database size to only the data<br>
you really need.<br>
<br>
Sarah<br>
<span class=""><br>
<br>
> I understand the different factors influencing performance, but I'm more<br>
> trying to get a grasp of the maximum I should be aiming at (on a dedicated<br>
> system).<br>
><br>
> On Fri, Mar 27, 2015 at 9:10 AM, Sarah Hoffmann <<a href="mailto:lonvia@denofr.de">lonvia@denofr.de</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > On Wed, Mar 25, 2015 at 10:56:30PM +0100, Mathias Versichele wrote:<br>
> > > using batch mode and experimenting with batch-size and the number of<br>
> > > simultaneous batch requests, my geocoding speed seems to level out at<br>
> > > around 25 addresses per second. Is it realistic to be still aiming for a<br>
> > > considerable improvement ? Without going through the details, are there<br>
> > any<br>
> > > kind of benchmarking results available (sort of like the planet imports).<br>
> ><br>
> > I'm not aware of any systematic benchmarking. You can have a look at the<br>
> > server stats for <a href="http://nominatim.osm.org" target="_blank">nominatim.osm.org</a> at<br>
> ><br>
> > <a href="http://munin.osm.org/openstreetmap/pummelzacken.openstreetmap/index.html#nominatim" target="_blank">http://munin.osm.org/openstreetmap/pummelzacken.openstreetmap/index.html#nominatim</a><br>
> > to get an idea how that server is doing.<br>
> ><br>
> > Note that query speed can be vastly different depending on the hardware you<br>
> > have, what kind of area is imported and what kind of queries you have (even<br>
> > what kind of format your search term has can make a huge difference). So<br>
> > I'm<br>
> > not even sure benchmarks could have more than anecdotic value.<br>
> ><br>
> > Sarah<br>
> ><br>
><br>
><br>
><br>
> --<br>
> Tel: <a href="tel:%2B32%20%2809%29%2F241.56.35" value="+3292415635">+32 (09)/241.56.35</a><br>
</span>> Mobile: <a href="tel:%2B32%20%280%29485.16.07.08" value="+32485160708">+32 (0)485.16.07.08</a> <%2B32%20%280%29473.44.59.29><br>
> <a href="http://www.geointelligence.be" target="_blank">www.geointelligence.be</a><br>
> <<a href="http://www.geointelligence.be/home-2/" target="_blank">http://www.geointelligence.be/home-2/</a>><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="Calibri Light, sans-serif">Tel: <a href="tel:%2B32%20%2809%29%2F241.56.35" value="+3292415635" style="color:rgb(17,85,204)" target="_blank">+32 (09)/241.56.35</a><br></font><span style="font-family:'Calibri Light',sans-serif">Mobile: <a href="tel:%2B32%20%280%29473.44.59.29" value="+32473445929" style="color:rgb(17,85,204)" target="_blank">+32 (0)485.16.07.08</a><br></span><a href="http://www.geointelligence.be/" style="color:rgb(17,85,204);font-family:'Calibri Light',sans-serif" target="_blank">www.geointelligence.be</a><br><a href="http://www.geointelligence.be/home-2/" title="GeoIntelligence" rel="home" style="color:rgb(17,85,204)" target="_blank"><img src="http://www.geointelligence.be/wp-content/uploads/2014/07/GeoIntelligence-logo.png" alt="" style="min-height:61px;margin-top:9.5px"></a><br></div></div>
</div>