Hey, all. I was just looking over the DSpace tuning guide[0] and I got to reading about garbage collectors. Ubuntu {12,14}.04's Tomcat 7 both use the ConcMarkSweep garbage collector, but I wonder if we should be using Java 7's new G1 garbage collector, as JDK7 has been out for a few years now and there are some impressive numbers with G1GC[1][2].
I'm currently using the following JAVA_OPTS on my dev/production servers where the repository has ~20,000 items: -Djava.awt.headless=true -Xms1024m -Xmx2048m -XX:MaxPermSize=320m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode We're moving to newer servers soon (Linode, 6 CPUs, 8GB RAM, from a pretty slow Ec2 m1.medium), so we'll see much more performance anyways, but I'll be experimenting with different parameters there as our repository is becoming increasingly important and heavy (~500,000 hits per month). Cheers, [0] https://wiki.duraspace.org/display/DSDOC4x/Performance+Tuning+DSpace [1] http://blog.sematext.com/2013/06/24/g1-cms-java-garbage-collector/ [2] http://www.aioug.org/sangam12/Presentations/20155.pdf -- Alan Orth alan.o...@gmail.com http://alaninkenya.org http://mjanja.co.ke "I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." -Bjarne Stroustrup, inventor of C++ GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft
_______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette