Re: What is the healthy interval length for young gc?

2011-01-04 Thread Pid
On 1/3/11 7:54 PM, Pid wrote: On 1/3/11 2:41 PM, Leon Rosenberg wrote: On Mon, Jan 3, 2011 at 3:10 PM, Pid p...@pidster.com wrote: On 1/3/11 1:10 PM, Leon Rosenberg wrote: Actually no, in my understanding both are independent. I mean the gc doesn't start to copy over if young is full, it

Re: What is the healthy interval length for young gc?

2011-01-04 Thread Leon Rosenberg
On Tue, Jan 4, 2011 at 1:08 PM, Pid p...@pidster.com wrote: Having said that, you might also just try, instead:  -XX:+UseParallelGC  -XX:+UseAdaptiveSizePolicy I think UseParallelGC is default? I will try the second option. thanx Leon

Re: What is the healthy interval length for young gc?

2011-01-04 Thread Pid
On 1/4/11 1:38 PM, Leon Rosenberg wrote: On Tue, Jan 4, 2011 at 1:08 PM, Pid p...@pidster.com wrote: Having said that, you might also just try, instead: -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy I think UseParallelGC is default? I didn't think so, but I could be wrong. I've

RE: What is the healthy interval length for young gc?

2011-01-04 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: What is the healthy interval length for young gc? I think UseParallelGC is default? I didn't think so, but I could be wrong. It has been the default for quite some time if multiple cores are available. Take a thread dump and count

Re: What is the healthy interval length for young gc?

2011-01-04 Thread Pid
On 1/4/11 2:47 PM, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: What is the healthy interval length for young gc? I think UseParallelGC is default? I didn't think so, but I could be wrong. It has been the default for quite some time if multiple cores

Re: What is the healthy interval length for young gc?

2011-01-03 Thread André Warnier
Leon Rosenberg wrote: Hi, First of all Happy and Successful New Year to all subscribers. And the same to you. I understand that this is a very application specific issue, but I'm wondering which interval is perceived as 'healthy' for young collections? I have one customer's system which,

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Leon Rosenberg
Hello André, On Mon, Jan 3, 2011 at 1:35 PM, André Warnier a...@ice-sa.com wrote: Leon Rosenberg wrote: I understand that this is a very application specific issue, but I'm wondering which interval is perceived as 'healthy' for young collections? I have one customer's system which, at peak

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Pid
On 1/3/11 1:10 PM, Leon Rosenberg wrote: Hello André, On Mon, Jan 3, 2011 at 1:35 PM, André Warnier a...@ice-sa.com wrote: Leon Rosenberg wrote: I understand that this is a very application specific issue, but I'm wondering which interval is perceived as 'healthy' for young collections? I

RE: What is the healthy interval length for young gc?

2011-01-03 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: What is the healthy interval length for young gc? I don't think that a Minor GC (involving only the new Heap area) suspends the applications, while a Major GC does. Not true; a minor GC does suspend the mutator threads, just

Re: What is the healthy interval length for young gc?

2011-01-03 Thread André Warnier
Leon Rosenberg wrote: If Major GC's are taking place often, then it must mean that despite the regular copying from the From to the To parts of the new generation (by the Minor GCs), the JVM is running out of space on the new gen part, and therefore has to do a Major GC to move things to the

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Leon Rosenberg
On Mon, Jan 3, 2011 at 3:10 PM, Pid p...@pidster.com wrote: On 1/3/11 1:10 PM, Leon Rosenberg wrote: Actually no, in my understanding both are independent. I mean the gc doesn't start to copy over if young is full, it simply cleans young. However, to quote your article: Old generation objects

RE: What is the healthy interval length for young gc?

2011-01-03 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: What is the healthy interval length for young gc? But, it is reasonable to assume that it runs out of space because objects are moved there from the new gen, when ditto objects have survived a certain time in the new gen. (I

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Leon Rosenberg
Hello Chuck, On Mon, Jan 3, 2011 at 3:23 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: By increasing the space on the new gen alone, you may make Minor GC's less frequent. And by specifying fixed sizes for generations, you can upset the balance between old and new, and prevent

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Pid
On 1/3/11 2:41 PM, Leon Rosenberg wrote: On Mon, Jan 3, 2011 at 3:10 PM, Pid p...@pidster.com wrote: On 1/3/11 1:10 PM, Leon Rosenberg wrote: Actually no, in my understanding both are independent. I mean the gc doesn't start to copy over if young is full, it simply cleans young. However, to