[
https://issues.apache.org/jira/browse/CASSANDRA-21372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082318#comment-18082318
]
Stefan Miklosovic commented on CASSANDRA-21372:
-----------------------------------------------
[~dnk] couldnt we also provide {{-XX:AsyncLogBufferSize}} with e.g. default
value (I think it is 2MB). We can comment it out. I would just put it there too
so people can enable it easily if they need something bigger. As I understand
it, if the log messages wont fit into the buffer, they will be just discarded.
If somebody wants async logging but still wants to be safe(r) in this aspect
they can tweak it easily.
> Add -Xlog:async to jdk17/21 options
> -----------------------------------
>
> Key: CASSANDRA-21372
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21372
> Project: Apache Cassandra
> Issue Type: Task
> Components: Local/Config
> Reporter: Dmitry Konstantinov
> Assignee: Dmitry Konstantinov
> Priority: Normal
> Fix For: 6.x, 7.x
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Enable async GC logging for JDK versions which support it to avoid potential
> hiccups caused by GC log file I/O blocking.
> See
> * https://aws.amazon.com/blogs/developer/asynchronous-logging-corretto-17
> *
> https://www.linkedin.com/blog/engineering/archive/eliminating-large-jvm-gc-pauses-caused-by-background-io-traffic
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]