cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Stump (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7938) Releases prior to 2.1 gratuitously invalidate buffer cache
Date Mon, 15 Sep 2014 18:15:35 GMT
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)

Mime
View raw message