Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-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 BD196E13E for ; Sun, 13 Jan 2013 21:18:14 +0000 (UTC) Received: (qmail 86432 invoked by uid 500); 13 Jan 2013 21:18:14 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 86413 invoked by uid 500); 13 Jan 2013 21:18:14 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 86403 invoked by uid 99); 13 Jan 2013 21:18:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2013 21:18:14 +0000 Date: Sun, 13 Jan 2013 21:18:14 +0000 (UTC) From: "Hudson (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HAMA-559) Add a spilling message queue 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-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552313#comment-13552313 ] Hudson commented on HAMA-559: ----------------------------- Integrated in Hama trunk #88 (See [https://builds.apache.org/job/Hama%20trunk/88/]) [HAMA-559] Added spilling queue. (Revision 1432734) Result = FAILURE surajsmenon : Files : * /hama/trunk/CHANGES.txt * /hama/trunk/core/src/main/java/org/apache/hama/Constants.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io/BufferedReadStatus.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io/PreFetchCache.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io/ReadIndexStatus.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io/SpillWriteIndexStatus.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io/SpilledDataInputBuffer.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io/SpilledDataProcessor.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io/SpilledDataReadStatus.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io/SpillingDataOutputBuffer.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/io/WriteSpilledDataProcessor.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/queue/SpillingQueue.java * /hama/trunk/core/src/test/java/org/apache/hama/bsp/message/TestMessageIO.java * /hama/trunk/core/src/test/java/org/apache/hama/bsp/message/TestSpillingQueue.java > Add a spilling message queue > ---------------------------- > > Key: HAMA-559 > URL: https://issues.apache.org/jira/browse/HAMA-559 > Project: Hama > Issue Type: Sub-task > Components: bsp core > Affects Versions: 0.5.0 > Reporter: Thomas Jungblut > Assignee: Suraj Menon > Priority: Minor > Fix For: 0.7.0 > > Attachments: HAMA-559.patch-v1, HAMA-559.patch-v2, HAMA-559.patch-v4, spillbench_code.tar.gz, spilling_buffer_cpu_usage_text_write.png, SpillingBufferProfile-2012-10-27.snapshot, spilling_buffer_profile_cpu_graph_test_write.png, spilling_buffer_profile_cpugraph_writeUTF.png, spillingbuffer_profile_cpu_writeUTF.png, spilling_buffer_profile_LOCK.JPG, spilling_buffer_profile_timesplit_text_write.png, spilling_buffer_profile_writeUTF.png > > > After HAMA-521 is done, we can add a spilling queue which just holds the messages in RAM that fit into the heap space. The rest can be flushed to disk. > We may call this a HybridQueue or something like that. > The benefits should be that we don't have to flush to disk so often and get faster. However we may have more GC so it is always overall faster. > The requirements for this queue also include: > - The message object once written to the queue (after returning from the write call) could be modified, but the changes should not be reflected in the messages stored in the queue. > - For now let's implement a queue that does not support concurrent reading and writing. This feature is needed when we implement asynchronous communication. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira