No problem, I bother you guys a lot, I can only contribute from time to 
time in order to payback somehow to you and the the community, specially 
the painful task of tuning a JVM...

On Friday, February 5, 2016 at 12:00:19 PM UTC, Patrik Nordwall wrote:
>
> Thanks a lot for sharing, Guido!
> fre 5 feb. 2016 kl. 12:54 skrev Guido Medina <oxy...@gmail.com 
> <javascript:>>:
>
>> Tests on Solr with JDK 8u72 corroborates my statement of G1GC looking 
>> good:
>>
>> https://wiki.apache.org/solr/ShawnHeisey
>>
>>
>> On Friday, February 5, 2016 at 11:50:16 AM UTC, Guido Medina wrote:
>>>
>>> It looks like for Java 8u72 G1GC is pretty much fixed, again I'm using 
>>> it for low heap/latency micro-services, each micro-service won't exceed 1GB 
>>> heap size.
>>>
>>> I had to remove the MaxGCPauseMillis=10 because was making GC too costly 
>>> slowing down my application and causing some 10+ ms pauses, and after; I 
>>> haven't seen a pause for the last 24 hours so far for a 256m heap.
>>> I read that some people configure MaxGCPauseMillis between 200 and 500 
>>> target which as side effect extends the Young and Eden making copying less 
>>> frequent; again I left at its default of 200ms.
>>>
>>> I even tried -XX:+AggressiveOpts and -XX:UseFastAccessorMethods but that 
>>> was also slowing down the application, weird; so here is what I think will 
>>> be my final setup for low heap/latency micro-services:
>>>
>>> -server
>>> -Xms256m (or 512m or 768m or 1g depending on your HEAP needs)
>>> -Xmx256m (make it always equal to Xms for better GC)
>>> -XX:+UseNUMA
>>> -XX:+UseG1GC
>>> -XX:+AlwaysPreTouch
>>> -XX:+PerfDisableSharedMem
>>> -XX:+ParallelRefProcEnabled
>>>
>>> Enjoy,
>>>
>>> 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 akka-user+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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