On 4/30/2014 5:53 PM, Aman Tandon wrote: > Shawn -> Yes we have some plans to move to SolrCloud, Our total index size > is 40GB with 11M of Docs, Available RAM 32GB, Allowed heap space for solr > is 14GB, the GC tuning parameters using in our server > is -XX:+UseConcMarkSweepGC -XX:+PrintGCApplicationStoppedTime > -XX:+PrintGCDetails -XX:+PrintGCTimeStamps.
This means that you have about 18GB of RAM left over to cache a 40GB index. That's less than 50 percent. Every index is different, but this is in the ballpark of where performance problems begin. If you had 48GB of RAM, your performance (not counting possible GC problems) would likely be very good. 64GB would be ideal. Your only GC tuning is switching the collector to CMS. This won't be enough. When I had a config like this and heap of only 8GB, I was seeing GC pauses of 10 to 12 seconds. http://wiki.apache.org/solr/ShawnHeisey#GC_Tuning One question: Do you really need 14GB of heap? One of my servers has a total of 65GB of index (54 million docs) with a 7GB heap and 64GB of RAM. Currently I don't use facets, though. When I do, they will be enum. If you switch all your facets to enum, your heap requirements may go down. Decreasing the heap size will make more memory available for index caching. Thanks, Shawn