You can also run vmstat or iostat and watch if the high latency
queries correspond to lots of swap-ins.

Mike

On Wed, Jun 24, 2009 at 3:54 PM, Nigel<nigelspl...@gmail.com> wrote:
> This is interesting, and counter-intuitive: more queries could actually
> improve overall performance.
>
> The big-index-and-slow-query-rate does describe our situation.  I'll try
> running some tests that run queries at various rates concurrent with
> occasional big I/O operations that use the disk cache.  (And then set
> swappiness to zero if it looks like it will help.)
>
> Thanks,
> Chris
>
> On Wed, Jun 24, 2009 at 10:46 AM, Michael McCandless <
> luc...@mikemccandless.com> wrote:
>
>> So highish swappiness (the default in many linux distros) can really
>> kill a search app that has 1) a big index, and 2) relatively slow
>> query rate.  If the query rate is fast, it should keep the pages hot
>> and the OS shouldn't swap them out too badly.
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to