Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 51569 invoked from network); 4 Jan 2011 17:05:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2011 17:05:08 -0000 Received: (qmail 40024 invoked by uid 500); 4 Jan 2011 17:05:08 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 39986 invoked by uid 500); 4 Jan 2011 17:05:08 -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 39978 invoked by uid 99); 4 Jan 2011 17:05:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 17:05:08 +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; Tue, 04 Jan 2011 17:05:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p04H4l2G007263 for ; Tue, 4 Jan 2011 17:04:47 GMT Message-ID: <1000839.136611294160687528.JavaMail.jira@thor> Date: Tue, 4 Jan 2011 12:04:47 -0500 (EST) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1714) zero-copy reads In-Reply-To: <7068315.40591288982923564.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-1714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977346#action_12977346 ] Jonathan Ellis commented on CASSANDRA-1714: ------------------------------------------- ICS2 FileChannel will *only* help multinode clusters. So if you're not seeing any speed difference on a single node cluster, then that's going to be a waste of time. Let's speed up local reads first, then worry about the filechannel serialization later. And if it turns out we can't do the first, then let's not bother with the second. > zero-copy reads > --------------- > > Key: CASSANDRA-1714 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1714 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Jonathan Ellis > Assignee: Pavel Yaskevich > Fix For: 0.7.1 > > Attachments: CASSANDRA-1714.patch, zerocopy.txt > > Original Estimate: 32h > Remaining Estimate: 32h > > Since we are already using mmap'd ByteBuffers in MappedFileDataInput we should be able to do zero-copy reads (via buffer.slice()), which would give us better performance than CASSANDRA-1651 without having to worry about buffer management. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.