pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luke Lonergan <llonergan@greenplum.com>
To: Albert Cervera Areny <albert@sedifa.com>
To: pgsql-performance@postgresql.org
Subject: Re: Bad RAID1 read performance
Date: Wed, 30 May 2007 07:09:02 -0700
Message-ID: <C282D38E.31B6B%llonergan@greenplum.com> (raw)
In-Reply-To: <200705301135.32236.albert@sedifa.com>

This sounds like a bad RAID controller - are you using a built-in hardware
RAID?  If so, you will likely want to use Linux software RAID instead.

Also - you might want to try a 512KB readahead - I've found that is optimal
for RAID1 on some RAID controllers.

- Luke 


On 5/30/07 2:35 AM, "Albert Cervera Areny" <albert@sedifa.com> wrote:

> Hi,
> after doing the "dd" tests for a server we have at work I obtained:
> Read: 47.20 Mb/s
> Write: 39.82 Mb/s
> Some days ago read performance was around 20Mb/s due to no readahead in md0
> so I modified it using hdparm. However, it seems to me that being it a RAID1
> read speed could be much better. These are SATA disks with 3Gb of RAM so I
> did 'time bash -c "dd if=/dev/zero of=bigfile bs=8k count=786432 && sync"'.
> File system is ext3 (if read many times in the list that XFS is faster), but
> I don't want to change the file system right now. Modifing the readahead from
> the current 1024k to 2048k doesn't make any difference. Are there any other
> tweaks I can make?
>  
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 





view thread (6+ messages)  latest in thread

Message-ID: <C282D38E.31B6B%llonergan@greenplum.com>
Permalink:  ../C282D38E.31B6B%25llonergan@greenplum.com/
Also on:    postgresql.org/message-id/C282D38E.31B6B%llonergan@greenplum.com

 · 

reply

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: llonergan@greenplum.com, albert@sedifa.com
  Subject: Re: Bad RAID1 read performance
  In-Reply-To: <C282D38E.31B6B%llonergan@greenplum.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