Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B736917C51 for ; Thu, 3 Mar 2016 06:09:26 +0000 (UTC) Received: (qmail 37595 invoked by uid 500); 3 Mar 2016 06:09:23 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 37524 invoked by uid 500); 3 Mar 2016 06:09:23 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 37510 invoked by uid 99); 3 Mar 2016 06:09:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2016 06:09:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9F4F71A1301 for ; Thu, 3 Mar 2016 06:09:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.407 X-Spam-Level: ** X-Spam-Status: No, score=2.407 tagged_above=-999 required=6.31 tests=[HTML_IMAGE_ONLY_28=0.726, HTML_IMAGE_RATIO_06=0.001, HTML_MESSAGE=2, RP_MATCHES_RCVD=-0.329, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id UfhDU5SecISf for ; Thu, 3 Mar 2016 06:09:20 +0000 (UTC) Received: from webmail-india.asite.com (webmail.india.asite.com [202.131.102.148]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 3A5F45FB14 for ; Thu, 3 Mar 2016 06:09:19 +0000 (UTC) Received: from indiaserv04.asite.asitehq.com ([192.168.100.19]) by indiaserv04 ([192.168.100.19]) with mapi id 14.03.0123.003; Thu, 3 Mar 2016 11:39:10 +0530 From: Maulin Rathod To: "solr-user@lucene.apache.org" Subject: Solr Configuration (Caching & RAM) for performance Tuning Thread-Topic: Solr Configuration (Caching & RAM) for performance Tuning Thread-Index: AdF1Ei5JqfiAjNxRQM+o/QIFUNE3PA== Date: Thu, 3 Mar 2016 06:09:09 +0000 Message-ID: <027C1B99733BA64792B363A464CFBA46A0939E24@indiaserv04> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.100.136] Content-Type: multipart/alternative; boundary="_000_027C1B99733BA64792B363A464CFBA46A0939E24indiaserv04_" MIME-Version: 1.0 --_000_027C1B99733BA64792B363A464CFBA46A0939E24indiaserv04_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, We are using Solr 5.2 (on windows 2012 server/jdk 1.8) for document content= indexing/querying. We found that querying slows down intermittently under = load condition. In our analysis we found two issues. 1) Solr is not effectively using caching. Whenever new document indexed, it opens new searcher and hence cache will b= ecome invalid (as cache was associated with old Index Searcher). In our sce= nario, new documents are indexed very frequently (at least 10 document are = indexed per minute). So effectively cache will not be useful as it will ope= n new searcher frequently to make new documents available for searching. Ho= w can improve caching usage? 2) RAM is not utilized We observed that Solr is using only 1-2 GB of heap even though we have assi= gn 50 GB. Seems like it is not loading index into RAM which leads to high I= O. Is it possible to configure Solr to fully load indexes in memory? Don't= find any documentation about this. How can we increase RAM usage to improv= e Solr performance? Regards, Maulin [CC Award Winners 2015] --_000_027C1B99733BA64792B363A464CFBA46A0939E24indiaserv04_--