Under our load at su, the new gen would grow to max size and take 800+ ms. I would consider setting the ms goal to 20-40ms (what we get in prod now). At 1gb par new i would expect large pauses. Plus in my previous tests the promotion was like 75% even with a huge par new.
This is all based on my bulk loading and other prod workload from mid 2009. The primary difference this year is just higher load :) On Feb 4, 2011 8:21 AM, "Stack" <[email protected]> wrote: > On Fri, Feb 4, 2011 at 12:20 AM, Lars George <[email protected]> wrote: >> I saw the -XX:MaxGCPauseMillis option too and assumed it is not that >> effective as it was never suggested so far. So it was simply not tried >> yet and someone has to be the guinea pig? >> > > Yeah, haven't had good experience with these upper-bounds in pause > time. We can add it though. > > >> So that 6M NewSize in the Wiki was OK previously and now 256M is >> actually better? The represent opposite ideas and I still try to >> understand which is better now, small eden or reasonably large one? >> > > This is best thing I've read on GC: > http://www.scribd.com/doc/37127094/GCTuningPresentationFISL10 > > As I read it, avoid promotion to old gen if at all possible. > > >> Setting the -Xmn fixed seems to make sense given that it does do OK >> with various heap size and a ration may be too liberal giving away >> space. >> > > 256M seems way small still given what I read above. Woud also like to > avoid hardcoding so its 256M whether user runs with 1G -- the default > or 8G. If we set NewRatio to 32, thats about 256M new gen in 8G heap > (http://blogs.sun.com/jonthecollector/entry/the_second_most_important_gc). > How about we set it to 16. Then young gen is about 5%. > > How about: > > -XX:+UseConcMarkSweepGC > -XX:+UseParNewGC > -XX:NewRatio=16 > -XX:CMSInitiatingOccupancyFraction=70 > -XX:+UseCMSInitiatingOccupancyOnly > -XX:MaxGCPauseMillis=100 > > We can add above to your auto-config patch Todd. Yes, Lars, would > like to pull into the book but would also add note into hbase-env.sh > to say this is just starting point .... and we'd let go of the wiki > (it needs updating to reference Todd's new LZO fixings too). If above > looks reasonable, I'll test it. > > St.Ack > > St.Ack
