We're currently using JDK 8 update 5 with the following settings:

-server
-Xms4g
-Xmx4g
-XX:PermSize=96m
-XX:MaxPermSize=96m
-XX:+UseG1GC
-XX:MaxGCPauseMillis=20
-XX:InitiatingHeapOccupancyPercent=35
-verbose:gc
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-XX:+PrintGCDateStamps
-XX:+PrintTenuringDistribution
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+PrintTenuringDistribution
-Xloggc:logs/gc.log
-XX:ErrorFile=logs/err.log

This works well for us, but you should customize it to your workload. :)

-Jon

On Jan 14, 2015, at 5:51 PM, Albert Strasheim <full...@gmail.com> wrote:

> Greetings all
> 
> We're expanding our Kafka cluster, and I thought this would be a good
> time to try the suggestions in
> 
> http://www.slideshare.net/ToddPalino/enterprise-kafka-kafka-as-a-service
> 
> slide #37 about running on JDK 7 with G1 GC.
> 
> Anybody (Todd?) that could shed some light on a complete set of good
> GC flags to start with and what the best JDK version is to run with
> these days?
> 
> Thanks!
> 
> Regards
> 
> Albert

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to