Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 89538 invoked from network); 7 Oct 2008 03:28:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 03:28:36 -0000 Received: (qmail 53481 invoked by uid 500); 7 Oct 2008 03:28:35 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 53462 invoked by uid 500); 7 Oct 2008 03:28:35 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 53451 invoked by uid 99); 7 Oct 2008 03:28:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 20:28:34 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 03:27:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50A67234C213 for ; Mon, 6 Oct 2008 20:27:44 -0700 (PDT) Message-ID: <391236654.1223350064329.JavaMail.jira@brutus> Date: Mon, 6 Oct 2008 20:27:44 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-576) Investigate IPC performance In-Reply-To: <523561413.1207948324938.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637353#action_12637353 ] stack commented on HBASE-576: ----------------------------- Thanks J-D. Patch looks good. Pity couldn't be fixed better but yeah, would need migration script. As is will save a bunch of churn. Let me commit it. Looking at rpc, I see I broke it a while back; I removed the very reason we subclass RPC. I replaced all our carefully planted HbaseObjectWritables with default ObjectWritables. Means we're sending Strings instead of codes for our parameter names. So, did a test where a cluster had 1M rows loaded into 11 regions spread over 3 machines. A single client could random-read at ~482/second. Using above patch and running with 8 threads, was able to read at 1531/second. Basic formula: throughput can be multiplied by # of threads up to maximum of number of cluster members: e.g. if 8 threads but only 3 servers, can only see 3X throughput improvement. If 8 servers hosting regions, should see 8X. > Investigate IPC performance > --------------------------- > > Key: HBASE-576 > URL: https://issues.apache.org/jira/browse/HBASE-576 > Project: Hadoop HBase > Issue Type: Improvement > Components: ipc > Affects Versions: 0.1.0, 0.1.1, 0.1.2, 0.2.0 > Reporter: Jim Kellerman > Assignee: stack > Attachments: htd.patch, pe.patch > > > Turning off all file I/O, and running the PerformanceEvaluation test, of 1,048,576 sequential writes to HBase managed to achieve only 7,285 IPCs per second. > Running PerformanceEvaluation sequential write test modified to do an abort instead of a commit, it was possible to do 68,337 operations per second. We are obviously spending a lot of time doing IPCs. > We need to investigate to find the bottleneck. Marshalling and unmarshalling? Socket setup and teardown? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.