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 7AD7F7CBB for ; Sat, 17 Sep 2011 00:33:30 +0000 (UTC) Received: (qmail 86686 invoked by uid 500); 17 Sep 2011 00:33:30 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 86625 invoked by uid 500); 17 Sep 2011 00:33:30 -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 86616 invoked by uid 99); 17 Sep 2011 00:33:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 00:33:30 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 00:33:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DCAF98A8BC for ; Sat, 17 Sep 2011 00:33:08 +0000 (UTC) Date: Sat, 17 Sep 2011 00:33:08 +0000 (UTC) From: "Yang Yang (JIRA)" To: commits@cassandra.apache.org Message-ID: <1499165455.37451.1316219588900.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CASSANDRA-3223) probably don't need to do full copy to row cache after un-mmap() change MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 probably don't need to do full copy to row cache after un-mmap() change ----------------------------------------------------------------------- Key: CASSANDRA-3223 URL: https://issues.apache.org/jira/browse/CASSANDRA-3223 Project: Cassandra Issue Type: Bug Reporter: Yang Yang Priority: Minor 3179 changes from directly using the bytebuffer from mmap(), to copying that buffer, CFS.cacheRow() https://github.com/apache/cassandra/blob/cassandra-1.0.0/src/java/org/apache/cassandra/db/ColumnFamilyStore.java line 1126 says it makes a deep copy exactly to prevent issues from unmmap(). maybe this deep copy is not needed now given 3179 if so, maybe slightly better performance in both speed and memory -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira