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 E48CE950A for ; Thu, 22 Dec 2011 21:03:52 +0000 (UTC) Received: (qmail 87856 invoked by uid 500); 22 Dec 2011 21:03:52 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 87835 invoked by uid 500); 22 Dec 2011 21:03:52 -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 87827 invoked by uid 99); 22 Dec 2011 21:03:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2011 21:03:52 +0000 X-ASF-Spam-Status: No, hits=-2002.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; Thu, 22 Dec 2011 21:03:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B1D0A124E3A for ; Thu, 22 Dec 2011 21:03:30 +0000 (UTC) Date: Thu, 22 Dec 2011 21:03:30 +0000 (UTC) From: "Jonathan Ellis (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <742291508.40513.1324587810729.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1779975202.62750.1323622959952.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3610) Checksum improvement for CompressedRandomAccessReader 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-3610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175059#comment-13175059 ] Jonathan Ellis commented on CASSANDRA-3610: ------------------------------------------- So... Sun JDK JNI is 2x as fast as OpenJDK, is that the takeaway? > Checksum improvement for CompressedRandomAccessReader > ----------------------------------------------------- > > Key: CASSANDRA-3610 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3610 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 1.1 > Environment: JVM > Reporter: Vijay > Assignee: Vijay > Priority: Minor > Fix For: 1.1 > > Attachments: 0001-use-pure-java-CRC32-v2.patch, 0001-use-pure-java-CRC32.patch, TestCrc32Performance.java > > > When compression is on, Currently we see checksum taking up about 40% of the CPU more than snappy library. > Looks like hadoop solved it by implementing their own checksum, we can either use it or implement something like that. > http://images.slidesharecdn.com/1toddlipconyanpeichen-cloudera-hadoopandperformance-final-111110132228-phpapp01-slide-15-768.jpg?1321043717 > in our test env it provided 50% improvement over native implementation which uses jni to call the OS. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira