Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31257 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1536 invoked by uid 1010); 25 Jul 2007 02:37:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1521 invoked from network); 25 Jul 2007 02:37:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2007 02:37:19 -0000 Authentication-Results: pb1.pair.com header.from=planetbeing@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=planetbeing@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.92.174 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: planetbeing@gmail.com X-Host-Fingerprint: 66.249.92.174 ug-out-1314.google.com Received: from [66.249.92.174] ([66.249.92.174:16880] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DA/22-06679-C57B6A64 for ; Tue, 24 Jul 2007 22:37:18 -0400 Received: by ug-out-1314.google.com with SMTP id c2so324936ugf for ; Tue, 24 Jul 2007 19:37:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FMhE6CValHO7AqySrJpVsW61bgzWlS+mxNpoetY1AzWyXXu5ySAguVj/mkFmChXL2GZXtyM02zI6hFe/CPPFzciczHU7RflXdCKy7tl3U45R4WAhAFj2u7t7ebenoiLOmYPEzK0nFAilXu6T6+WbEEbnoFF6/Xlb8bPvQbRF02M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PwdqS1oSLQ55dFuhrnWbiuUJyzPlqhdHR4kA4By5I4toUGBjrzgQzPPLV9els2eIc/aYcGh5qsOlj6jcBblSW2X16tue3sPveGs8msq1rxkoXj2dOWPbAO8Sguh8c74KHU2pO3Lu4tfeDJcIezxHgiIIvs25w4kD8ADoVZ+Gmjc= Received: by 10.78.147.6 with SMTP id u6mr36280hud.1185331033746; Tue, 24 Jul 2007 19:37:13 -0700 (PDT) Received: by 10.78.57.10 with HTTP; Tue, 24 Jul 2007 19:37:13 -0700 (PDT) Message-ID: Date: Tue, 24 Jul 2007 19:37:13 -0700 To: ceo@l-i-e.com Cc: "Nuno Lopes" , PHPdev , helly@php.net In-Reply-To: <48138.209.254.223.2.1185327955.squirrel@www.l-i-e.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000301c7ce41$5fc5e7b0$0100a8c0@pc07653> <48138.209.254.223.2.1185327955.squirrel@www.l-i-e.com> Subject: Re: [PHP-DEV] multi-threaded run-tests.php From: planetbeing@gmail.com ("David Wang") Please. This would be a big help to me, since I'm running these tests many, many times a day as I develop the reference cycle collector. On 7/24/07, Richard Lynch wrote: > On Tue, July 24, 2007 5:24 pm, Nuno Lopes wrote: > > Recently we have moved http://gcov.php.net to a new (and much faster) > > server. This allowed us to reduce the time to build all branches to > > "just" 2 > > days (compared with almost one week that would take previously). > > However I'm still not happy :P The server has 2x2 CPU cores and I > > would like > > to use them :) Currently I can speed-up the make process, because it > > can be > > parallelized (with -j xx). But the major time is still spent with > > run-tests.php. > > > > So, what I would like to propose is a multi-threaded version of > > run-tests.php. We could spawn x processes (configurable) and one of > > them > > would test y extensions (I think it's better to have each extension's > > tests > > tested serially or they may break, because they may use the same > > resources: > > BDs, files, etc..). > > Sounds good to this naive reader. > > Set X high enough, and you might even find an multi-extension > thread-safe issue we've been missing. :-v > > If I'm reading it right, for sure the pgsql extension tests are serial > within the extension, as it re-uses the DB connection and presumes > test db setup in early tests, so you're 100% right on the inability to > parallelize that. > > -- > Some people have a "gift" link here. > Know what I want? > I want you to buy a CD from some indie artist. > http://cdbaby.com/browse/from/lynch > Yeah, I get a buck. So? > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >