Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 91877 invoked from network); 13 Jan 2011 06:15:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2011 06:15:10 -0000 Received: (qmail 77021 invoked by uid 500); 13 Jan 2011 06:15:10 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 76895 invoked by uid 500); 13 Jan 2011 06:15:08 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 76887 invoked by uid 99); 13 Jan 2011 06:15:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 06:15:07 +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; Thu, 13 Jan 2011 06:15:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0D6EkQu016639 for ; Thu, 13 Jan 2011 06:14:46 GMT Message-ID: <13384197.336951294899286841.JavaMail.jira@thor> Date: Thu, 13 Jan 2011 01:14:46 -0500 (EST) From: "Liyin Liang (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-1583) Improve backup-node sync performance by wrapping RPC parameters In-Reply-To: <30335292.336331294897726069.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/HDFS-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Liyin Liang updated HDFS-1583: ------------------------------ Fix Version/s: 0.23.0 Status: Patch Available (was: Open) > Improve backup-node sync performance by wrapping RPC parameters > --------------------------------------------------------------- > > Key: HDFS-1583 > URL: https://issues.apache.org/jira/browse/HDFS-1583 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Reporter: Liyin Liang > Fix For: 0.23.0 > > Attachments: HDFS-1583-1.patch > > > The journal edit records are sent by the active name-node to the backup-node with RPC: > {code:} > public void journal(NamenodeRegistration registration, > int jAction, > int length, > byte[] records) throws IOException; > {code} > During the name-node throughput benchmark, the size of byte array _records_ is around *8000*. Then the serialization and deserialization is time-consuming. I wrote a simple application to test RPC with byte array parameter. When the size got to 8000, each RPC call need about 6 ms. While name-node sync 8k byte to local disk only need 0.3~0.4ms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.