From: Justin Graf <justin@magwerks.com>
To: =?utf-8?Q?_Grzegorz_Ja=C5=9Bkiewicz_ <gryzman@gmail.com>
Cc: postgres performance list <pgsql-performance@postgresql.org>
Subject: Re: raid10 write performance
Date: Tue, 22 Jun 2010 08:40:03 -0500
Message-ID: <4C20BD33.1040908@magwerks.com> (raw)
In-Reply-To: <AANLkTinbKXufTYhNuhNaOW2kWM-simIL3dg0uFX7Ij6g@mail.gmail.com>
References: <AANLkTinbKXufTYhNuhNaOW2kWM-simIL3dg0uFX7Ij6g@mail.gmail.com>
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.htmhttp://wiki.postgresql.org/wiki/Performance_Analysis_Toolshttp://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.
Attachments:justin.vcf (text/x-vcard, 271B) download
begin:vcard
fn:Justin Graf
n:Graf;Justin
org:Magwerks Corp
adr:;;501 Commerce Drive;Danville ;IN;46122;USA
email;internet:justin@magwerks.com
tel;work:317-241-8011 ext 703
tel;fax:317-241-8015
x-mozilla-html:FALSE
url:www.magwerks.com
version:2.1
end:vcard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: justin@magwerks.com, gryzman@gmail.com
Subject: Re: raid10 write performance
In-Reply-To: <4C20BD33.1040908@magwerks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox