You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Rick Branson (Created) (JIRA)" <ji...@apache.org> on 2012/02/09 01:36:57 UTC

[jira] [Created] (CASSANDRA-3878) Allow posix_fadvise call to be skipped based on a configuration option

Allow posix_fadvise call to be skipped based on a configuration option
----------------------------------------------------------------------

                 Key: CASSANDRA-3878
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3878
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Rick Branson
            Assignee: Rick Branson


It is sometimes desirable to skip the posix_fadvise() call performed on SSTable files when Cassandra has JNA enabled, without disabling JNA as other functionality is dependent on JNA such as the off-heap row cache. This can be either for performance reasons, or to avoid bugs caused by faulty interactions of the fadvise call with the underlying hardware and it's drivers. 

The enhancement is to be able to disable the fadvise() call using an option in the cassandra.yaml file.

--
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

        

[jira] [Commented] (CASSANDRA-3878) Allow posix_fadvise call to be skipped based on a configuration option

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260563#comment-13260563 ] 

Jonathan Ellis commented on CASSANDRA-3878:
-------------------------------------------

CASSANDRA-2635 adds a flag to disable DONTNEED on writes.  Do we still need a separate one to disable it on reads, too?
                
> Allow posix_fadvise call to be skipped based on a configuration option
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-3878
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3878
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Rick Branson
>            Assignee: Rick Branson
>              Labels: datastax_qa
>
> It is sometimes desirable to skip the posix_fadvise() call performed on SSTable files when Cassandra has JNA enabled, without disabling JNA as other functionality is dependent on JNA such as the off-heap row cache. This can be either for performance reasons, or to avoid bugs caused by faulty interactions of the fadvise call with the underlying hardware and it's drivers. 
> The enhancement is to be able to disable the fadvise() call using an option in the cassandra.yaml file.

--
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