Re: [HACKERS] [COMMITTERS] pgsql-server/src/template bsdi

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: "Henry B(dot) Hotz" <hotz(at)jpl(dot)nasa(dot)gov>, Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL-ports <pgsql-ports(at)postgresql(dot)org>
Subject: Re: [HACKERS] [COMMITTERS] pgsql-server/src/template bsdi
Date: 2003-10-09 19:05:28
Message-ID: 200310091905.h99J5St17732@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers pgsql-ports

Jan Wieck wrote:
> >> >My gcc 2.95.3 manual says:
> >> >
> >> > -pipe Use pipes rather than temporary files for communi-
> >> > cation between the various stages of compilation.
> >> > This fails to work on some systems where the assem-
> >> > bler cannot read from a pipe; but the GNU assembler
> >> > has no trouble.
> >> >
> >> >so it looks like we can't use it on all platforms without testing. I
> >> >will enable it for linux. Do people want to test other platforms?
> >>
> >> It should work on any platform that uses the GNU tools, so that means
> >> *BSD is in the same boat as Linux.
> >>
> >> Does it really speed compilation though? I saw somewhere that it
> >> didn't make much difference and might even hurt sometimes.
> >
> > I saw a 5 second improvement with -pipe on a 150 second full compile of
> > PostgreSQL. However, I have a MFS /tmp. I suppose if I didn't, it
> > would be slower. However, the difference is so small as to be
> > meaningless. Can someone else test on another *BSD and report?
> >
>
> Also, IIRC you have a dual processor box. In that case using -pipe helps
> to utilize 2 CPU's (not much though), whereas on a single CPU system it
> forces extra context switches that aren't necessary when running the
> stages sequential.

Oh, OK. I am on a dual, so maybe that's why I see an improvement. If I
can get another BSD guy to test this, I can remove the pipe for all the
BSD's.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut - PostgreSQL 2003-10-09 19:11:03 pgsql-server/src/backend/catalog sql_features.txt
Previous Message Bruce Momjian 2003-10-09 19:05:10 pgsql-server/doc/src/sgml maintenance.sgml run ...

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2003-10-09 19:08:39 Re: Triggers on SELECT?
Previous Message Bruce Momjian 2003-10-09 19:04:34 Re: expanding on syslog help

Browse pgsql-ports by date

  From Date Subject
Next Message Sean Chittenden 2003-10-09 21:11:27 Re: [HACKERS] [COMMITTERS] pgsql-server/src/template bsdi
Previous Message Jan Wieck 2003-10-09 18:44:07 Re: [HACKERS] [COMMITTERS] pgsql-server/src/template bsdi