The general recommendation is to watch the caches during normal user
searches and keep increasing the size until evictions start happening.
This may or may not work for your situation.

The problem is that the eviction rate does not show "lifetime in
cache". So if 90% of the cache sits there indefinitely and the
remaining 10% churns, the cache is fine but you'll show zillions of
evictions.

On Thu, May 13, 2010 at 10:38 AM, Nagelberg, Kallin
<knagelb...@globeandmail.com> wrote:
> I am trying to tune my Solr setup so that the caches are well warmed after 
> the index is updated. My documents are quite small, usually under 10k. I 
> currently have a document cache size of about 15,000, and am warming up 5,000 
> with a query after each indexing. Autocommit is set at 30 seconds, and my 
> caches are warming up easily in just a couple of seconds. I've read of 
> concerns regarding garbage collection when your cache is too large. Does 
> anyone have experience with this? Ideally I would like to get 90% of all 
> documents from the last month in memory after each index, which would be 
> around 25,000. I'm doing extensive load testing, but if someone has 
> recommendations I'd love to hear them.
>
> Thanks,
> -Kallin Nagelberg
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to