Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-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 6CE40FB0D for ; Thu, 4 Apr 2013 18:52:30 +0000 (UTC) Received: (qmail 3281 invoked by uid 500); 4 Apr 2013 18:52:30 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 3178 invoked by uid 500); 4 Apr 2013 18:52:29 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 3169 invoked by uid 99); 4 Apr 2013 18:52:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 18:52:29 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Alena.Prokharchyk@citrix.com designates 66.165.176.89 as permitted sender) Received: from [66.165.176.89] (HELO SMTP.CITRIX.COM) (66.165.176.89) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 18:52:24 +0000 X-IronPort-AV: E=Sophos;i="4.87,410,1363132800"; d="scan'208";a="17575994" Received: from sjcpmailmx02.citrite.net ([10.216.14.75]) by FTLPIPO01.CITRIX.COM with ESMTP/TLS/RC4-MD5; 04 Apr 2013 18:52:03 +0000 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.73]) by SJCPMAILMX02.citrite.net ([10.216.14.75]) with mapi; Thu, 4 Apr 2013 11:52:02 -0700 From: Alena Prokharchyk To: "dev@cloudstack.apache.org" Date: Thu, 4 Apr 2013 11:52:00 -0700 Subject: Re: Job-Executor workers Thread-Topic: Job-Executor workers Thread-Index: Ac4xZX6deYhp0xmoST2TkGcQ8QWwcQ== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.0.120402 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Jeronimo, The StartCommands for the Virtual machine are executed sequentially by the agent. This behavior is set as "executeInSequence" flag on the command level. You might look at the Command abstract class (StartCommand extends it) to see how it works. But basically if this flag is set to true for the command, it's been queued on per Agent(Host) basis. -Alena. On 4/4/13 11:36 AM, "Jeronimo Garcia" wrote: >Hi List. > >I'm having issues when deploying a big number of virtual machines across a >number of nodes. > >the imporession that i get ( from the logs) is that the AsyncJobExecutor >is >pulling jobs from the queue and do them one by one (which when you are >deploying a big number of virtual machines could take a long while) > >In AsyncJobManager.java i see something that could change this behaviour >but im not sure: > >*final int cloudMaxActive =3D >Integer.parseInt(dbProps.getProperty("db.cloud.maxActive")); > * >*int poolSize =3D (cloudMaxActive * 2) / 3;* > >. > >I'm using 'random' as vm.allocation.algorithm , and my rest is to deploy >200 vms across 7 nodes using local storage, also im using >cloud-server-4.0.1-1 version. > >I've tried playing with worker settings in agents and manager but i don't >see any change so far. > >Thanks! >