You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2014/02/24 18:22:20 UTC

[jira] [Created] (CASSANDRA-6759) CommitLogSegment should provide madvise DONTNEED hint after syncing a segment

Benedict created CASSANDRA-6759:
-----------------------------------

             Summary: CommitLogSegment should provide madvise DONTNEED hint after syncing a segment
                 Key: CASSANDRA-6759
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6759
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Benedict
            Assignee: Benedict
            Priority: Minor
             Fix For: 2.1 beta2


This is a really simple change, copying what we do with SequentialWriter, but here we know for sure we don't intend to re-read the region again in the near future so it's definitely wasted file buffer space.

I have a patch, but I would like to do some brief performance comparisons before submitting it, and see if providing DONTNEED at file creation like we do for SW is sensible.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)