Return-Path: Delivered-To: apmail-gump-general-archive@www.apache.org Received: (qmail 15471 invoked from network); 21 Jun 2010 04:34:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Jun 2010 04:34:50 -0000 Received: (qmail 69038 invoked by uid 500); 21 Jun 2010 04:34:50 -0000 Delivered-To: apmail-gump-general-archive@gump.apache.org Received: (qmail 68959 invoked by uid 500); 21 Jun 2010 04:34:49 -0000 Mailing-List: contact general-help@gump.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Gump code and data" Reply-To: "Gump code and data" Delivered-To: mailing list general@gump.apache.org Received: (qmail 68951 invoked by uid 99); 21 Jun 2010 04:34:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 04:34:47 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [88.84.128.168] (HELO samaflost.de) (88.84.128.168) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 04:34:41 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id 7551F28985D2 for ; Mon, 21 Jun 2010 06:34:19 +0200 (CEST) Received: from samaflost.de ([127.0.0.1]) by localhost (v35516.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4nP7XUunm2UC for ; Mon, 21 Jun 2010 06:34:16 +0200 (CEST) Received: by samaflost.de (Postfix, from userid 1000) id 029B828985D4; Mon, 21 Jun 2010 06:34:08 +0200 (CEST) From: Stefan Bodewig To: general@gump.apache.org Subject: Parallelism (was Re: A Few Plans) References: <874oh0lpta.fsf@v35516.1blu.de> X-Draft-From: ("nnfolder:mail.gump-general" 14830) Date: Mon, 21 Jun 2010 06:34:07 +0200 In-Reply-To: (Sander Temme's message of "Sun, 20 Jun 2010 21:44:18 +0200") Message-ID: <87631d9f7k.fsf_-_@v35516.1blu.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On 2010-06-20, Sander Temme wrote: > On Jun 18, 2010, at 10:15 AM, Stefan Bodewig wrote: >> Hi, >> I just wanted to share a few plans I have short/midterm. Feel free to >> comment, pick tasks or add wishes. >> Honestly I have no idea how we could deal with the ever increasing build >> times as Gump grows, apart from some sort of distributed Gump which I >> wouldn't want to build on top of the current code base (I'd rather think >> in a tuple spaces architecture like Mnesia and Erlang or JavaSpaces and >> anything on the VM). > When I come back from vacation, we'll be pressing into service a dual > quad core Apple Xserve with 6Gb of memory. Sounds great - enjoy your vacation. > This would allow for a little more concurrency than we can do on the > Zone or VM... of course we'd have to be able to address all of those > cores. Wonder whether Python has glue for Grand Central Dispatch? Right now Gump is a controlling process that spins of new processes, so doing more in parallel would mean run those processes in parallel - nothing Python would need to support. If you log into one of the machines while Gump is running, the system feels sluggish and any opration that hits the file system takes ages which makes me fear we are I/O bound rather than CPU bound - making those cores do more may not help too much in that case. I can certainly be wrong. IIRC Gump's trunk supports parallel SCM checkouts but we've restricted it to a maximum of one updater because Adam saw problems - it's been a long time. Currently we don't support building things in parallel at all. Starting several Ant or make builds in parallel would likely do what you expect, but I don't know how mvn would deal with multiple processes accessing the same local repository (and writing to it) in parallel. It may be possible to construct concurrency in a way that is more or less safe so that long running and self-contained builds like test-ant could be spun off but all mvn builds that accessed the same local repo would get serialized. Of course it would take somebody to write the code 8-) Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@gump.apache.org For additional commands, e-mail: general-help@gump.apache.org