From: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Jan Wieck <wieck(at)debis(dot)com>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Compile timing |
Date: | 1999-09-23 05:38:55 |
Message-ID: | 37E9BCEF.57C8F6A8@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Not sure why -j2 is not faster than normal -j...
I was just looking at this a little while ago at work. It is not
faster because gmake does not propagate the "-j2" flag to submakes, on
the (correct) theory that you might get a geometrically growing system
load, rather than just keeping two makes running through all the
subdirectories.
This is the behavior of "-j", unless you specify it without a numeric
parameter, in which case it *does* allow parallel submakes.
The first time I tried "-j", I did it without reading the man pages
and without specifying a numeric parameter. It did a magnificent job
of bringing down my system trying to build ACE/TAO, a *large* Corba
package. Chewed up all of real memory, then all of swap; not sure if I
ran out of process slots or memory first but it wasn't pretty. It was
*very* fast though :)
- Thomas
--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California
From | Date | Subject | |
---|---|---|---|
Next Message | Adam Haberlach | 1999-09-23 05:45:55 | |
Previous Message | Bruce Momjian | 1999-09-23 03:01:10 | Re: [HACKERS] Compile timing |