Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Subject: RE: OT: possible project/research project Date: Thu, 21 Mar 2002 22:19:37 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message From: "Robert Collins" To: "Jesper Eskilson" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g2LBPWn27927 > -----Original Message----- > From: Jesper Eskilson [mailto:jojo AT virtutech DOT se] > Sent: Thursday, March 21, 2002 4:52 PM > To: cygwin AT cygwin DOT com > Subject: Re: OT: possible project/research project > > > "Gary R. Van Sickle" writes: > > > # Why should this...: > > rm //a/bunch/of/files/out/on/a/super/slow/server/* > > # ...block this: > > gcc hello.c > > > > Obviously you're never going to be able to take advatage of all > > non-dependencies, but as a wise man once told me, "you can't win if > > you don't enter". > > make -j? make -j serialises at directory borders (at a minimum). You might like to review the 'recursive make considered harmful' paper (if you haven't already). such an approach allows hugely decreased make times in the general case, by reducing forks() dependency recalculations increased parallelism (partly by reduced serialisation of non-dependencies). I routinely do this with automake - I have One, or at most 3 Makefile.am's for projects, even quite large ones, and make -j3 just flies along, even with lots and lots of little modular directories and dependencies turned on. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/