On 1/20/2013 11:33 AM, Shawn Heisey wrote:
On 1/18/2013 10:07 PM, Shawn Heisey wrote:
On my dev 4.1 server with Java 7u11, I am using the G1 collector with a
max pause target of 1500ms. I was thinking that this collector was
producing long pauses too, but after reviewing the gc log with a closer
eye, I see that there are lines that specifically say "pause" ... and
all of THOSE lines are below half a second except one that took 1.4
seconds. Does that mean that it's actually meeting the target, or are
the other lines that show quite long time values indicative of a
problem? If only the lines that explicitly say "pause" are the ones I
need to worry about, then it looks like G1 is the clear winner.
Here's a paste showing a command and its output. I included "remark" in
the grep because I saw a presentation saying that remark in G1 is
stop-the-world:
http://pastie.org/private/vygpvtjzicsl8uztg3drw
None of the matching log lines get close to my 5 second pain point. If
I check the entire unfiltered log for lines that exceed 3 seconds, I do
find a few, but only one of them says "pause" and it's far enough below
the 5 second level that it probably would not cause a problem:
http://pastie.org/private/wcessvbrditextxmoapksq
Here's the perl script used in the two outputs above:
http://pastie.org/private/itu9hbgiwugdjtmy3yg8g
Here's the full gc log for anyone that feels compelled to fully investigate:
http://dl.dropbox.com/u/97770508/gc.log
Thanks,
Shawn