Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 39055 invoked from network); 29 Oct 2010 17:21:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Oct 2010 17:21:45 -0000 Received: (qmail 72375 invoked by uid 500); 29 Oct 2010 17:21:45 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 72359 invoked by uid 500); 29 Oct 2010 17:21:44 -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 72351 invoked by uid 99); 29 Oct 2010 17:21:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 17:21:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 17:21:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9THLNtq028069 for ; Fri, 29 Oct 2010 17:21:24 GMT Message-ID: <20393351.145521288372883874.JavaMail.jira@thor> Date: Fri, 29 Oct 2010 13:21:23 -0400 (EDT) From: "T Jake Luciani (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1651) Improve read performance by using byte array slabs In-Reply-To: <26958693.33651287780742005.JavaMail.jira@thor> 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-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926359#action_12926359 ] T Jake Luciani commented on CASSANDRA-1651: ------------------------------------------- That's a good point. I suppose before it goes into the row cache we could copy it into a stand alone array via .get(byte[])? > Improve read performance by using byte array slabs > -------------------------------------------------- > > Key: CASSANDRA-1651 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1651 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: T Jake Luciani > Assignee: T Jake Luciani > Priority: Minor > Fix For: 0.7.0 > > Attachments: 1651_v1.txt > > > Now that the code has switched to byte buffers internally, it should be possible to improve read performance by reducing the number of byte array allocations. > This patch accomplishes this by and re-using sections of a larger byte array slab. > I've benchmarked it locally and seen a slight improvement on reads, a larger scale benchmark should be performed. > Also the size of a slab can be configured in cassandra.yaml -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.