You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Sammy Yu <te...@gmail.com> on 2008/12/15 23:14:22 UTC

Slow Response time after optimize

Hi guys,
   I have a typical master/slave setup running with Solr 1.3.0.  I did
some basic scalability test with JMeter and tweaked our environment
and determined that we can handle approximately 26 simultaneous
threads and get end-to-end response times of under 200ms even with
typically every 5 minute distribution.   However, as soon as I issue a
single optimize on the master, the response time goes up to over 500ms
and does not seem to recover.   As soon as I restarted the response
time is back down to 200ms.  My index is approximately 5 GB in size
and the queries are just basic constructed disjunction queries such as
title:iphone OR bodytext:iphone.  Has anybody seen this issue before?

Thanks,
Sammy

Re: Slow Response time after optimize

Posted by Yonik Seeley <ys...@gmail.com>.
Can you try with the latest nightly build?
That may help pinpoint if it's index file locking contention, or OS
disk cache misses when reading the index.  If the time never recovers,
it suggests the former.

-Yonik

On Mon, Dec 15, 2008 at 5:14 PM, Sammy Yu <te...@gmail.com> wrote:
> Hi guys,
>   I have a typical master/slave setup running with Solr 1.3.0.  I did
> some basic scalability test with JMeter and tweaked our environment
> and determined that we can handle approximately 26 simultaneous
> threads and get end-to-end response times of under 200ms even with
> typically every 5 minute distribution.   However, as soon as I issue a
> single optimize on the master, the response time goes up to over 500ms
> and does not seem to recover.   As soon as I restarted the response
> time is back down to 200ms.  My index is approximately 5 GB in size
> and the queries are just basic constructed disjunction queries such as
> title:iphone OR bodytext:iphone.  Has anybody seen this issue before?
>
> Thanks,
> Sammy
>