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 288205282E for ; Tue, 21 Jun 2005 18:54:12 -0300 (ADT) 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 24821-02 for ; Tue, 21 Jun 2005 21:54:02 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 734F4528F3 for ; Tue, 21 Jun 2005 18:53:58 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 5E9FC30959; Tue, 21 Jun 2005 23:55:06 +0200 (MET DST) From: William Yu X-Newsgroups: pgsql.performance Subject: Re: Trying to figure out pgbench Date: Tue, 21 Jun 2005 14:53:52 -0700 Organization: Hub.Org Networking Services Lines: 52 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en In-Reply-To: To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.014 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/415 X-Sequence-Number: 13052 I wonder if the -c parameter is truly submitting everything in parallel. Having 2 telnet sessions up -- 1 doing -c 1 and another doing -c 100 -- I don't see much different in the display speed messages. Perhaps it's an issue with the telnet console display limiting the command speed. I thought about piping the output to /dev/null but then the final TPS results are also piped there. I can try piping output to a file on a ramdisk maybe. Mohan, Ross wrote: > I had a similar experience. > > regardless of scaling, etc, I got same results. almost like flags > are not active. > > did > > pgbench -I template1 > and > pgbench -c 10 -t 50 -v -d 1 > > and played around from there.... > > This is on IBM pSeries, AIX5.3, PG8.0.2 > > -----Original Message----- > From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of William Yu > Sent: Tuesday, June 21, 2005 12:05 PM > To: pgsql-performance@postgresql.org > Subject: [PERFORM] Trying to figure out pgbench > > > My Dual Core Opteron server came in last week. I tried to do some > benchmarks with pgbench to get some numbers on the difference between > 1x1 -> 2x1 -> 2x2 but no matter what I did, I kept getting the same TPS > on all systems. Any hints on what the pgbench parameters I should be using? > > In terms of production use, it definitely can handle more load. > Previously, Apache/Perl had to run on a separate server to avoid a ~50% > penalty. Now, the numbers are +15% performance even with Apache/Perl > running on the same box as PostgreSQL. How much more load of course is > what I'd like to quantify. > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >