CMS is very good for multicore CPU's. Use incremental mode only when you have 
a single CPU with only one or two cores.

On Tuesday 15 March 2011 16:03:38 Shawn Heisey wrote:
> My solr+jetty+java6 install seems to work well with these GC options.
> It's a dual processor environment:
> 
> -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
> 
> I've never had a real problem with memory, so I've not done any kind of
> auditing.  I probably should, but time is a limited resource.
> 
> Shawn
> 
> On 3/14/2011 2:29 PM, Markus Jelsma wrote:
> > That depends on your GC settings and generation sizes. And, instead of
> > UseParallelGC you'd better use UseParNewGC in combination with CMS.
> > 
> > See 22: http://java.sun.com/docs/hotspot/gc1.4.2/faq.html
> > 
> >> It's actually, as I understand it, expected JVM behavior to see the heap
> >> rise to close to it's limit before it gets GC'd, that's how Java GC
> >> works.  Whether that should happen every 20 seconds or what, I don't
> >> nkow.
> >> 
> >> Another option is setting better JVM garbage collection arguments, so GC
> >> doesn't "stop the world" so often. I have had good luck with my Solr
> >> using this:  -XX:+UseParallelGC

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Reply via email to