G1 is bad for me
Andrei Pozolotin
andrei.pozolotin at gmail.com
Mon Feb 22 07:28:45 PST 2010
Tony, Ramki, Jon, hello;
1) I take it that you silence means that "we are not there yet" with G1;
understandable - thank you for your efforts!
2) there are some 82 people on this mail list who seem to be really
interested
in GC and G1 specifically; can I ask to you to make brief
announcements here
when JDK 7 weekly build brings some new G1 advances, so we can test
it right away?
Thank you;
Andrei
-------- Original Message --------
Subject: Re: G1 is bad for me
From: Y. Srinivas Ramakrishna <Y.S.Ramakrishna at Sun.COM>
To: Andrei Pozolotin <andrei.pozolotin at gmail.com>
Cc: hotspot-gc-use at openjdk.java.net
Date: Thu 18 Feb 2010 11:37:56 AM CST
> Hi Andrei -- please use the latest hs17 JVM which you can get from JDK
> 7. There have been
> many improvements (and bug fixes) since the 6u18/hs16 that you are
> using below.
> Most importantly, please add -XX:-ReduceInitialCardMarks to work
> around a regression
> introduced in 6u18/hs16, as described in the 6u18 release notes.
> As re optimal settings (these may be quite different from shapes that
> helped with CMS
> for example), i'll let others w/more (tuning and other) experience
> w/G1 comment.
>
> -- ramki
>
> On 02/18/10 08:56, Andrei Pozolotin wrote:
>> Ramki, Jon, hi;
>>
>> I read everyting I could find on G1:
>> http://www.google.com/patents/about?id=j5SpAAAAEBAJ&dq=7,340,494
>>
>> http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-5419.pdf
>> http://research.sun.com/jtech/pubs/04-g1-paper-ismm.pdf
>> http://blogs.sun.com/sunabl/entry/the_new_g1_collector
>> http://blogs.sun.com/jonthecollector/entry/our_collectors
>> etc, etc, etc,
>>
>> got myself excited - looks great on paper!
>>
>> and I followed Albert's advice, while trying to mimic my CMS
>> settings:
>> http://blogs.sun.com/sunabl/entry/the_new_g1_collector
>>
>> -Xms3700m
>> -Xmx3700m
>> -XX:PermSize=50m
>> -XX:MaxPermSize=50m
>> -XX:+UnlockExperimentalVMOptions
>> -XX:+UseG1GC
>> -XX:G1YoungGenSize=900m
>> -XX:SurvivorRatio=2
>> -XX:+G1ParallelRSetUpdatingEnabled
>> -XX:+G1ParallelRSetScanningEnabled
>>
>> results:
>>
>> 1) pauses are 1000 milliseconds or more;
>>
>> 2) reproducible crashes after 3 minutes under load;
>>
>> logs attached;
>>
>> am I missing something obvious?
>> like do I need to switch to older / specific JVM build?
>>
>> per Tony, this was already working fine for a neighbour of mine
>> in 2008:
>>
>> http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-5419.pdf
>>
>> Thank you;
>>
>> Andrei
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> hotspot-gc-use mailing list
>> hotspot-gc-use at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20100222/23bf3fef/attachment.html
More information about the hotspot-gc-use
mailing list