Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E66397174 for ; Fri, 5 Aug 2011 21:24:50 +0000 (UTC) Received: (qmail 50522 invoked by uid 500); 5 Aug 2011 21:24:50 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 50156 invoked by uid 500); 5 Aug 2011 21:24:50 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 49967 invoked by uid 500); 5 Aug 2011 21:24:49 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 49964 invoked by uid 99); 5 Aug 2011 21:24:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2011 21:24:49 +0000 X-ASF-Spam-Status: No, hits=-2000.7 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; Fri, 05 Aug 2011 21:24:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 225BEAC838 for ; Fri, 5 Aug 2011 21:24:28 +0000 (UTC) Date: Fri, 5 Aug 2011 21:24:28 +0000 (UTC) From: "Tim Armstrong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1625857519.13001.1312579468137.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <588940576.10375.1312513407944.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2350) Improve RCFile Read Speed 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/HIVE-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Armstrong updated HIVE-2350: -------------------------------- Status: Patch Available (was: In Progress) > Improve RCFile Read Speed > ------------------------- > > Key: HIVE-2350 > URL: https://issues.apache.org/jira/browse/HIVE-2350 > Project: Hive > Issue Type: Improvement > Reporter: Tim Armstrong > Assignee: Tim Armstrong > Priority: Minor > Attachments: rcfile-2011-08-04.diff, rcfile_opt_2011-08-05.diff, rcfile_opt_2011-08-05b.diff > > Original Estimate: 0h > Remaining Estimate: 0h > > By tweaking the RCFile$Reader implementation to allow more efficient memory access I was able to reduce CPU usage. I measured the speed required to scan a gzipped RCFile, decompress and assemble into records. CPU time was reduced by about 7% for a full table scan, An improvement of about 2% was realised when a smaller subset of columns (3-5 out of tens) were selected. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira