X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 9ACBCD1B4E9; Thu, 9 Oct 2003 02:05:16 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 97266-03; Wed, 8 Oct 2003 23:04:31 -0300 (ADT) Received: from houston.familyhealth.com.au (fhnet.arach.net.au [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id 9CBF7D1B4E5; Wed, 8 Oct 2003 23:04:26 -0300 (ADT) Received: from familyhealth.com.au (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (8.12.9p1/8.12.9) with ESMTP id h9924FhI040857; Thu, 9 Oct 2003 10:04:15 +0800 (WST) (envelope-from chriskl@familyhealth.com.au) Message-ID: <3F84C2CF.5000000@familyhealth.com.au> Date: Thu, 09 Oct 2003 10:07:11 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Eisentraut Cc: Bruce Momjian , Jeff , Neil Conway , PostgreSQL Performance , PostgreSQL-development Subject: Re: [HACKERS] Sun performance - Major discovery! References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/254 X-Sequence-Number: 4002 >>Well, this is really embarassing. I can't imagine why we would not set >>at least -O on all platforms. Looking at the template files, I see >>these have no optimization set: > > >> freebsd (non-alpha) > > > I'm wondering what that had in mind: > > http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/template/freebsd.diff?r1=1.10&r2=1.11 When I used to build pgsql on freebsd/alpha, I would get heaps of GCC warnings saying 'optimisations for the alpha are broken'. I can't remember if that meant anything more than just -O or not though. Chris