lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Setting swappiness
Date Wed, 24 Jun 2009 22:28:45 GMT
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<nigelspleen@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 <
> lucene@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message