Re: [COMMITTERS] pgsql: Improved parallel make support

From: "Erik Rijkers" <er(at)xs4all(dot)nl>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Improved parallel make support
Date: 2010-11-13 17:52:58
Message-ID: 8992e63c5ceeb81ccaa8c2bf1dd8707f.squirrel@webmail.xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sat, November 13, 2010 18:15, Peter Eisentraut wrote:
> On lör, 2010-11-13 at 11:12 -0500, Tom Lane wrote:
>> It looks like all the unhappy critters are getting the same "virtual
>> memory exhausted" error. I wonder whether they are all using make
>> 3.80 ...
>
> It turns out that there is an unrelated bug in 3.80 that some Linux
> distributions have patched around. 3.81 or 3.82 are OK.
>

Just to mention another effect of the recent changes:

make 3.81, Centos 5.5

On a dual quadcore system where I used to built with -j 16, it now only succeeds with -j 8.

(I seem to remember that 16 as opposed to 8 shaved a couple of seconds off, although I'm not quite
sure anymore)

make -j 16 gives:

cc1: error: thread.c: No such file or directory
make[4]: *** [thread.o] Error 1
make[3]: *** [submake-libpq] Error 2
make[2]: *** [all-pg_ctl-recursive] Error 2
make[1]: *** [all-bin-recursive] Error 2
make[1]: *** Waiting for unfinished jobs....
Use of assignment to $[ is deprecated at ./parse.pl line 21.
In file included from gram.y:12101:
scan.c: In function &#8216;yy_try_NUL_trans&#8217;:
scan.c:16242: warning: unused variable &#8216;yyg&#8217;
Use of assignment to $[ is deprecated at ./check_rules.pl line 18.
make: *** [all-src-recursive] Error 2

( A similar effect I see on a dual core fedora system (2.6.27.5-117.fc10.i686), where -j 16 always
ran, but now it needs -j 4 or less (it also has make 3.81) )

Erik Rijkers

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2010-11-13 18:07:42 Re: [COMMITTERS] pgsql: Improved parallel make support
Previous Message Tom Lane 2010-11-13 17:20:59 Re: [COMMITTERS] pgsql: Improved parallel make support

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-11-13 17:58:57 Re: 8.4-vintage problem in postmaster.c
Previous Message Peter Eisentraut 2010-11-13 17:30:03 Re: WIP: extensible enums