Matt Stump created CASSANDRA-7938:
-------------------------------------

             Summary: Releases prior to 2.1 gratuitously invalidate buffer cache
                 Key: CASSANDRA-7938
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7938
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Matt Stump


RandomAccessReader gratuitously invalidates the buffer cache in releases prior 
to 2.1. 

Additionally, Linux 3.X kernels spend 30% of CPU time in book keeping for the 
invalidated pages as captured by CPU flame graphs.

fadvise DONT_NEED should never be called for files other than the commit log 
segments. 

https://github.com/apache/cassandra/blob/cassandra-2.1/src/java/org/apache/cassandra/io/util/RandomAccessReader.java#L168



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to