X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B20D411F666A for ; Thu, 6 Apr 2006 00:41:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25422-08 for ; Thu, 6 Apr 2006 00:41:51 -0300 (ADT) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 7831711F665B for ; Thu, 6 Apr 2006 00:41:51 -0300 (ADT) Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by svr4.postgresql.org (Postfix) with ESMTP id 0D0A55AF95E for ; Thu, 6 Apr 2006 03:41:50 +0000 (GMT) Received: from phys-d3-ha21sca-1 ([129.145.155.163]) by brmea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id k363fmGp016061 for ; Wed, 5 Apr 2006 21:41:48 -0600 (MDT) Received: from conversion-daemon.ha21sca-mail1.sfbay.sun.com by ha21sca-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IXA00A017CV16@ha21sca-mail1.sfbay.sun.com> (original mail from Robert.Lor@Sun.COM) for pgsql-performance@postgresql.org; Wed, 05 Apr 2006 20:41:44 -0700 (PDT) Received: from [129.150.12.119] (vpn-129-150-12-119.SFBay.Sun.COM [129.150.12.119]) by ha21sca-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0IXA002BP7LKBA@ha21sca-mail1.sfbay.sun.com>; Wed, 05 Apr 2006 20:41:44 -0700 (PDT) Date: Wed, 05 Apr 2006 20:41:16 -0700 From: Robert Lor Subject: Re: Sun Fire T2000 and PostgreSQL 8.1.3 In-reply-to: <12500.1144263844@sss.pgh.pa.us> To: Tom Lane Cc: "Juan Casero (FL FLC)" , pgsql-performance@postgresql.org Message-id: <44348DDC.60505@sun.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20050913 References: <7583B3F1891CC0429FA4A44952AA539C66FA2C@wfm-exchprd2.wfm.pvt> <12500.1144263844@sss.pgh.pa.us> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200604/87 X-Sequence-Number: 18171 Tom is right. Unless your workload can generate lots of simultaneous queries, you will not reap the full benefit of the Sun Fire T2000 system. I have tested 8.1.3 with an OLTP workload on an 8 cores system. With 1500-2000 client connections, the CPU was only about 30% utilized. The UltraSPARC T1 processor was designed for throughput with many cores running at lower frequency (1-1.2 GHz) to reduce power consumption. To speed up a single big query, you'd be better off with a parallelize DB or an Opteron system with higher clock speed like this one http://www.sun.com/servers/entry/x4200/ Regards, -Robert Tom Lane wrote: >"Juan Casero \(FL FLC\)" writes: > > >>... This box has a single Ultrasparc T1 cpu with six execution >>piplelines that can each handle 4 threads. With the Unix top utility >>the postgresql server appears to bounce around between the available >>threads on the system. >> >> > >Try sending it more than one query at a time? If you're testing with >just one client connection issuing queries, that's about what I'd expect. > > regards, tom lane > >---------------------------(end of broadcast)--------------------------- >TIP 6: explain analyze is your friend > >