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 2BA3411A20 for ; Mon, 15 Sep 2014 19:10:34 +0000 (UTC) Received: (qmail 33634 invoked by uid 500); 15 Sep 2014 19:10:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 33595 invoked by uid 500); 15 Sep 2014 19:10: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 33582 invoked by uid 99); 15 Sep 2014 19:10:33 -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 19:10:33 +0000 Date: Mon, 15 Sep 2014 19:10:33 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=14134334#comment-14134334 ] Benedict commented on CASSANDRA-7938: ------------------------------------- Also file streaming > 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 > Fix For: 1.2.19 > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)