You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2022/07/13 14:10:00 UTC

[jira] [Commented] (CASSANDRA-17751) Better Behavior for GCInspector with Low Pause Time GCs

    [ https://issues.apache.org/jira/browse/CASSANDRA-17751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566330#comment-17566330 ] 

Brandon Williams commented on CASSANDRA-17751:
----------------------------------------------

bq. It would be great if Cassandra could be modified such that GCInspector had different behavior if a low pause time collector was detected as being in use

I don't think we should get that involved and instead leave it to the operator to decide.  We already have the gc_log_threshold_in_ms knob, but to disable the logging entirely you have to set this artificially high - we should add a proper way to disable this.

> Better Behavior for GCInspector with Low Pause Time GCs
> -------------------------------------------------------
>
>                 Key: CASSANDRA-17751
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17751
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Other
>            Reporter: Reilly Brogan
>            Priority: Low
>             Fix For: 4.x
>
>
> Low pause time GCs like Shenandoah tend to be very spammy when it comes to running Cassandra with the default configuration. This is because GCInspector seems to detect that Shenandoah cycles are equivalent to GC pauses and because these cycles tend to be relatively long (in the order of 2-3 seconds in my experience) GCInspector constantly throws warnings. However, these cycle times are normal and are not an indicator of resource contention or heap pressure as the actual pause times are very short.
> It would be great if Cassandra could be modified such that GCInspector had different behavior if a low pause time collector was detected as being in use (such as perhaps disabling the warning altogether).
> Note that I used Shenandoah here for my example but ZGC is presumed to have similar behavior.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org