Return-Path: X-Original-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 147671E04 for ; Tue, 19 Apr 2011 14:32:24 +0000 (UTC) Received: (qmail 37728 invoked by uid 500); 19 Apr 2011 01:05:44 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 37708 invoked by uid 500); 19 Apr 2011 01:05:44 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 37688 invoked by uid 99); 19 Apr 2011 01:05:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 01:05:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Tue, 19 Apr 2011 01:05:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B7EF6A7B8C for ; Tue, 19 Apr 2011 01:05:05 +0000 (UTC) Date: Tue, 19 Apr 2011 01:05:05 +0000 (UTC) From: "Edward J. Yoon (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <818794092.66084.1303175105750.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1200254649.64627.1303141625881.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HAMA-380) Send messages in batches to reduce RPC overhead. 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/HAMA-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021367#comment-13021367 ] Edward J. Yoon commented on HAMA-380: ------------------------------------- Looks great patch! +1 > Send messages in batches to reduce RPC overhead. > ------------------------------------------------ > > Key: HAMA-380 > URL: https://issues.apache.org/jira/browse/HAMA-380 > Project: Hama > Issue Type: Improvement > Components: bsp > Affects Versions: 0.3.0 > Reporter: Miklos Erdelyi > Fix For: 0.3.0 > > Attachments: bspmsgbundle.patch, bspmsgbundle.v2.patch > > Original Estimate: 4h > Remaining Estimate: 4h > > When profiling graph computations running on HAMA it turned out that huge amount of time is spent in RPC calls. > To reduce this overhead I propose extending the GroomServer's API with a put(BSPMessageBundle) method so that a group of messages can be transferred from the caller to the callee at once. Also, the sync() operation should be improved by sending messages in batches rather than one-by-one. > Using BSPMessageBundle makes it easier to add support for compression of messages later. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira