To answer some of my own question, Shawn H's great reply on this thread
explains why I see no autoWarming on doc cache:

http://www.marshut.com/iznwr/soft-commit-and-document-cache.html

It is still unclear to me why I see no other metrics, however.

Thanks Shawn,

Tim


On 28 June 2013 16:14, Tim Vaillancourt <t...@elementspace.com> wrote:

> Hey guys,
>
> This has to be a stupid question/I must be doing something wrong, but
> after frequent load testing with documentCache enabled under Solr 4.3.1
> with autoWarmCount=150, I'm noticing that my documentCache metrics are
> always zero for non-cumlative.
>
> At first I thought my commit rate is fast enough I just never see the
> non-cumlative result, but after 100s of samples I still always get zero
> values.
>
> Here is the current output of my documentCache from Solr's admin for 1
> core:
>
> "
>
>    - 
> documentCache<http://localhost:8983/solr/#/channels_shard1_replica2/plugins/cache?entry=documentCache>
>       - class:org.apache.solr.search.LRUCache
>       - version:1.0
>       - description:LRU Cache(maxSize=512, initialSize=512,
>       autowarmCount=150, regenerator=null)
>       - src:$URL: https:/
>       /svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_3/
>       
> solr/core/src/java/org/apache/solr/search/LRUCache.java<https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_3/solr/core/src/java/org/apache/solr/search/LRUCache.java>$
>       - stats:
>          - lookups:0
>          - hits:0
>          - hitratio:0.00
>          - inserts: 0
>          - evictions:0
>          - size:0
>          - warmupTime:0
>          - cumulative_lookups: 65198986
>          - cumulative_hits:63075669
>          - cumulative_hitratio:0.96
>          - cumulative_inserts: 2123317
>          - cumulative_evictions:1010262
>       "
>
> The cumulative values seem to rise, suggesting doc cache is working, but
> at the same time it seems I never see non-cumlative metrics, most
> importantly warmupTime.
>
> Am I doing something wrong, is this normal/by-design, or is there an issue
> here?
>
> Thanks for helping with my silly question! Have a good weekend,
>
> Tim
>
>
>
>

Reply via email to