You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "C. Scott Andreas (JIRA)" <ji...@apache.org> on 2018/11/18 18:19:02 UTC

[jira] [Updated] (CASSANDRA-8763) Trickle fsync should not be optional, but should have a large default interval

     [ https://issues.apache.org/jira/browse/CASSANDRA-8763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

C. Scott Andreas updated CASSANDRA-8763:
----------------------------------------
    Component/s: Configuration

> Trickle fsync should not be optional, but should have a large default interval
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8763
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8763
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Benedict
>            Priority: Minor
>             Fix For: 4.x
>
>
> The reason to avoid "trickle fsync" is that it permits more efficient flushing; however once we get above a few hundred MBs, it really doesn't make a great deal of difference. Contrarily, it can cause runaway utilisation of memory by dirty pages in the page cache, damaging performance for other components and potentially invoking the kernel OOM killer. I suggest we pick an amount of memory proportional to the size of the heap (or check the actual amount of memory in the system), and divide this by the number of flush threads we have, and use this as the default trickle fsync interval, and we _always_ "trickle" fsync, ignoring the ability to disable it. We only permit on override of the size of the interval (if you want to disable it, you can set the interval absurdly large).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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