X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 877459FB2DF for ; Wed, 9 Aug 2006 03:33:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 13380-02 for ; Wed, 9 Aug 2006 03:33:12 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by postgresql.org (Postfix) with ESMTP id A778A9FB2D5 for ; Wed, 9 Aug 2006 03:33:12 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id n28so49190nfc for ; Tue, 08 Aug 2006 23:33:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=aW0sk0DTyKeGI1pPHk2p3xUSKz+/858qbceEBqTlGEh8rMkLuVMUYWLBfC7Ayx8LY91Q2EoT3cdZ9VLm3gcTHs0L82/W6n24SQe+lDhNb2Q7WJVHMHMDiBOZyNuELOal0xl8W02ONoPRYjeRGdjBqsmnNyLuq1NNyRI+YELe0A4= Received: by 10.78.165.13 with SMTP id n13mr178016hue; Tue, 08 Aug 2006 23:33:11 -0700 (PDT) Received: by 10.78.33.3 with HTTP; Tue, 8 Aug 2006 23:33:10 -0700 (PDT) Message-ID: <721b21dc0608082333l70534248gb33c80ca200cf711@mail.gmail.com> Date: Tue, 8 Aug 2006 23:33:10 -0700 From: "Steve Poe" To: "Luke Lonergan" Subject: Re: Postgresql Performance on an HP DL385 and Cc: "Alex Turner" , pgsql-performance@postgresql.org In-Reply-To: <721b21dc0608082245u6ee62e7dg522ff18e4d72683@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28817_20494638.1155105190869" References: <3E37B936B592014B978C4415F90D662D03FFEF6E@MI8NYCMAIL06.Mi8.com> <721b21dc0608082245u6ee62e7dg522ff18e4d72683@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.448 tagged_above=0 required=5 tests=AWL, HTML_30_40, HTML_MESSAGE, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/130 X-Sequence-Number: 20315 ------=_Part_28817_20494638.1155105190869 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Luke, I check dmesg one more time and I found this regarding the cciss driver: Filesystem "cciss/c1d0p1": Disabling barriers, not supported by the underlying device. Don't know if it means anything, but thought I'd mention it. Steve On 8/8/06, 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. > > 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 > > > > > ------=_Part_28817_20494638.1155105190869 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Luke,

I check dmesg one more time and I found this regarding the cciss driver:

Filesystem "cciss/c1d0p1": Disabling barriers, not supported by the underlying device.

Don't know if it means anything, but thought I'd mention it.

Steve

On 8/8/06, Steve Poe <steve.poe@gmail.com> 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.

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 < LLonergan@greenplum.com> 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



------=_Part_28817_20494638.1155105190869--