From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
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 18:44:07 |
Message-ID: | 3F85AC77.2050106@Yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers pgsql-ports |
Bruce Momjian wrote:
> 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?
>
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.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-10-09 19:05:10 | pgsql-server/doc/src/sgml maintenance.sgml run ... |
Previous Message | Bruce Momjian | 2003-10-09 17:11:13 | pgsql-server/ oc/FAQ_Solaris rc/template/bsdi |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-10-09 19:04:34 | Re: expanding on syslog help |
Previous Message | Jan Wieck | 2003-10-09 18:23:46 | Re: BigInt woes |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-10-09 19:05:28 | Re: [HACKERS] [COMMITTERS] pgsql-server/src/template bsdi |
Previous Message | Bruce Momjian | 2003-10-09 17:10:56 | Re: [COMMITTERS] pgsql-server/src/template bsdi freebsd |