Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id EEADA687A76 for ; Tue, 22 Jun 2010 10:56:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 12729-06 for ; Tue, 22 Jun 2010 13:56:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.magwerks.com (mail.magwerks.com [209.248.233.131]) by mail.postgresql.org (Postfix) with ESMTP id 578D26870A8 for ; Tue, 22 Jun 2010 09:40:12 -0300 (ADT) Received: from [192.168.1.35] by mail.magwerks.com (GMS 15.01.3664/RS2750.00.1b502c7c) with ESMTP id psgweaaa for pgsql-performance@postgresql.org; Tue, 22 Jun 2010 08:40:09 -0400 Message-ID: <4C20BD33.1040908@magwerks.com> Date: Tue, 22 Jun 2010 08:40:03 -0500 From: Justin Graf User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: =?utf-8?Q?_Grzegorz_Ja=C5=9Bkiewicz_?= CC: postgres performance list Subject: Re: raid10 write performance References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------080305030609050606090409" X-AntiSpam: Checked for restricted content by Gordano's AntiSpam Software X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/374 X-Sequence-Number: 39230 This is a multi-part message in MIME format. --------------080305030609050606090409 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On 6/22/2010 4:31 AM, Grzegorz Jaƛkiewicz wrote: > Hi folks, > > is there a general problem with raid10 performance postgresql on it? > We see very low performance on writes (2-3x slower than on less > performant servers). I wonder if it is solely problem of raid10 > configuration, or if it is postgresql's thing. > RAID 10 is the commonly suggested layout for DB's as its performance to redundancy is good. The question that begs to be ask is what is the IO layout on the other servers your comparing against. > Would moving WAL dir to separate disk help potentially ? > Yes it can have a big impact. http://www.westnet.com/~gsmith/content/postgresql/TuningPGWAL.htm http://wiki.postgresql.org/wiki/Performance_Analysis_Tools http://wiki.postgresql.org/wiki/Performance_Optimization > We're running centos 5.4, and server config is: > > x3550 M2, xeon 4c e5530 2.4ghz , 6GB of ram > disks: ibm 300gb 2.5 SAS > > raid: serveRAID M5014 SAS/SATA controller > > strip size is the default 128k > > > thanks. > > All legitimate Magwerks Corporation quotations are sent in a .PDF file attachment with a unique ID number generated by our proprietary quotation system. Quotations received via any other form of communication will not be honored. CONFIDENTIALITY NOTICE: This e-mail, including attachments, may contain legally privileged, confidential or other information proprietary to Magwerks Corporation and is intended solely for the use of the individual to whom it addresses. If the reader of this e-mail is not the intended recipient or authorized agent, the reader is hereby notified that any unauthorized viewing, dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and destroy all occurrences of this e-mail immediately. Thank you. --------------080305030609050606090409 Content-Type: text/x-vcard; charset="utf-8" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="justin.vcf" YmVnaW46dmNhcmQNCmZuOkp1c3RpbiBHcmFmDQpuOkdyYWY7SnVzdGluDQpvcmc6TWFnd2Vy a3MgQ29ycA0KYWRyOjs7NTAxIENvbW1lcmNlIERyaXZlO0RhbnZpbGxlIDtJTjs0NjEyMjtV U0ENCmVtYWlsO2ludGVybmV0Omp1c3RpbkBtYWd3ZXJrcy5jb20NCnRlbDt3b3JrOjMxNy0y NDEtODAxMSBleHQgNzAzDQp0ZWw7ZmF4OjMxNy0yNDEtODAxNQ0KeC1tb3ppbGxhLWh0bWw6 RkFMU0UNCnVybDp3d3cubWFnd2Vya3MuY29tDQp2ZXJzaW9uOjIuMQ0KZW5kOnZjYXJkDQoN Cg== --------------080305030609050606090409--