Skip site navigation (1) Skip section navigation (2)

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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Henry B(dot) Hotz" <hotz(at)jpl(dot)nasa(dot)gov>
Cc: 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: [COMMITTERS] pgsql-server/src/template bsdi freebsd
Date: 2003-10-09 17:10:56
Message-ID: 200310091710.h99HAuw07336@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackerspgsql-ports
Henry B. Hotz wrote:
> >>  Well, why do we have it enabled at all? If it's to speed compilation, we
> >>  may as well enable it on other platforms where -pipe works, of which
> >>  Linux is one.
> >
> >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?

-- 
  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

pgsql-ports by date

Next:From: Jan WieckDate: 2003-10-09 18:44:07
Subject: Re: [HACKERS] [COMMITTERS] pgsql-server/src/template bsdi
Previous:From: Henry B. HotzDate: 2003-10-09 16:58:12
Subject: Re: [COMMITTERS] pgsql-server/src/template bsdi freebsd

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2003-10-09 17:57:02
Subject: Re: NuSphere and PostgreSQL for windows
Previous:From: Peter EisentrautDate: 2003-10-09 16:58:37
Subject: Isolation levels READ UNCOMMITTED and REPEATABLE READ

pgsql-committers by date

Next:From: Bruce MomjianDate: 2003-10-09 17:11:13
Subject: pgsql-server/ oc/FAQ_Solaris rc/template/bsdi
Previous:From: Henry B. HotzDate: 2003-10-09 16:58:12
Subject: Re: [COMMITTERS] pgsql-server/src/template bsdi freebsd

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group