You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon" <ed...@apache.org> on 2011/05/12 04:51:30 UTC
Fwd: Running mutiple tasks in local mode
Hi all
In LocalBSPRunner, Runtime.availableProcessor will retuns the num of logical CPU's. Too small number.
What do u think about increasing the num of threadPoolSize to ten times?
Thanks
Sent from my iPhone
Begin forwarded message:
> From: Chris Willmore <ch...@yahoo.com>
> Date: 2011년 5월 10일 오후 6시 32분 51초 KST
> To: "hama-user@incubator.apache.org" <ha...@incubator.apache.org>
> Subject: Running mutiple tasks in local mode
> Reply-To: hama-user@incubator.apache.org
> Reply-To: Chris Willmore <ch...@yahoo.com>
>
> Hi All,
>
> I am playing around with the examples in local mode, but cannot figure out how, or if it is even possible, to run more than 2 peers for a job.
>
> I'ved tried running:
> bin/hama jar hama-examples.jar pi <num>
>
> with various values of num, but it seems it is disregarded and always 2 are run (one master peer and one additional).
> Can I run and test locally with num > 2?
>
> Also, I was wondering how the number of peers concurrently running on a given groom server are controlled. Is it configurable?
>
> Regards,
> Chris
Re: Running mutiple tasks in local mode
Posted by "Edward J. Yoon" <ed...@apache.org>.
> How if let the setting be configured through conf file?
+1
Sent from my iPhone
On 2011. 5. 13., at 오후 12:22, "ChiaHung Lin" <ch...@nuk.edu.tw> wrote:
> How if let the setting be configured through conf file?
Re: Running mutiple tasks in local mode
Posted by ChiaHung Lin <ch...@nuk.edu.tw>.
How if let the setting be configured through conf file?
Basically increasing thread pool size looks ok. +1
-----Original message-----
From:Thomas Jungblut <th...@googlemail.com>
To:hama-dev@incubator.apache.org
Cc:chris.willmore@yahoo.com <ch...@yahoo.com>
Date:Thu, 12 May 2011 18:47:15 +0200
Subject:Re: Running mutiple tasks in local mode
Actually I'm +1 with that, I wanted to implement this right from the start,
but there were some issues why I didn't do that.
In fact you can change the path, so the threadpoolsize wouldn't be a problem
(I hope so :D).
2011/5/12 Edward J. Yoon <ed...@apache.org>
> Hi all
>
> In LocalBSPRunner, Runtime.availableProcessor will retuns the num of
> logical CPU's. Too small number.
>
> What do u think about increasing the num of threadPoolSize to ten times?
>
> Thanks
>
> Sent from my iPhone
>
> Begin forwarded message:
>
> > From: Chris Willmore <ch...@yahoo.com>
> > Date: 2011년 5월 10일 오후 6시 32분 51초 KST
> > To: "hama-user@incubator.apache.org" <ha...@incubator.apache.org>
> > Subject: Running mutiple tasks in local mode
> > Reply-To: hama-user@incubator.apache.org
> > Reply-To: Chris Willmore <ch...@yahoo.com>
> >
>
> > Hi All,
> >
> > I am playing around with the examples in local mode, but cannot figure
> out how, or if it is even possible, to run more than 2 peers for a job.
> >
> > I'ved tried running:
> > bin/hama jar hama-examples.jar pi <num>
> >
> > with various values of num, but it seems it is disregarded and always 2
> are run (one master peer and one additional).
> > Can I run and test locally with num > 2?
> >
> > Also, I was wondering how the number of peers concurrently running on a
> given groom server are controlled. Is it configurable?
> >
> > Regards,
> > Chris
>
--
Thomas Jungblut
Berlin
mobile: 0170-3081070
business: thomas.jungblut@testberichte.de
private: thomas.jungblut@gmail.com
--
ChiaHung Lin
Department of Information Management
National University of Kaohsiung
Taiwan
Re: Running mutiple tasks in local mode
Posted by Thomas Jungblut <th...@googlemail.com>.
Actually I'm +1 with that, I wanted to implement this right from the start,
but there were some issues why I didn't do that.
In fact you can change the path, so the threadpoolsize wouldn't be a problem
(I hope so :D).
2011/5/12 Edward J. Yoon <ed...@apache.org>
> Hi all
>
> In LocalBSPRunner, Runtime.availableProcessor will retuns the num of
> logical CPU's. Too small number.
>
> What do u think about increasing the num of threadPoolSize to ten times?
>
> Thanks
>
> Sent from my iPhone
>
> Begin forwarded message:
>
> > From: Chris Willmore <ch...@yahoo.com>
> > Date: 2011년 5월 10일 오후 6시 32분 51초 KST
> > To: "hama-user@incubator.apache.org" <ha...@incubator.apache.org>
> > Subject: Running mutiple tasks in local mode
> > Reply-To: hama-user@incubator.apache.org
> > Reply-To: Chris Willmore <ch...@yahoo.com>
> >
>
> > Hi All,
> >
> > I am playing around with the examples in local mode, but cannot figure
> out how, or if it is even possible, to run more than 2 peers for a job.
> >
> > I'ved tried running:
> > bin/hama jar hama-examples.jar pi <num>
> >
> > with various values of num, but it seems it is disregarded and always 2
> are run (one master peer and one additional).
> > Can I run and test locally with num > 2?
> >
> > Also, I was wondering how the number of peers concurrently running on a
> given groom server are controlled. Is it configurable?
> >
> > Regards,
> > Chris
>
--
Thomas Jungblut
Berlin
mobile: 0170-3081070
business: thomas.jungblut@testberichte.de
private: thomas.jungblut@gmail.com