lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Solr CPU usage
Date Fri, 27 Nov 2009 16:37:33 GMT
On Fri, Nov 27, 2009 at 9:30 AM, Girish Redekar
<girish.redekar@aplopio.com> wrote:
> Hi
>
> I'm testing my Solr instance with multiple simultaneous requests. Here's my
> test.
>
> For an index of ~200K docs, I query Solr with 10 simultaneous threads. Can
> someone help me explain/improve the following observations:
>
> 1) Solr doesn't seem to use all the available CPU to improve response times
> (query times are good, but the time required to return documents aren't so
> good). My CPU seems to be running at ~30%
> 2) As expected, time for response increases as the num of requested results
> increase. What's surprising (and perplexing) is that Solr seems to use
> *more* of the CPU when I'm requesting *fewer* docs. Consequently, its
> performance in returning a larger result set is very bad

This may point to another bottleneck - if the OS is low on free RAM,
it could be disk IO.
If this is on Windows, you could have contention reading the index files.
Otherwise, you may have a bottleneck in network IO.  Is the client you
are testing with on the same box?
Is this Solr 1.4?

-Yonik
http://www.lucidimagination.com

Mime
View raw message