X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 659C23A1D37 for ; Thu, 20 Jan 2005 09:21:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 59326-10 for ; Thu, 20 Jan 2005 09:21:13 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.250.190.2]) by svr1.postgresql.org (Postfix) with ESMTP id 719C73A40AB for ; Thu, 20 Jan 2005 09:21:13 +0000 (GMT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 4F821308EC; Thu, 20 Jan 2005 10:21:13 +0100 (MET) From: William Yu X-Newsgroups: pgsql.performance Subject: Re: Tips and tunning for pgsql on HP-UX PA-RISC (RP3410) Date: Thu, 20 Jan 2005 01:21:09 -0800 Organization: Hub.Org Networking Services Lines: 36 Message-ID: References: <1892.10.20.2.231.1106193926.squirrel@10.20.2.231> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en In-Reply-To: <1892.10.20.2.231.1106193926.squirrel@10.20.2.231> To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/257 X-Sequence-Number: 9947 Well you probably will need to run your own tests to get a conclusive answer. It should be that hard -- compile once with gcc, make a copy of the installed binaries to pgsql.gcc -- then repeat with the HP compiler. In general though, gcc works best under x86 computers. Comparisons of gcc on x86 versus Itanium versus PPC show binaries compiled for Itanium and PPC drastically underperform compared to gcc/x86. I suspect it's probably the same situation for HP-UX. Gustavo Franklin Nóbrega wrote: > Hi, > > Anyone have tips for performance of Postgresql, running on HP-UX 11.11, > PA-RISC (HP RP3410)? What is better compiler (GCC or HP C/ANSI), flags of > compilation, kernel and FS tunning? > > I have installed pgsql, and compiled with gcc -O2 > -fexpensive-optimizations flags only. > > Another question: Postgres running well on HP-UX? What is the better: > HP-UX or Linux on HP RP3410? > > Thanks! > > > Gustavo Franklin Nóbrega > Infraestrutura e Banco de Dados > Planae Tecnologia da Informação > (+55) 14 3224-3066 Ramal 209 > www.planae.com.br > > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend >