Hi Tim,

Not sure about the zeros in 4.3.1, but in SPM we see all these numbers
are non-0, though I haven't had the chance to confirm with Solr 4.3.1.

Note that you can't really autowarm document cache...

Otis
--
Solr & ElasticSearch Support -- http://sematext.com/
Performance Monitoring -- http://sematext.com/spm



On Fri, Jun 28, 2013 at 7:14 PM, 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