X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id D548A9FB30F for ; Thu, 10 Aug 2006 00:29:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 23555-10 for ; Thu, 10 Aug 2006 03:29:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by postgresql.org (Postfix) with ESMTP id 8E4E09FB2D5 for ; Thu, 10 Aug 2006 00:29:24 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id n28so432275nfc for ; Wed, 09 Aug 2006 20:29:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=fdha7PmEHw+tv98zKp6qmDXegYyYldRs3I0bLfy2+sU5mjQxCEx0/9kbsT+GPqyQhd8WoKs3K6SvKMrwpE78aGFTbLrBA50n36TzF8h7FUyz1kbqAlN0pqPsQ8EBU72XDOXiIIeWjcLnm13jS+Caq7j2rfTeXTNtyO7DnjVHS/M= Received: by 10.78.107.8 with SMTP id f8mr989407huc; Wed, 09 Aug 2006 20:29:23 -0700 (PDT) Received: from amd64-gentoo-laptop ( [66.167.206.205]) by mx.gmail.com with ESMTP id 4sm392213hue.2006.08.09.20.29.21; Wed, 09 Aug 2006 20:29:22 -0700 (PDT) Subject: Re: Postgresql Performance on an HP DL385 and From: Steve Poe Reply-To: steve.poe@gmail.com To: "Jim C. Nasby" Cc: Luke Lonergan , Alex Turner , pgsql-performance@postgresql.org In-Reply-To: <20060809210539.GR40481@pervasive.com> References: <3E37B936B592014B978C4415F90D662D03FFEF6E@MI8NYCMAIL06.Mi8.com> <721b21dc0608082245u6ee62e7dg522ff18e4d72683@mail.gmail.com> <20060809210539.GR40481@pervasive.com> Content-Type: text/plain Date: Wed, 09 Aug 2006 20:29:13 -0700 Message-Id: <1155180553.13315.0.camel@amd64-gentoo-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.199 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/173 X-Sequence-Number: 20358 Jim, I tried as you suggested and my performance dropped by 50%. I went from a 32 TPS to 16. Oh well. Steve On Wed, 2006-08-09 at 16:05 -0500, Jim C. Nasby wrote: > On Tue, Aug 08, 2006 at 10:45:07PM -0700, Steve Poe wrote: > > Luke, > > > > I thought so. In my test, I tried to be fair/equal since my Sun box has two > > 4-disc arrays each on their own channel. So, I just used one of them which > > should be a little slower than the 6-disc with 192MB cache. > > > > Incidently, the two internal SCSI drives, which are on the 6i adapter, > > generated a TPS of 18. > > You should try putting pg_xlog on the 6 drive array with the data. My > (limited) experience with such a config is that on a good controller > with writeback caching enabled it won't hurt you, and if the internal > drives aren't caching writes it'll probably help you a lot. > > > I thought this server would impressive from notes I've read in the group. > > This is why I thought I might be doing something wrong. I stumped which way > > to take this. There is no obvious fault but something isn't right. > > > > Steve > > > > On 8/8/06, Luke Lonergan wrote: > > > > > >Steve, > > > > > >> Sun box with 4-disc array (4GB RAM. 4 167GB 10K SCSI RAID10 > > >> LSI MegaRAID 128MB). This is after 8 runs. > > >> > > >> dbserver-dual-opteron-centos,08/08/06,Tuesday,20,us,12,2,5 > > >> dbserver-dual-opteron-centos,08/08/06,Tuesday,20,sy,59,50,53 > > >> dbserver-dual-opteron-centos,08/08/06,Tuesday,20,wa,1,0,0 > > >> dbserver-dual-opteron-centos,08/08/06,Tuesday,20,id,45,26,38 > > >> > > >> Average TPS is 75 > > >> > > >> HP box with 8GB RAM. six disc array RAID10 on SmartArray 642 > > >> with 192MB RAM. After 8 runs, I see: > > >> > > >> intown-vetstar-amd64,08/09/06,Tuesday,23,us,31,0,3 > > >> intown-vetstar-amd64,08/09/06,Tuesday,23,sy,16,0,1 > > >> intown-vetstar-amd64,08/09/06,Tuesday,23,wa,99,6,50 > > >> intown-vetstar-amd64,08/09/06,Tuesday,23,id,78,0,42 > > >> > > >> Average TPS is 31. > > > > > >Note that the I/O wait (wa) on the HP box high, low and average are all > > >*much* higher than on the Sun box. The average I/O wait was 50% of one > > >CPU, which is huge. By comparison there was virtually no I/O wait on > > >the Sun machine. > > > > > >This is indicating that your HP machine is indeed I/O bound and > > >furthermore is tying up a PG process waiting for the disk to return. > > > > > >- Luke > > > > > > >