From: Bruno Wolff III <bruno@wolff.to>
To: Federico <rotellaro@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PostgreSQL data dir on linux raid software
Date: Tue, 16 Jan 2007 13:50:17 -0600
Message-ID: <20070116195017.GA10658@wolff.to> (raw)
In-Reply-To: <a3e8e2210701150924q48862f42kc5aad96fd16846d6@mail.gmail.com>
References: <a3e8e2210701150924q48862f42kc5aad96fd16846d6@mail.gmail.com>
On Mon, Jan 15, 2007 at 18:24:19 +0100,
Federico <rotellaro@gmail.com> wrote:
> Hi,
> after some test i got that my performance problem described in the
> message http://archives.postgresql.org/pgsql-admin/2007-01/msg00116.php
> is issued by the linux software raid 1 on my discs (yes the silicon
> image controller has only fake raid hardware).
>
> I found this old message that seems the same problem like mine.
>
> http://archives.postgresql.org/pgsql-admin/2003-12/msg00219.php
>
> Because the message is quite old I'm wondering if there're some hdparm
> settings to enable on the disks that compose the array to have better
> performances in fsync.
>
> For now I cannot mount an expensive scsi raid hardware so i need to
> have raid software.
Are you using Linux's software raid (md devices) or dmraid using the controller
to do some of the work? If you aren't using the native linux software raid,
you might want to try it instead. You will need to rebuild the array to do
this, so this might not be an easy thing to do. The bios will also need to
support disabling the raid and exposing the individual disks (but that is
a fairly normal thing for bios's). If linux can see the individual disks,
then you should be able to use hdparm to tweak their settings.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, rotellaro@gmail.com
Subject: Re: PostgreSQL data dir on linux raid software
In-Reply-To: <20070116195017.GA10658@wolff.to>
References: <a3e8e2210701150924q48862f42kc5aad96fd16846d6@mail.gmail.com> <20070116195017.GA10658@wolff.to>
* 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