[ https://issues.apache.org/jira/browse/CASSANDRA-8160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14330433#comment-14330433 ]
Joshua McKenzie commented on CASSANDRA-8160: -------------------------------------------- +1 to the cat to /dev/null approach. We'll need to twiddle with NUL: on Windows but it's a concept that should work on both platforms without having to rely on CLibrary so I'm down for that. > CF level option to call posix_fadvise for sstables on creation and startup > -------------------------------------------------------------------------- > > Key: CASSANDRA-8160 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8160 > Project: Cassandra > Issue Type: New Feature > Components: Core > Reporter: Matt Stump > Assignee: Branimir Lambov > Priority: Minor > Fix For: 2.1.4 > > Attachments: trunk-8160.txt > > > We should have a CF level configuration with will result in posix_fadvise > being called for sstables for that CF. It should be called on node startup > and for new sstables. This should be configurable per CF to allow for some > CFs to be prioritized above others. Not sure if we should use > POSIX_FADV_SEQUENTIAL or POSIX_FADV_WILLNEED. -- This message was sent by Atlassian JIRA (v6.3.4#6332)