Return-Path: X-Original-To: apmail-reef-dev-archive@minotaur.apache.org Delivered-To: apmail-reef-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 631DB18761 for ; Sat, 5 Mar 2016 04:25:41 +0000 (UTC) Received: (qmail 88121 invoked by uid 500); 5 Mar 2016 04:25:41 -0000 Delivered-To: apmail-reef-dev-archive@reef.apache.org Received: (qmail 88063 invoked by uid 500); 5 Mar 2016 04:25:41 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 88013 invoked by uid 99); 5 Mar 2016 04:25:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Mar 2016 04:25:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C1C1B2C1F60 for ; Sat, 5 Mar 2016 04:25:40 +0000 (UTC) Date: Sat, 5 Mar 2016 04:25:40 +0000 (UTC) From: "amil shanaka (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (REEF-1157) Improve memory usage and performance of the Java group communications code 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/REEF-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181500#comment-15181500 ] amil shanaka edited comment on REEF-1157 at 3/5/16 4:25 AM: ------------------------------------------------------------ Hi, I'm a 3rd year under graduate in the department of Computer Science and Engineering at University of Moratuwa,Sri Lanka. In my experience, I've been worked with Java nio.ByteBuffer and also off-heap memory usage like java Unsafe, nio.directByteBuffer and netty Direct Byte Buf for enhancing the performance with communicating data. So i would like to know more details regrading this project in detail that I could proceed . Thank you, amil was (Author: amil101): Hi, I'm a 3rd year under graduate in the department of Computer Science and Engineering at University of Moratuwa,Sri Lanka. In my experience, I've been worked with Java nio.ByteBuffer and also off-heap memory usage like java Unsafe, nio.directByteBuffer and netty Direct Byte Buf for enhancing the performance with communicating meta data. So i would like to know more details regrading this project in detail that I could proceed . Thank you, amil > Improve memory usage and performance of the Java group communications code > -------------------------------------------------------------------------- > > Key: REEF-1157 > URL: https://issues.apache.org/jira/browse/REEF-1157 > Project: REEF > Issue Type: Improvement > Components: GroupCommunications > Reporter: Markus Weimer > Priority: Minor > Labels: GSOC, gsoc2016, java > > The Group Communications library in .NET has seen two areas of improvement that we should follow up on in the Java code: > * Zero copies of the data being sent: the current code takes the user data, serializes it and then wraps it with the operator's envelope. That package is serialized and wrapped in the group communications envelope. Again, this is serialized and wrapped in the network service's envelope. That is what is eventually serialized and sent. All of these wrappings and serializations create copies of the (potentially large) user data. We should move to a zero-copy regime where the data is only serialized once. > * Pipelining: Many times, group communications is applied with vector types, e.g. when summing up {{double[]}}. Those operations can be done on a per-dimension basis, which reduces the memory load and improves throughput. > This JIRA shall serve as an anchor for work done in this area. -- This message was sent by Atlassian JIRA (v6.3.4#6332)