GC Tuning
Tao Mao
yiyeguhu at gmail.com
Tue Sep 22 21:58:25 UTC 2015
Hi Joseph,
HBase seems to deal with a lot more data typically; perhaps, you'd want to
have a look at other DB solutions (I can provide a list if you want). But
since I don't know about your specific use case and/or context it's
possible that's the only solution given your circumstance.
Coming back to your GC question, as others pointed out, the log indicates
SystemGC-triggered Full GCs, which can be disabled by
setting -XX:+DisableExplicitGC. Otherwise, young gc doesn't look like a
problem for the requirement (i.e., query response time under 1 sec, gc time
under 100ms) as it occurs about every 5~20 sec and lasts <100 ms.
Please report back the findings after you modify the gc flags.
Thanks.
Tao Mao
On Tue, Sep 22, 2015 at 5:43 AM, Joseph <josephj at arssoftware.com> wrote:
> Hi Tao,
>
>
>
> Servers currently respond within 1.2 seconds .But this response may take
> more time, when there is garbage related issue. Servers logs ‘response is
> too slow’ which is usually occur due to the garbage pauses.
>
>
>
> We need to deliver data within one second .Data size is not so large which
> is approximately 3 MB .
>
>
>
> *From:* Tao Mao [mailto:yiyeguhu at gmail.com]
> *Sent:* Saturday, September 19, 2015 8:23 AM
>
> *To:* Joseph James
> *Cc:* hotspot-gc-use
> *Subject:* Re: GC Tuning
>
>
>
> Hi Joseph,
>
>
>
> What's the average response time under current settings?
>
>
>
> What typical use cases are you expecting from HBase (get to know some
> basic idea of your application)? How large is your data set?
>
>
>
> Thanks.
>
> Tao Mao
>
>
>
> On Fri, Sep 18, 2015 at 4:06 AM, Joseph <josephj at arssoftware.com> wrote:
>
> Hi Tao,
>
>
>
> Thank you for your quick response.
>
>
>
> I am trying to tune the No SQL database which require real time response.
> Here in some cases server not responding due to the garbage pauses. Maximum
> response pause allowed is below or equal to 100. When I set -XX:MaxGCPauseMillis=100
> flag, each collection pause exceeds at most of 100 milliseconds?. I want
> reduce the total pause time maximum of 100 milliseconds . Because server
> needs to respond within milliseconds.
>
>
>
>
>
> Regards
>
> Joseph
>
>
>
> *From:* Tao Mao [mailto:yiyeguhu at gmail.com]
> *Sent:* Friday, September 18, 2015 2:21 AM
> *To:* Joseph James
> *Cc:* hotspot-gc-use
> *Subject:* Re: GC Tuning
>
>
>
> Hi,
>
>
>
> What's the goal here (latency or throughput)? What's the bottom line now?
>
>
>
> Thanks.
>
> Tao Mao
>
>
>
>
>
> On Thu, Sep 17, 2015 at 6:02 AM, Joseph <josephj at arssoftware.com> wrote:
>
> Hi ,
>
>
>
> I am Joseph. I am trying to tune performance of our server .I run server
> with following g1 gc options.
>
>
>
> Maximum heap allocated to server is 5GB.
>
>
>
> “ -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:ParallelGCThreads=4
> -XX:InitiatingHeapOccupancyPercent=65 -XX:+ParallelRefProcEnabled
> -XX:-ResizePLAB -Xloggc:/var/log/hbase/gc-hbase.log -XX:+PrintGCDetails
> -XX:+PrintAdaptiveSizePolicy -XX:+PrintGCTimeStamps”
>
>
>
> The gc logs resulted with above gc flags are attached with the mail.How to
> reduce garbage pause time in our server.
>
>
>
> Thank you for your valuble time
>
>
>
>
>
> *Regards,*
>
> *Joseph*
>
>
>
>
> ------------------------------
>
> This mail is sent from the ARS T&TT(India)Pvt Ltd.
>
>
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>
>
>
>
> ------------------------------
>
> This mail is sent from the ARS T&TT(India)Pvt Ltd.
>
>
>
> ------------------------------
> This mail is sent from the ARS T&TT(India)Pvt Ltd.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20150922/383976c8/attachment.html>
More information about the hotspot-gc-use
mailing list