lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From didier deshommes <dfdes...@gmail.com>
Subject Re: QTime Solr Query
Date Fri, 11 Feb 2011 04:22:10 GMT
On Thu, Feb 10, 2011 at 4:08 PM, Stijn Vanhoorelbeke
<stijn.vanhoorelbeke@gmail.com> wrote:
> Hi,
>
> I've done some stress testing onto my solr system ( running in the ec2 cloud
> ).
> From what I've noticed during the tests, the QTime drops to just 1 or 2 ms (
> on a index of ~2 million documents ).
>
> My first thought pointed me to the different Solr caches; so I've disabled
> all of them. Yet QTime stays low.
> Then the Lucence internal Field Cache came into sight. This cache is hidden
> deep into Lucence and is not configurable trough Solr.
>
> To cope with this I thought I would lower the memory allocated to Solr -
> that way a smaller cache is forced.
> But yet QTime stays low.

When stress-testing Solr, I usually flush the OS cache also. This is
the command to do it on linux:

# sync; echo 3 > /proc/sys/vm/drop_caches

didier
>
> Can Solr be so fast to retrieve queries in just 1/2 ms - even if I only
> allocate 100 Mb to Solr?
>

Mime
View raw message