Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-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 6E2D1D8C0 for ; Sat, 27 Oct 2012 15:17:13 +0000 (UTC) Received: (qmail 58048 invoked by uid 500); 27 Oct 2012 15:17:12 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 58012 invoked by uid 500); 27 Oct 2012 15:17:12 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 57998 invoked by uid 500); 27 Oct 2012 15:17:12 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 57990 invoked by uid 99); 27 Oct 2012 15:17:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2012 15:17:12 +0000 Date: Sat, 27 Oct 2012 15:17:11 +0000 (UTC) From: "Avery Ching (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <1481500682.35300.1351351032249.JavaMail.jiratomcat@arcas> In-Reply-To: <1073337712.34612.1351311672397.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (GIRAPH-389) Multithreading should intelligently allocate the thread pools 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/GIRAPH-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485451#comment-13485451 ] Avery Ching commented on GIRAPH-389: ------------------------------------ https://reviews.apache.org/r/7754/ Description: Do not create more input split loading threads than input splits to allow workers to equally load up input splits Do not create more compute threads than partitions on the worker Removed duplicate reserveInputSplit method in BspServiceWorker Minor optimization to only get the input split zknodes once and pass to all threads. Testing Done: passed unittests ran pagerankbenchmark on a real cluster and observed that the limiting works > Multithreading should intelligently allocate the thread pools > ------------------------------------------------------------- > > Key: GIRAPH-389 > URL: https://issues.apache.org/jira/browse/GIRAPH-389 > Project: Giraph > Issue Type: Bug > Reporter: Avery Ching > > Even if the user suggests a very high number of threads, the input split threads should not exceed the number splits divided by the number of workers. > The number of compute threads should not be greater than the number of partitions on that worker. -- 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