Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E26F11709 for ; Mon, 15 Sep 2014 18:16:35 +0000 (UTC) Received: (qmail 69625 invoked by uid 500); 15 Sep 2014 18:16:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 69532 invoked by uid 500); 15 Sep 2014 18:16:34 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 69173 invoked by uid 99); 15 Sep 2014 18:16:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 18:16:34 +0000 Date: Mon, 15 Sep 2014 18:16:34 +0000 (UTC) From: "Matt Stump (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7938) Releases prior to 2.0 gratuitously invalidate buffer cache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Stump updated CASSANDRA-7938: ---------------------------------- Summary: Releases prior to 2.0 gratuitously invalidate buffer cache (was: Releases prior to 2.1 gratuitously invalidate buffer cache) > Releases prior to 2.0 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)