Hmm. Thanks Erick and Markus. 
I'll check this.

-Lewin

-----Original Message-----
From: Markus Jelsma [mailto:markus.jel...@openindex.io] 
Sent: Tuesday, June 20, 2017 1:04 PM
To: solr-user@lucene.apache.org
Subject: RE: Estimating CPU

To add on Erick,

First thing that comes to mind, you also have a huge heap, do you really need 
it to be that large, if not absolutely necessary, reduce it. If you need it 
because of FieldCache, consider DocValues instead and reduce the heap again.

Use tools like VisualVM to see what the CPU is doing, if it spends an 
unreasonable amount of time on garbage collection on small loads, your heap is 
probably too large.

Markus 
 
-----Original message-----
> From:Erick Erickson <erickerick...@gmail.com>
> Sent: Tuesday 20th June 2017 20:59
> To: solr-user <solr-user@lucene.apache.org>
> Subject: Re: Estimating CPU
> 
> In a word, "stress test". Here's the blog I wrote on topic outlining
> why it's hard to give a more helpful answer....
> 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lucidworks.com_2012_07_23_sizing-2Dhardware-2Din-2Dthe-2Dabstract-2Dwhy-2Dwe-2Ddont-2Dhave-2Da-2Ddefinitive-2Danswer_&d=DwIFaQ&c=DDPRwrN9uYSNUDpKqPeD1g&r=WMeiuwk_Qf7aOundlWmtZMlairjO8ZQxQpAndx7JD6A&m=8kEwxWMum9S4-v6BFeNiyod9aBKY7768SPgi1AROp1E&s=SGOI-gzQxOn7izwGycG2hkxQpZbh5fmSqgIEvOM7p-8&e=
>  
> 
> You might want to explore the hyper-log-log approach which provides
> pretty good estimates without so many resources.
> 
> Best,
> Erick
> 
> On Tue, Jun 20, 2017 at 11:36 AM, Lewin Joy (TMS) <lewin....@toyota.com> 
> wrote:
> > ** PROTECTED 関係者外秘
> > Hi,
> >
> > Is there anyway to estimate the CPU needed to setup solr environment?
> > We use pivot facets extensively. We use it in json facet api and also 
> > native queries.
> >
> > For our 150 million record collection, we are seeing high CPU usage of 100% 
> > with small loads.
> > If we have to increase our configuration, is there somehow we can estimate 
> > the CPU usage?
> >
> > We have five VMs with 8 CPU each and 32gb RAM, for which solr uses 24gb 
> > heap.
> >
> > Thanks,
> > Lewin
> 

Reply via email to