Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7938

Releases prior to 2.0 gratuitously invalidate buffer cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Won't Fix
    • 1.2.19
    • None
    • None
    • Low

    Description

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

      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

      Attachments

        1. 7938.txt
          0.9 kB
          T Jake Luciani

        Activity

          People

            Unassigned Unassigned
            mstump Matt Stump
            Matt Stump
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: