Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31244 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81318 invoked by uid 1010); 24 Jul 2007 22:24:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81303 invoked from network); 24 Jul 2007 22:24:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2007 22:24:30 -0000 Authentication-Results: pb1.pair.com header.from=nlopess@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=nlopess@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.55.154.24 as permitted sender) X-PHP-List-Original-Sender: nlopess@php.net X-Host-Fingerprint: 212.55.154.24 relay4.ptmail.sapo.pt Linux 2.4/2.6 Received: from [212.55.154.24] ([212.55.154.24:54192] helo=sapo.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/53-14257-D1C76A64 for ; Tue, 24 Jul 2007 18:24:30 -0400 Received: (qmail 3103 invoked from network); 24 Jul 2007 22:24:26 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.209) by relay4 with SMTP; 24 Jul 2007 22:24:26 -0000 Received: (qmail 6523 invoked from network); 24 Jul 2007 22:24:26 -0000 X-AntiVirus: PTMail-AV 0.3-0.90.3 X-Virus-Status: Clean (0.01210 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[82.155.78.202]) (envelope-sender ) by mta14 (qmail-ldap-1.03) with SMTP for ; 24 Jul 2007 22:24:26 -0000 Message-ID: <000301c7ce41$5fc5e7b0$0100a8c0@pc07653> To: "PHPdev" Cc: Date: Tue, 24 Jul 2007 23:24:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Subject: multi-threaded run-tests.php From: nlopess@php.net ("Nuno Lopes") Hi, 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..). Any comments? Thanks, Nuno