Hi,

I'm wondering if anyone has dealt with the pain of tuning the JVM 8 GC for 
Akka micro-services where the heap size isn't more than 1GB per JVM, here 
is what I have come up with:

-server
-Xms256m
-Xmx256m
-XX:NewSize=64m
-XX:MaxNewSize=64m
-XX:MaxTenuringThreshold=2
-XX:+UseConcMarkSweepGC
-XX:+ParallelRefProcEnabled
-XX:+CMSClassUnloadingEnabled
-XX:+CMSParallelRemarkEnabled
-XX:+UseCMSInitiatingOccupancyOnly
-XX:CMSInitiatingOccupancyFraction=80


That's low latency and many small messages pattern, my micro-services will 
vary from heap sizes of 256m, 512m, 768m and 1g.

Any suggestion or discuss further will be very welcome, Akka team should 
know better the GC pattern of using akka-cluster, etc, but I don't think 
that is going to be too relevant considering the amount of the messages the 
application itself will generate.

*Note:* Some old JVM options for Java 8 are not default to true or what 
should be obvious like *-XX:+UseNewParGC* for your generation.

Regards,

Guido.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to