[
https://issues.apache.org/jira/browse/CASSANDRA-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216595#comment-13216595
]
Peter Schuller commented on CASSANDRA-3948:
-------------------------------------------
So as long as we're only writing few number of very large files, it should in
practice work fairly well. Default settings are 30 seconds expiry of dirty
buffers, up to 5% of page cache dirty, on Linux.
That said, MAX_BYTES_IN_PAGE_CACHE is thus not really max bytes in page cache,
but rather just fadvise interval in bytes.
> SequentialWriter doesn't fsync() before posix_fadvise()
> -------------------------------------------------------
>
> Key: CASSANDRA-3948
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3948
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Peter Schuller
> Assignee: Pavel Yaskevich
> Fix For: 1.1.0
>
>
> This should make the fadvising useless (mostly). See CASSANDRA-1470 for why,
> including links to kernel source. I have not investigated the history of when
> this broke or whether it was like from the beginning.
> For the record I have not confirmed this by testing, only by code inspection.
> I happened to notice it working on other things, so there is some chance that
> I'm just mis-reading the code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira