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 AEEDB9FA502 for ; Fri, 18 Aug 2006 16:06:17 -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 81806-02-2 for ; Fri, 18 Aug 2006 16:03:56 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.195]) by postgresql.org (Postfix) with ESMTP id DB0BE9FB3EB for ; Fri, 18 Aug 2006 16:00:04 -0300 (ADT) Received: by nz-out-0102.google.com with SMTP id l1so602923nzf for ; Fri, 18 Aug 2006 12:00:02 -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=CyaJx1VfVIkcnWYV/sfFIQo6joVvA17I2K8mYhITVd5PuaFJewalUEnISiT74hhyuY1dQzQRH2/n8B4KBzGyhST+/MdbDC87XWkPR1zxRJRP8iuYQCNh+fs14ptNpJPVu7Wvm1MWSYlv9pQO95uMeN5VWBGHwVVt4N8xEYctxqI= Received: by 10.65.97.18 with SMTP id z18mr4202004qbl; Fri, 18 Aug 2006 12:00:02 -0700 (PDT) Received: by 10.65.163.12 with HTTP; Fri, 18 Aug 2006 12:00:02 -0700 (PDT) Message-ID: <721b21dc0608181200h308912b0mf2ccfb1d97970f03@mail.gmail.com> Date: Fri, 18 Aug 2006 12:00:02 -0700 From: "Steve Poe" To: "Luke Lonergan" Subject: Re: Postgresql Performance on an HP DL385 and Cc: "Scott Marlowe" , "Michael Stone" , pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5956_21686494.1155927602643" References: <721b21dc0608181039x28012fednbeba47c5c4511661@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.447 tagged_above=0 required=5 tests=AWL, HTML_40_50, HTML_MESSAGE, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/306 X-Sequence-Number: 20491 ------=_Part_5956_21686494.1155927602643 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Luke, ISTM that the main performance issue for xlog is going to be the rate at > which fdatasync operations complete, and the stripe size shouldn't hurt > that. I thought so. However, I've also tried running the PGDATA off of the RAID1 as a test and it is poor. What are your postgresql.conf settings for the xlog: how many logfiles, > sync_method, etc? wal_sync_method = fsync # the default varies across platforms: # fsync, fdatasync, open_sync, or open_datasync # - Checkpoints - checkpoint_segments = 14 # in logfile segments, min 1, 16MB each checkpoint_timeout = 300 # range 30-3600, in seconds #checkpoint_warning = 30 # 0 is off, in seconds #commit_delay = 0 # range 0-100000, in microseconds #commit_siblings = 5 What stumps me is I use the same settings on a Sun box (dual Opteron 4GB w/ LSI MegaRAID 128M) with the same data. This is on pg 7.4.13. > The 6-disc RAID10 you speak of is on the SmartArray 642 RAID adapter. > > Interesting - the seek rate is very good for two drives, are they 15K RPM? Nope. 10K. RPM. HP's recommendation for testing is to connect the RAID1 to the second channel off of the SmartArray 642 adapter since they use the same driver, and, according to HP, I should not have to rebuilt the RAID1. I have to send the new server to the hospital next week, so I have very little testing time left. Steve ------=_Part_5956_21686494.1155927602643 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

Luke,

ISTM that the main performance issue for xlog is going to be the rate at
which fdatasync operations complete, and the stripe size shouldn't hurt
that.

I thought so. However, I've also tried running the PGDATA off of the RAID1 as a test and it is poor.

 

What are your postgresql.conf settings for the xlog: how many logfiles,
sync_method, etc?

wal_sync_method = fsync # the default varies across platforms:
                                # fsync, fdatasync, open_sync, or open_datasync
# - Checkpoints -

checkpoint_segments = 14        # in logfile segments, min 1, 16MB each
checkpoint_timeout = 300        # range 30-3600, in seconds
#checkpoint_warning = 30        # 0 is off, in seconds
#commit_delay = 0               # range 0-100000, in microseconds
#commit_siblings = 5

What stumps me is I use the same settings on a Sun box (dual Opteron 4GB w/ LSI MegaRAID 128M) with the same data.  This is on pg 7.4.13.

 

> The 6-disc RAID10 you speak of is on the SmartArray 642 RAID adapter.

Interesting - the seek rate is very good for two drives, are they 15K RPM?

Nope. 10K. RPM.


HP's recommendation for testing is to connect the RAID1 to the second channel off of the SmartArray 642 adapter since they use the same driver, and, according to HP, I should not have to rebuilt the RAID1.

I have to send the new server to the hospital next week, so I have very little testing time left.

Steve

 


------=_Part_5956_21686494.1155927602643--