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 6689918C6F for ; Thu, 14 May 2015 08:26:01 +0000 (UTC) Received: (qmail 11659 invoked by uid 500); 14 May 2015 08:26:01 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 11622 invoked by uid 500); 14 May 2015 08:26:01 -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 11611 invoked by uid 99); 14 May 2015 08:26:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2015 08:26:01 +0000 Date: Thu, 14 May 2015 08:26:01 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8897) Remove FileCacheService, instead pooling the buffers 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-8897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543376#comment-14543376 ] Benedict commented on CASSANDRA-8897: ------------------------------------- [~stef1927]: It looks to me like we can simply stop calling channel.sharedCopy() in the constructor: since these objects aren't pooled anymore, their lifetimes should be not a problem, and should be guarded by the normal OpOrder or SSTableReader ref counting pathways. Taking a reference to each reader is something we explicitly wanted to avoid by the introduction of the OpOrder, so we should avoid it here as well. However, it is something that's bugged me that we use a CLQ in Ref, and I've filed CASSANDRA-9379 to discuss updating this. As mentioned there, I prefer to avoid CHM or NBHM. > Remove FileCacheService, instead pooling the buffers > ---------------------------------------------------- > > Key: CASSANDRA-8897 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8897 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Benedict > Assignee: Stefania > Fix For: 3.x > > Attachments: 9240_test_results.txt, snapshot-1431582436640-cpu-backtraces.png, snapshot-1431582436640-cpu-calltree-compression-8897.nps, snapshot-1431582436640-cpu-calltree-compression-trunk.nps > > > After CASSANDRA-8893, a RAR will be a very lightweight object and will not need caching, so we can eliminate this cache entirely. Instead we should have a pool of buffers that are page-aligned. -- This message was sent by Atlassian JIRA (v6.3.4#6332)